class SantanderChile::ApiClient::Client
Constants
- AUTH_BASE_URL
- BASE_URL
Attributes
config[RW]
Public Class Methods
new() { |config| ... }
click to toggle source
# File lib/santander_chile/api_client/client.rb, line 10 def initialize self.config = Configuration.new yield(config) if block_given? config.validate! end
Public Instance Methods
connection(host: BASE_URL)
click to toggle source
# File lib/santander_chile/api_client/client.rb, line 16 def connection(host: BASE_URL) Connection.new(client: self, host: host) end
contacts()
click to toggle source
# File lib/santander_chile/api_client/client.rb, line 28 def contacts PaymentsResource.new(self).contacts.data end
movements(account)
click to toggle source
# File lib/santander_chile/api_client/client.rb, line 24 def movements(account) MovementsResource.new(self).list(account) end
products()
click to toggle source
# File lib/santander_chile/api_client/client.rb, line 20 def products ProductsResource.new(self).list end