class DoorkeeperHub::User

Attributes

company_tokens[RW]
id[RW]

Public Class Methods

new(attrs) click to toggle source
# File lib/doorkeeper_hub.rb, line 30
def initialize(attrs)
  @company_tokens = attrs['company_tokens']
  @id             = attrs['id']
end

Public Instance Methods

authenticatable_salt() click to toggle source
# File lib/doorkeeper_hub.rb, line 39
def authenticatable_salt
  ''
end
to_key() click to toggle source
# File lib/doorkeeper_hub.rb, line 35
def to_key
  id
end