Module: Klarna::Checkout

Defined in:
lib/klarna/checkout.rb,
lib/klarna/checkout/order.rb,
lib/klarna/checkout/version.rb,
lib/klarna/checkout/configuration.rb,
lib/klarna/checkout/operations/fetch.rb,
lib/klarna/checkout/operations/cancel.rb,
lib/klarna/checkout/operations/create.rb,
lib/klarna/checkout/operations/refund.rb,
lib/klarna/checkout/operations/capture.rb,
lib/klarna/checkout/operations/acknowledge.rb,
lib/klarna/checkout/resources/merchant_urls.rb,
lib/klarna/checkout/resources/authentication.rb,
lib/klarna/checkout/errors/order_cancel_error.rb,
lib/klarna/checkout/errors/order_refund_error.rb,
lib/klarna/checkout/errors/configuration_error.rb,
lib/klarna/checkout/errors/order_capture_error.rb,
lib/klarna/checkout/operations/create_recurring.rb,
lib/klarna/checkout/api_utilities/parse_response.rb,
lib/klarna/checkout/errors/order_not_found_error.rb,
lib/klarna/checkout/errors/order_validation_error.rb,
lib/klarna/checkout/validations/order_validations.rb,
lib/klarna/checkout/api_utilities/connection_utilities.rb

Defined Under Namespace

Modules: ApiUtilities, Errors, Operations, Resources, Validations Classes: Configuration, Order

Constant Summary collapse

VERSION =
'0.1.4'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject



51
52
53
# File 'lib/klarna/checkout.rb', line 51

def configuration
  @configuration ||= Klarna::Checkout::Configuration.new
end

Class Method Details

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

Yields:



55
56
57
# File 'lib/klarna/checkout.rb', line 55

def configure
  yield(configuration)
end