Module: PaymentGateway::ForAll

Defined in:
lib/payment_gateway/for_all.rb,
lib/payment_gateway/for_all/base.rb,
lib/payment_gateway/for_all/card.rb,
lib/payment_gateway/for_all/vault.rb,
lib/payment_gateway/for_all/transaction.rb

Defined Under Namespace

Classes: Base, Card, Configuration, Transaction, Vault

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



4
5
6
# File 'lib/payment_gateway/for_all.rb', line 4

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



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

def self.configure
  yield(configuration)
end

.resetObject



15
16
17
# File 'lib/payment_gateway/for_all.rb', line 15

def self.reset
  @configuration = Configuration.new
end