Class: BankApi::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/bank_api/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_accountObject

Returns the value of attribute bdc_account.



3
4
5
# File 'lib/bank_api/configuration.rb', line 3

def 
  @bdc_account
end

#bdc_company_rutObject

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_passwordObject

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_rutObject

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_checkObject

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_securityObject



14
15
16
# File 'lib/bank_api/configuration.rb', line 14

def banco_security
  @banco_security ||= BankApi::Configs::BancoSecurity.new
end