Module: MaliPoPay

Defined in:
lib/malipopay.rb,
lib/malipopay/client.rb,
lib/malipopay/errors.rb,
lib/malipopay/version.rb,
lib/malipopay/http_client.rb,
lib/malipopay/resources/sms.rb,
lib/malipopay/resources/account.rb,
lib/malipopay/webhooks/verifier.rb,
lib/malipopay/resources/invoices.rb,
lib/malipopay/resources/payments.rb,
lib/malipopay/resources/products.rb,
lib/malipopay/resources/customers.rb,
lib/malipopay/resources/references.rb,
lib/malipopay/resources/transactions.rb

Defined Under Namespace

Modules: Resources, Webhooks Classes: ApiError, AuthenticationError, Client, ConnectionError, Error, HttpClient, NotFoundError, PermissionError, RateLimitError, ValidationError

Constant Summary collapse

VERSION =
"1.0.0"

Class Method Summary collapse

Class Method Details

.client(**options) ⇒ MaliPoPay::Client

Convenience method to create a new client

Parameters:

  • options (Hash)

    Options passed to MaliPoPay::Client.new

Returns:



26
27
28
# File 'lib/malipopay.rb', line 26

def self.client(**options)
  Client.new(**options)
end