Class: AuthLh::UserExtended
- Inherits:
-
Object
- Object
- AuthLh::UserExtended
- Defined in:
- lib/auth_lh/user_extended.rb
Instance Attribute Summary collapse
-
#allow_remote_access ⇒ Object
Returns the value of attribute allow_remote_access.
-
#app_codes ⇒ Object
Returns the value of attribute app_codes.
-
#code ⇒ Object
Returns the value of attribute code.
-
#email ⇒ Object
Returns the value of attribute email.
-
#enabled ⇒ Object
Returns the value of attribute enabled.
-
#is_admin ⇒ Object
Returns the value of attribute is_admin.
-
#jabber ⇒ Object
Returns the value of attribute jabber.
-
#login ⇒ Object
Returns the value of attribute login.
-
#name ⇒ Object
Returns the value of attribute name.
-
#password_digest ⇒ Object
Returns the value of attribute password_digest.
-
#password_expired ⇒ Object
Returns the value of attribute password_expired.
-
#role_codes ⇒ Object
Returns the value of attribute role_codes.
-
#session_timeout ⇒ Object
Returns the value of attribute session_timeout.
-
#shop_code ⇒ Object
Returns the value of attribute shop_code.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ UserExtended
constructor
A new instance of UserExtended.
Constructor Details
#initialize(attributes = {}) ⇒ UserExtended
Returns a new instance of UserExtended.
7 8 9 10 11 |
# File 'lib/auth_lh/user_extended.rb', line 7 def initialize(attributes={}) attributes.each do |k,v| self.send("#{k}=", v) end end |
Instance Attribute Details
#allow_remote_access ⇒ Object
Returns the value of attribute allow_remote_access.
3 4 5 |
# File 'lib/auth_lh/user_extended.rb', line 3 def allow_remote_access @allow_remote_access end |
#app_codes ⇒ Object
Returns the value of attribute app_codes.
3 4 5 |
# File 'lib/auth_lh/user_extended.rb', line 3 def app_codes @app_codes end |
#code ⇒ Object
Returns the value of attribute code.
3 4 5 |
# File 'lib/auth_lh/user_extended.rb', line 3 def code @code end |
#email ⇒ Object
Returns the value of attribute email.
3 4 5 |
# File 'lib/auth_lh/user_extended.rb', line 3 def email @email end |
#enabled ⇒ Object
Returns the value of attribute enabled.
3 4 5 |
# File 'lib/auth_lh/user_extended.rb', line 3 def enabled @enabled end |
#is_admin ⇒ Object
Returns the value of attribute is_admin.
3 4 5 |
# File 'lib/auth_lh/user_extended.rb', line 3 def is_admin @is_admin end |
#jabber ⇒ Object
Returns the value of attribute jabber.
3 4 5 |
# File 'lib/auth_lh/user_extended.rb', line 3 def jabber @jabber end |
#login ⇒ Object
Returns the value of attribute login.
3 4 5 |
# File 'lib/auth_lh/user_extended.rb', line 3 def login @login end |
#name ⇒ Object
Returns the value of attribute name.
3 4 5 |
# File 'lib/auth_lh/user_extended.rb', line 3 def name @name end |
#password_digest ⇒ Object
Returns the value of attribute password_digest.
3 4 5 |
# File 'lib/auth_lh/user_extended.rb', line 3 def password_digest @password_digest end |
#password_expired ⇒ Object
Returns the value of attribute password_expired.
3 4 5 |
# File 'lib/auth_lh/user_extended.rb', line 3 def password_expired @password_expired end |
#role_codes ⇒ Object
Returns the value of attribute role_codes.
3 4 5 |
# File 'lib/auth_lh/user_extended.rb', line 3 def role_codes @role_codes end |
#session_timeout ⇒ Object
Returns the value of attribute session_timeout.
3 4 5 |
# File 'lib/auth_lh/user_extended.rb', line 3 def session_timeout @session_timeout end |
#shop_code ⇒ Object
Returns the value of attribute shop_code.
3 4 5 |
# File 'lib/auth_lh/user_extended.rb', line 3 def shop_code @shop_code end |