Module: CheckoutSdk

Defined in:
lib/checkout_sdk.rb,
lib/checkout_sdk/version.rb

Defined Under Namespace

Classes: ApiResource, CapturePayment, Configuration, PaymentRequestSource, PaymentSource, RefundPayment, RequestToken, VoidPayment

Constant Summary collapse

VERSION =
"0.3.2"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



3
4
5
# File 'lib/checkout_sdk.rb', line 3

def configuration
  @configuration
end

Class Method Details

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

Yields:



14
15
16
# File 'lib/checkout_sdk.rb', line 14

def self.configure
  yield(configuration)
end

.resetObject



10
11
12
# File 'lib/checkout_sdk.rb', line 10

def self.reset
  @configuration = Configuration.new
end