Module: Klarna::Checkout::Operations::Acknowledge
- Included in:
- Klarna::Checkout::Order
- Defined in:
- lib/klarna/checkout/operations/acknowledge.rb
Instance Method Summary collapse
Instance Method Details
#acknowledge_order(reference) ⇒ Object
7 8 9 10 11 |
# File 'lib/klarna/checkout/operations/acknowledge.rb', line 7 def acknowledge_order(reference) request = Faraday.new(host) request.headers['Authorization'] = request.post("/ordermanagement/v1/orders/#{reference}/acknowledge") end |