Class: Siteleaf::User

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

Instance Attribute Summary collapse

Attributes inherited from Entity

#error, #message

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_atObject (readonly)

Returns the value of attribute created_at.



5
6
7
# File 'lib/siteleaf/user.rb', line 5

def created_at
  @created_at
end

#emailObject

Returns the value of attribute email.



4
5
6
# File 'lib/siteleaf/user.rb', line 4

def email
  @email
end

#firstnameObject

Returns the value of attribute firstname.



4
5
6
# File 'lib/siteleaf/user.rb', line 4

def firstname
  @firstname
end

#idObject (readonly)

Returns the value of attribute id.



5
6
7
# File 'lib/siteleaf/user.rb', line 5

def id
  @id
end

#lastnameObject

Returns the value of attribute lastname.



4
5
6
# File 'lib/siteleaf/user.rb', line 4

def lastname
  @lastname
end

#updated_atObject (readonly)

Returns the value of attribute updated_at.



5
6
7
# File 'lib/siteleaf/user.rb', line 5

def updated_at
  @updated_at
end