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