class SantanderChile::ApiClient::ProductsResource

Constants

DIG_RESPONSE

Public Instance Methods

list(**params) click to toggle source
# File lib/santander_chile/api_client/resources/products.rb, line 6
def list(**params)
  response = post_request("CruceProductoOnline", body: body_builder)
  Collection.from_response(response, dig_keys: DIG_RESPONSE, type: Account)
end

Private Instance Methods

body_builder() click to toggle source
# File lib/santander_chile/api_client/resources/products.rb, line 13
def body_builder
  with_template "requests/CruceProductoOnline", client: @client
end