Class: Console::Auth::Basic::BasicUser
- Inherits:
-
RestApi::Authorization
show all
- Extended by:
- ActiveModel::Naming
- Includes:
- ActiveModel::Conversion
- Defined in:
- app/controllers/console/auth/basic.rb
Instance Attribute Summary
#login, #password, #ticket
Instance Method Summary
collapse
#cache_key
Constructor Details
#initialize(opts = {}) ⇒ BasicUser
Returns a new instance of BasicUser.
14
15
16
|
# File 'app/controllers/console/auth/basic.rb', line 14
def initialize(opts={})
opts.each_pair { |key,value| instance_variable_set("@#{key}", value) }
end
|
Instance Method Details
#email_address ⇒ Object
17
18
19
|
# File 'app/controllers/console/auth/basic.rb', line 17
def email_address
nil
end
|
#persisted? ⇒ Boolean
21
22
23
|
# File 'app/controllers/console/auth/basic.rb', line 21
def persisted?
false
end
|