class Desertcart::Marketplace::Authorization::Operations::Create

Public Instance Methods

deserialized_resource() click to toggle source
# 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() click to toggle source
# File lib/desertcart/marketplace/authorizations/operations/create.rb, line 16
def ledger_namespace_path
  'marketplace'
end