Class: PaymentGateway::Mundipagg::Base
- Inherits:
-
Object
- Object
- PaymentGateway::Mundipagg::Base
- Defined in:
- lib/payment_gateway/mundipagg/base.rb
Direct Known Subclasses
Defined Under Namespace
Classes: GatewayError, MissingAccessKeyError
Constant Summary collapse
- API_URL =
'https://api.mundipagg.com/core/v1'
Instance Method Summary collapse
-
#initialize ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize ⇒ Base
Returns a new instance of Base.
12 13 14 15 |
# File 'lib/payment_gateway/mundipagg/base.rb', line 12 def initialize access_key = PaymentGateway::Mundipagg.configuration.access_key raise MissingAccessKeyError if access_key.nil? || access_key.eql?('') end |