Sha256: c95e90efd70ec89bfc6872e2553ffb3f7820b2e053debbb94600067ed4313397

Contents?: true

Size: 256 Bytes

Versions: 5

Compression:

Stored size: 256 Bytes

Contents

class AuthenticationToken
  include Mongoid::Document

  belongs_to :user

  field :body, type: String
  field :last_used_at, type: Time
  field :ip_address, type: String
  field :user_agent, type: String
  field :expires_in, type: Integer, default: 0
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tiddle-1.6.0 spec/rails_app_mongoid/app/models/authentication_token.rb
tiddle-1.5.0 spec/rails_app_mongoid/app/models/authentication_token.rb
tiddle-1.4.0 spec/rails_app_mongoid/app/models/authentication_token.rb
tiddle-1.3.0 spec/rails_app_mongoid/app/models/authentication_token.rb
tiddle-1.2.0 spec/rails_app_mongoid/app/models/authentication_token.rb