class Lorj::AccountConfig

AccountConfig class layer

Public Instance Methods

ac_new(account_name, provider = 'lorj') click to toggle source

Function to initialize read only account attribute.

# File lib/lorj_account.rb, line 48
def ac_new(account_name, provider = 'lorj')
  @data = {}
  data_options :section => :account
  self[:name] = account_name
  self[:provider] = provider
  true
end
data_options(options = { :section => :default }) click to toggle source
# File lib/lorj_account.rb, line 56
def data_options(options = { :section => :default })
  p_data_options(options)
end