Sha256: a398272ee929be16784b5291645c69fa14d8ae12c7149cb85e7f429bc586e5fa

Contents?: true

Size: 1002 Bytes

Versions: 2

Compression:

Stored size: 1002 Bytes

Contents

require "shared_user_without_email"

class UserWithoutEmail
  include Neo4j::ActiveNode
  include SharedUserWithoutEmail

  property :username, type: String
  property :facebook_token, type: String

  ## Database authenticatable
  property :email, type: String, default: ''
  property :encrypted_password, type: String, default: ''

  ## Recoverable
  property :reset_password_token, type: String
  property :reset_password_sent_at, type: DateTime

  ## Rememberable
  property :remember_created_at, type: DateTime

  ## Trackable
  property :sign_in_count, type: Integer, default: 0
  property :current_sign_in_at, type: DateTime
  property :last_sign_in_at, type: DateTime
  property :current_sign_in_ip, type: String
  property :last_sign_in_ip, type: String

  ## Lockable
  property :failed_attempts, type: Integer, default: 0 # Only if lock strategy is :failed_attempts
  property :unlock_token, type: String # Only if unlock strategy is :email or :both
  property :locked_at, type: DateTime
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
devise-neo4j-2.1.1 test/rails_app/app/neo4j/user_without_email.rb
devise-neo4j-2.1.0 test/rails_app/app/neo4j/user_without_email.rb