Class: EasyLabs::Resources::Checkout
- Defined in:
- lib/easylabs/resources/checkout.rb
Overview
POST /checkout. Standard one-shot checkout — handles both the card/bank source variant and the wallet-checkout variant via body discrimination on the API side.
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from EasyLabs::Resources::Base
Instance Method Details
#create(**body) ⇒ Object
11 12 13 |
# File 'lib/easylabs/resources/checkout.rb', line 11 def create(**body) request(:post, "/checkout", body: body) end |