Class: Lorj::AccountConfig
- Defined in:
- lib/lorj_account.rb
Overview
AccountConfig class layer
Instance Method Summary collapse
-
#ac_new(account_name, provider = 'lorj') ⇒ Object
Function to initialize read only account attribute.
- #data_options(options = { :section => :default }) ⇒ Object
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(account_name, provider = 'lorj') @data = {} :section => :account self[:name] = account_name self[:provider] = provider true end |
#data_options(options = { :section => :default }) ⇒ Object
56 57 58 |
# File 'lib/lorj_account.rb', line 56 def ( = { :section => :default }) () end |