Class: Siteleaf::User
Instance Attribute Summary collapse
-
#created_at ⇒ Object
readonly
Returns the value of attribute created_at.
-
#email ⇒ Object
Returns the value of attribute email.
-
#firstname ⇒ Object
Returns the value of attribute firstname.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#lastname ⇒ Object
Returns the value of attribute lastname.
-
#updated_at ⇒ Object
readonly
Returns the value of attribute updated_at.
Attributes inherited from Entity
Method Summary
Methods inherited from Entity
all, #attributes, #attributes=, class_name, create, #create_endpoint, delete, #delete, endpoint, #entity_endpoint, find, #identifier, #initialize, #save
Constructor Details
This class inherits a constructor from Siteleaf::Entity
Instance Attribute Details
#created_at ⇒ Object (readonly)
Returns the value of attribute created_at.
5 6 7 |
# File 'lib/siteleaf/user.rb', line 5 def created_at @created_at end |
#email ⇒ Object
Returns the value of attribute email.
4 5 6 |
# File 'lib/siteleaf/user.rb', line 4 def email @email end |
#firstname ⇒ Object
Returns the value of attribute firstname.
4 5 6 |
# File 'lib/siteleaf/user.rb', line 4 def firstname @firstname end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
5 6 7 |
# File 'lib/siteleaf/user.rb', line 5 def id @id end |
#lastname ⇒ Object
Returns the value of attribute lastname.
4 5 6 |
# File 'lib/siteleaf/user.rb', line 4 def lastname @lastname end |
#updated_at ⇒ Object (readonly)
Returns the value of attribute updated_at.
5 6 7 |
# File 'lib/siteleaf/user.rb', line 5 def updated_at @updated_at end |