Module: PaymentGateway::Mundipagg

Defined in:
lib/payment_gateway/mundipagg.rb,
lib/payment_gateway/mundipagg/base.rb,
lib/payment_gateway/mundipagg/card.rb,
lib/payment_gateway/mundipagg/plan.rb,
lib/payment_gateway/mundipagg/order.rb,
lib/payment_gateway/mundipagg/customer.rb,
lib/payment_gateway/mundipagg/subscription.rb

Defined Under Namespace

Classes: Base, Card, Configuration, Customer, Order, Plan, Subscription

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/mundipagg.rb', line 4

def configuration
  @configuration
end

Class Method Details

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

Yields:



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

def self.configure
  yield(configuration)
end

.resetObject



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

def self.reset
  @configuration = Configuration.new
end