Method: ActiveMerchant::Billing::CheckoutV2Gateway#initialize

Defined in:
lib/active_merchant/billing/gateways/checkout_v2.rb

#initialize(options = {}) ⇒ CheckoutV2Gateway

Returns a new instance of CheckoutV2Gateway.



19
20
21
22
23
# File 'lib/active_merchant/billing/gateways/checkout_v2.rb', line 19

def initialize(options = {})
  options.has_key?(:secret_key) ? requires!(options, :secret_key) : requires!(options, :client_id, :client_secret)

  super
end