Module: PaymentRails
- Defined in:
- lib/paymentrails.rb,
lib/paymentrails/Batch.rb,
lib/paymentrails/Client.rb,
lib/paymentrails/Balance.rb,
lib/paymentrails/Gateway.rb,
lib/paymentrails/Invoice.rb,
lib/paymentrails/Payment.rb,
lib/paymentrails/Recipient.rb,
lib/paymentrails/Exceptions.rb,
lib/paymentrails/BatchSummary.rb,
lib/paymentrails/Configuration.rb,
lib/paymentrails/InvoicePayment.rb,
lib/paymentrails/OfflinePayment.rb,
lib/paymentrails/RecipientAccount.rb,
lib/paymentrails/gateways/BatchGateway.rb,
lib/paymentrails/gateways/GatewayHelper.rb,
lib/paymentrails/gateways/BalanceGateway.rb,
lib/paymentrails/gateways/InvoiceGateway.rb,
lib/paymentrails/gateways/PaymentGateway.rb,
lib/paymentrails/gateways/RecipientGateway.rb,
lib/paymentrails/gateways/InvoicePaymentGateway.rb,
lib/paymentrails/gateways/OfflinePaymentGateway.rb,
lib/paymentrails/gateways/RecipientAccountGateway.rb
Defined Under Namespace
Modules: GatewayHelper Classes: AuthenticationError, AuthorizationError, Balance, BalanceGateway, Batch, BatchGateway, BatchSummary, Client, Configuration, DownForMaintenanceError, Gateway, Invoice, InvoiceGateway, InvoicePayment, InvoicePaymentGateway, MalformedException, NotFoundError, OfflinePayment, OfflinePaymentGateway, Payment, PaymentGateway, PaymentRailsError, Recipient, RecipientAccount, RecipientAccountGateway, RecipientGateway, ServerError, TooManyRequestsError, UnexpectedError
Class Method Summary collapse
Class Method Details
.client(key, secret, environment = 'production', **optionals) ⇒ Object
25 26 27 |
# File 'lib/paymentrails.rb', line 25 def self.client(key, secret, environment = 'production', **optionals) Gateway.new(Configuration.new(key, secret, environment, **optionals)) end |