Class: WorkSnaps::User
Instance Attribute Summary collapse
-
#email ⇒ Object
readonly
Returns the value of attribute email.
-
#first_name ⇒ Object
readonly
Returns the value of attribute first_name.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#is_in_daylight_time ⇒ Object
readonly
Returns the value of attribute is_in_daylight_time.
-
#last_name ⇒ Object
readonly
Returns the value of attribute last_name.
-
#login ⇒ Object
readonly
Returns the value of attribute login.
-
#password ⇒ Object
readonly
Returns the value of attribute password.
-
#timezone_id ⇒ Object
readonly
Returns the value of attribute timezone_id.
-
#timezone_name ⇒ Object
readonly
Returns the value of attribute timezone_name.
Instance Method Summary collapse
Methods inherited from Base
#[], attr_reader, #attrs, fetch, fetch_or_new, identity_map, #initialize, store, #update
Constructor Details
This class inherits a constructor from WorkSnaps::Base
Instance Attribute Details
#email ⇒ Object (readonly)
Returns the value of attribute email.
5 6 7 |
# File 'lib/worksnaps/user.rb', line 5 def email @email end |
#first_name ⇒ Object (readonly)
Returns the value of attribute first_name.
5 6 7 |
# File 'lib/worksnaps/user.rb', line 5 def first_name @first_name end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
5 6 7 |
# File 'lib/worksnaps/user.rb', line 5 def id @id end |
#is_in_daylight_time ⇒ Object (readonly)
Returns the value of attribute is_in_daylight_time.
5 6 7 |
# File 'lib/worksnaps/user.rb', line 5 def is_in_daylight_time @is_in_daylight_time end |
#last_name ⇒ Object (readonly)
Returns the value of attribute last_name.
5 6 7 |
# File 'lib/worksnaps/user.rb', line 5 def last_name @last_name end |
#login ⇒ Object (readonly)
Returns the value of attribute login.
5 6 7 |
# File 'lib/worksnaps/user.rb', line 5 def login @login end |
#password ⇒ Object (readonly)
Returns the value of attribute password.
5 6 7 |
# File 'lib/worksnaps/user.rb', line 5 def password @password end |
#timezone_id ⇒ Object (readonly)
Returns the value of attribute timezone_id.
5 6 7 |
# File 'lib/worksnaps/user.rb', line 5 def timezone_id @timezone_id end |
#timezone_name ⇒ Object (readonly)
Returns the value of attribute timezone_name.
5 6 7 |
# File 'lib/worksnaps/user.rb', line 5 def timezone_name @timezone_name end |
Instance Method Details
#full_name ⇒ Object
8 9 10 |
# File 'lib/worksnaps/user.rb', line 8 def full_name [last_name, first_name].join(', ') end |