Class: Adyen::CheckoutApplePay
- Defined in:
- lib/adyen/services/checkout.rb
Instance Attribute Summary
Attributes inherited from Service
Instance Method Summary collapse
-
#initialize(client, version = DEFAULT_VERSION) ⇒ CheckoutApplePay
constructor
A new instance of CheckoutApplePay.
- #sessions(request, headers = {}) ⇒ Object
Methods inherited from Service
action_for_method_name, #create_query_string
Constructor Details
#initialize(client, version = DEFAULT_VERSION) ⇒ CheckoutApplePay
Returns a new instance of CheckoutApplePay.
157 158 159 160 161 |
# File 'lib/adyen/services/checkout.rb', line 157 def initialize(client, version = DEFAULT_VERSION) @service = "Checkout" @client = client @version = version end |
Instance Method Details
#sessions(request, headers = {}) ⇒ Object
163 164 165 166 |
# File 'lib/adyen/services/checkout.rb', line 163 def sessions(request, headers = {}) action = "applePay/sessions" @client.call_adyen_api(@service, action, request, headers, @version) end |