Sha256: 102dd8b3342cb14aa425f446e96bfb6dd631beadbe1a0d5e328192ab617cdf73

Contents?: true

Size: 204 Bytes

Versions: 7

Compression:

Stored size: 204 Bytes

Contents

module ExpirableFields
  extend ::ActiveSupport::Concern

  included do
    include Mongoid::Document

    ## Expirable
    field :expired_at, type: Time
    field :last_activity_at, type: Time
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
devise-security-0.16.0 test/dummy/app/models/mongoid/expirable_fields.rb
devise-security-0.15.0 test/dummy/app/models/mongoid/expirable_fields.rb
devise-security-0.14.3 test/dummy/app/models/mongoid/expirable_fields.rb
devise-security-0.14.2 test/dummy/app/models/mongoid/expirable_fields.rb
devise-security-0.14.1 test/dummy/app/models/mongoid/expirable_fields.rb
devise-security-0.14.0 test/dummy/app/models/mongoid/expirable_fields.rb
devise-security-0.14.0.rc1 test/dummy/app/models/mongoid/expirable_fields.rb