Class: AuthLh::User

Inherits:
Object
  • Object
show all
Defined in:
lib/auth_lh/user.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ User

Returns a new instance of User.



6
7
8
9
10
# File 'lib/auth_lh/user.rb', line 6

def initialize(attributes={})
  attributes.each do |k,v|
    self.send("#{k}=", v)
  end
end

Instance Attribute Details

#allow_remote_accessObject

Returns the value of attribute allow_remote_access.



3
4
5
# File 'lib/auth_lh/user.rb', line 3

def allow_remote_access
  @allow_remote_access
end

#codeObject

Returns the value of attribute code.



3
4
5
# File 'lib/auth_lh/user.rb', line 3

def code
  @code
end

#emailObject

Returns the value of attribute email.



3
4
5
# File 'lib/auth_lh/user.rb', line 3

def email
  @email
end

#is_adminObject

Returns the value of attribute is_admin.



3
4
5
# File 'lib/auth_lh/user.rb', line 3

def is_admin
  @is_admin
end

#jabberObject

Returns the value of attribute jabber.



3
4
5
# File 'lib/auth_lh/user.rb', line 3

def jabber
  @jabber
end

#last_activityObject

Returns the value of attribute last_activity.



3
4
5
# File 'lib/auth_lh/user.rb', line 3

def last_activity
  @last_activity
end

#loginObject

Returns the value of attribute login.



3
4
5
# File 'lib/auth_lh/user.rb', line 3

def 
  @login
end

#nameObject

Returns the value of attribute name.



3
4
5
# File 'lib/auth_lh/user.rb', line 3

def name
  @name
end

#shop_codeObject

Returns the value of attribute shop_code.



3
4
5
# File 'lib/auth_lh/user.rb', line 3

def shop_code
  @shop_code
end