Sha256: ad653b188e832fb31c2cf571faa6d219d9df8934b345c962706af794dd30edf8

Contents?: true

Size: 393 Bytes

Versions: 8

Compression:

Stored size: 393 Bytes

Contents

# frozen_string_literal: true

require_relative 'user'
require_relative 'marketplace/store'

module Desertcart
  class AuthenticationToken < Desertcart::Resource
    attribute :token, type: LedgerSync::Type::String
    attribute :expires_at, type: LedgerSync::Type::String

    references_one :user, to: Desertcart::User
    references_one :store, to: Desertcart::Marketplace::Store
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
desertcart-1.2.0 lib/desertcart/resources/authentication_token.rb
desertcart-1.1.5 lib/desertcart/resources/authentication_token.rb
desertcart-1.1.4 lib/desertcart/resources/authentication_token.rb
desertcart-1.1.3 lib/desertcart/resources/authentication_token.rb
desertcart-1.1.2 lib/desertcart/resources/authentication_token.rb
desertcart-1.1.1 lib/desertcart/resources/authentication_token.rb
desertcart-1.1.0 lib/desertcart/resources/authentication_token.rb
desertcart-1.0.0 lib/desertcart/resources/authentication_token.rb