Class: Desertcart::Marketplace::Registration::Operations::Create

Inherits:
Operation::Create show all
Defined in:
lib/desertcart/marketplace/registration/operations/create.rb

Defined Under Namespace

Classes: Contract

Instance Method Summary collapse

Methods included from Operation::Mixin

included

Instance Method Details

#deserialized_resourceObject



24
25
26
27
28
29
# File 'lib/desertcart/marketplace/registration/operations/create.rb', line 24

def deserialized_resource
  Desertcart::AuthenticationToken::Deserializer.new.deserialize(
    hash: response.body['authentication_token'],
    resource: Desertcart::AuthenticationToken.new
  )
end

#ledger_namespace_pathObject



20
21
22
# File 'lib/desertcart/marketplace/registration/operations/create.rb', line 20

def ledger_namespace_path
  'marketplace'
end