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