Class: Desertcart::Session::Operations::Find
- Inherits:
-
Operation::Find
- Object
- Operation::Find
- Desertcart::Session::Operations::Find
- Defined in:
- lib/desertcart/session/operations/find.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/find.rb', line 18 def deserialized_resource Desertcart::AuthenticationToken::Deserializer.new.deserialize( hash: response.body['authentication_token'], resource: Desertcart::AuthenticationToken.new ) end |