Class: Identity

Inherits:
ActiveRecord::Base
  • Object
show all
Includes:
CaseSensitivity, Sortable
Defined in:
app/models/identity.rb

Overview

Schema Information

Table name: identities

id         :integer          not null, primary key
extern_uid :string
provider   :string
user_id    :integer
created_at :datetime
updated_at :datetime

Instance Method Summary collapse

Instance Method Details

#ldap?Boolean

Returns:

  • (Boolean)

22
23
24
# File 'app/models/identity.rb', line 22

def ldap?
  provider.starts_with?('ldap')
end