Sha256: a55c8f3e53a091cf1fc14e0678ac9343ed8c947b271e8d5cbf22c4a3cb241e5d
Contents?: true
Size: 648 Bytes
Versions: 10
Compression:
Stored size: 648 Bytes
Contents
module Asaas class Client attr_reader :token def initialize(token = nil) @token = token || Asaas::Configuration.token end def accounts @accounts ||= Asaas::Api::Account.new(@token) end def cities @cities ||= Asaas::Api::City.new(@token) end def customers @customers ||= Asaas::Api::Customer.new(@token) end def notifications @notifications ||= Asaas::Api::Notification.new(@token) end def payments @payments ||= Asaas::Api::Payment.new(@token) end def subscriptions @subscriptions ||= Asaas::Api::Subscription.new(@token) end end end
Version data entries
10 entries across 10 versions & 1 rubygems