Module: Trolley

Defined in:
lib/trolley.rb,
lib/trolley/Batch.rb,
lib/trolley/Client.rb,
lib/trolley/Balance.rb,
lib/trolley/Gateway.rb,
lib/trolley/Invoice.rb,
lib/trolley/Payment.rb,
lib/trolley/Recipient.rb,
lib/trolley/Exceptions.rb,
lib/trolley/BatchSummary.rb,
lib/trolley/Configuration.rb,
lib/trolley/InvoicePayment.rb,
lib/trolley/OfflinePayment.rb,
lib/trolley/RecipientAccount.rb,
lib/trolley/utils/PaginatedArray.rb,
lib/trolley/utils/ResponseMapper.rb,
lib/trolley/gateways/BatchGateway.rb,
lib/trolley/gateways/BalanceGateway.rb,
lib/trolley/gateways/InvoiceGateway.rb,
lib/trolley/gateways/PaymentGateway.rb,
lib/trolley/gateways/RecipientGateway.rb,
lib/trolley/gateways/InvoicePaymentGateway.rb,
lib/trolley/gateways/OfflinePaymentGateway.rb,
lib/trolley/gateways/RecipientAccountGateway.rb

Defined Under Namespace

Modules: Utils Classes: AuthenticationError, AuthorizationError, Balance, BalanceGateway, Batch, BatchGateway, BatchSummary, Client, Configuration, DownForMaintenanceError, Gateway, Invoice, InvoiceGateway, InvoicePayment, InvoicePaymentGateway, MalformedRequestError, NotFoundError, OfflinePayment, OfflinePaymentGateway, Payment, PaymentGateway, Recipient, RecipientAccount, RecipientAccountGateway, RecipientGateway, ServerError, TooManyRequestsError, TrolleyError, UnexpectedError

Constant Summary collapse

VERSION =
'1.0.0'.freeze

Class Method Summary collapse

Class Method Details

.client(key, secret, **optionals) ⇒ Object



30
31
32
# File 'lib/trolley.rb', line 30

def self.client(key, secret, **optionals)
  Gateway.new(Configuration.new(key, secret, **optionals))
end