Class: BankApi::Configuration
- Inherits:
-
Object
- Object
- BankApi::Configuration
- Defined in:
- lib/bank_api/configuration.rb
Instance Attribute Summary collapse
-
#bdc_account ⇒ Object
Returns the value of attribute bdc_account.
-
#bdc_company_rut ⇒ Object
Returns the value of attribute bdc_company_rut.
-
#bdc_password ⇒ Object
Returns the value of attribute bdc_password.
-
#bdc_user_rut ⇒ Object
Returns the value of attribute bdc_user_rut.
-
#days_to_check ⇒ Object
Returns the value of attribute days_to_check.
Instance Method Summary collapse
- #banco_security ⇒ Object
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 9 10 11 12 |
# File 'lib/bank_api/configuration.rb', line 5 def initialize @bdc_user_rut = nil @bdc_password = nil @bdc_company_rut = nil @bdc_account = nil @days_to_check = 6 end |
Instance Attribute Details
#bdc_account ⇒ Object
Returns the value of attribute bdc_account.
3 4 5 |
# File 'lib/bank_api/configuration.rb', line 3 def bdc_account @bdc_account end |
#bdc_company_rut ⇒ Object
Returns the value of attribute bdc_company_rut.
3 4 5 |
# File 'lib/bank_api/configuration.rb', line 3 def bdc_company_rut @bdc_company_rut end |
#bdc_password ⇒ Object
Returns the value of attribute bdc_password.
3 4 5 |
# File 'lib/bank_api/configuration.rb', line 3 def bdc_password @bdc_password end |
#bdc_user_rut ⇒ Object
Returns the value of attribute bdc_user_rut.
3 4 5 |
# File 'lib/bank_api/configuration.rb', line 3 def bdc_user_rut @bdc_user_rut end |
#days_to_check ⇒ Object
Returns the value of attribute days_to_check.
3 4 5 |
# File 'lib/bank_api/configuration.rb', line 3 def days_to_check @days_to_check end |
Instance Method Details
#banco_security ⇒ Object
14 15 16 |
# File 'lib/bank_api/configuration.rb', line 14 def banco_security @banco_security ||= BankApi::Configs::BancoSecurity.new end |