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( = {}) .has_key?(:secret_key) ? requires!(, :secret_key) : requires!(, :client_id, :client_secret) super end |