Class: PaymentGateway::ForAll::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/payment_gateway/for_all/base.rb

Direct Known Subclasses

Card, Transaction, Vault

Defined Under Namespace

Classes: GatewayError, MerchantKeyNotFound

Instance Method Summary collapse

Constructor Details

#initializeBase

Returns a new instance of Base.



8
9
10
# File 'lib/payment_gateway/for_all/base.rb', line 8

def initialize
  raise MerchantKeyNotFound if PaymentGateway::ForAll.configuration.merchant_key.blank?
end