Class: Lorj::AccountConfig

Inherits:
PRC::SectionConfig
  • Object
show all
Defined in:
lib/lorj_account.rb

Overview

AccountConfig class layer

Instance Method Summary collapse

Instance Method Details

#ac_new(account_name, provider = 'lorj') ⇒ Object

Function to initialize read only account attribute.



48
49
50
51
52
53
54
# File 'lib/lorj_account.rb', line 48

def ac_new(, provider = 'lorj')
  @data = {}
  data_options :section => :account
  self[:name] = 
  self[:provider] = provider
  true
end

#data_options(options = { :section => :default }) ⇒ Object



56
57
58
# File 'lib/lorj_account.rb', line 56

def data_options(options = { :section => :default })
  p_data_options(options)
end