Class: Desertcart::Marketplace::OrderItemAcceptance::Operations::Create
- Inherits:
-
Operation::Create
- Object
- Operation::Create
- Desertcart::Marketplace::OrderItemAcceptance::Operations::Create
- Defined in:
- lib/desertcart/marketplace/order_item_acceptance/operations/create.rb
Defined Under Namespace
Classes: Contract
Instance Method Summary collapse
Methods included from Operation::Mixin
Instance Method Details
#deserialized_resource ⇒ Object
23 24 25 26 27 28 |
# File 'lib/desertcart/marketplace/order_item_acceptance/operations/create.rb', line 23 def deserialized_resource Desertcart::Marketplace::OrderItem::Deserializer.new.deserialize( hash: response.body['order_item'], resource: Desertcart::Marketplace::OrderItem.new ) end |
#ledger_namespace_path ⇒ Object
19 20 21 |
# File 'lib/desertcart/marketplace/order_item_acceptance/operations/create.rb', line 19 def ledger_namespace_path 'marketplace' end |