Class: SantanderChile::ApiClient::MovementsResource
- Defined in:
- lib/santander_chile/api_client/resources/movements.rb
Constant Summary collapse
- DIG_RESPONSE =
["DATA", "MovimientosDepositos"]
Constants included from Template
Instance Attribute Summary
Attributes inherited from Resource
Instance Method Summary collapse
Methods inherited from Resource
Methods included from Template
Constructor Details
This class inherits a constructor from SantanderChile::ApiClient::Resource
Instance Method Details
#list(account, **params) ⇒ Object
6 7 8 9 |
# File 'lib/santander_chile/api_client/resources/movements.rb', line 6 def list(account, **params) response = post_request("Consultas/MvtosYDeposiDocCtas", body: body_builder(account)) Collection.from_response(response, dig_keys: DIG_RESPONSE, type: Movement) end |