class SantanderChile::ApiClient::PaymentsResource

Constants

DIG_CONTACTS

Public Instance Methods

contacts() click to toggle source
# File lib/santander_chile/api_client/resources/payments.rb, line 6
def contacts
  response = post_request("UltimosDestinatarios", body: body_builder_contacts)
  Collection.from_response(response, dig_keys: DIG_CONTACTS, type: Contact)
end

Private Instance Methods

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