Class: BankApi::Clients::BancoDeChileCompanyClient
- Inherits:
-
BaseClient
- Object
- BaseClient
- BankApi::Clients::BancoDeChileCompanyClient
- Defined in:
- lib/bank_api/clients/banco_de_chile_company_client.rb
Constant Summary collapse
- COMPANY_LOGIN_URL =
'https://www.empresas.bancochile.cl/cgi-bin/navega?pagina=enlinea/login_fus'- COMPANY_DEPOSITS_URL =
'https://www.empresas.bancochile.cl/GlosaInternetEmpresaRecibida/ConsultaRecibidaAction.do'- TABLE_OFFSET =
1- DATE_COLUMN =
0- RUT_COLUMN =
4- AMOUNT_COLUMN =
6- STATE_COLUMN =
7- NUMBER_OF_COLUMNS =
9
Instance Method Summary collapse
-
#initialize(config = BankApi::Configuration.new) ⇒ BancoDeChileCompanyClient
constructor
A new instance of BancoDeChileCompanyClient.
Methods inherited from BaseClient
Constructor Details
#initialize(config = BankApi::Configuration.new) ⇒ BancoDeChileCompanyClient
Returns a new instance of BancoDeChileCompanyClient.
19 20 21 22 23 24 |
# File 'lib/bank_api/clients/banco_de_chile_company_client.rb', line 19 def initialize(config = BankApi::Configuration.new) @bdc_company_rut = config.bdc_company_rut @bdc_user_rut = config.bdc_user_rut @bdc_password = config.bdc_password super end |