Class: Auth::Lh::User
- Inherits:
-
Object
- Object
- Auth::Lh::User
- Defined in:
- lib/auth/lh/user.rb
Instance Attribute Summary collapse
-
#allow_remote_access ⇒ Object
Returns the value of attribute allow_remote_access.
-
#code ⇒ Object
Returns the value of attribute code.
-
#email ⇒ Object
Returns the value of attribute email.
-
#is_admin ⇒ Object
Returns the value of attribute is_admin.
-
#jabber ⇒ Object
Returns the value of attribute jabber.
-
#last_activity ⇒ Object
Returns the value of attribute last_activity.
-
#login ⇒ Object
Returns the value of attribute login.
-
#name ⇒ Object
Returns the value of attribute name.
-
#shop_code ⇒ Object
Returns the value of attribute shop_code.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ User
constructor
A new instance of User.
Constructor Details
#initialize(attributes = {}) ⇒ User
Returns a new instance of User.
7 8 9 10 11 |
# File 'lib/auth/lh/user.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.
4 5 6 |
# File 'lib/auth/lh/user.rb', line 4 def allow_remote_access @allow_remote_access end |
#code ⇒ Object
Returns the value of attribute code.
4 5 6 |
# File 'lib/auth/lh/user.rb', line 4 def code @code end |
#email ⇒ Object
Returns the value of attribute email.
4 5 6 |
# File 'lib/auth/lh/user.rb', line 4 def email @email end |
#is_admin ⇒ Object
Returns the value of attribute is_admin.
4 5 6 |
# File 'lib/auth/lh/user.rb', line 4 def is_admin @is_admin end |
#jabber ⇒ Object
Returns the value of attribute jabber.
4 5 6 |
# File 'lib/auth/lh/user.rb', line 4 def jabber @jabber end |
#last_activity ⇒ Object
Returns the value of attribute last_activity.
4 5 6 |
# File 'lib/auth/lh/user.rb', line 4 def last_activity @last_activity end |
#login ⇒ Object
Returns the value of attribute login.
4 5 6 |
# File 'lib/auth/lh/user.rb', line 4 def login @login end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/auth/lh/user.rb', line 4 def name @name end |
#shop_code ⇒ Object
Returns the value of attribute shop_code.
4 5 6 |
# File 'lib/auth/lh/user.rb', line 4 def shop_code @shop_code end |