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