Class: Manifestly::Entity::User
- Defined in:
- lib/manifestly/entity/user.rb
Instance Attribute Summary collapse
-
#avatar_url ⇒ Object
Returns the value of attribute avatar_url.
-
#email ⇒ Object
Returns the value of attribute email.
-
#id ⇒ Object
Returns the value of attribute id.
-
#membership_id ⇒ Object
Returns the value of attribute membership_id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#role ⇒ Object
Returns the value of attribute role.
-
#simple_display_name ⇒ Object
Returns the value of attribute simple_display_name.
-
#username ⇒ Object
Returns the value of attribute username.
Class Method Summary collapse
Methods inherited from Endpoint
#client, client, #create, #delete, #endpoint_target, get, list, #location, location, #save, singular_endpoint_target, #singular_endpoint_target, #update
Methods inherited from Base
attr_accessor, attr_reader, #attributes, attributes, #attributes=, #initialize, invalid_class_method, invalid_method, #to_h
Constructor Details
This class inherits a constructor from Manifestly::Entity::Base
Instance Attribute Details
#avatar_url ⇒ Object
Returns the value of attribute avatar_url.
7 8 9 |
# File 'lib/manifestly/entity/user.rb', line 7 def avatar_url @avatar_url end |
#email ⇒ Object
Returns the value of attribute email.
8 9 10 |
# File 'lib/manifestly/entity/user.rb', line 8 def email @email end |
#id ⇒ Object
Returns the value of attribute id.
6 7 8 |
# File 'lib/manifestly/entity/user.rb', line 6 def id @id end |
#membership_id ⇒ Object
Returns the value of attribute membership_id.
12 13 14 |
# File 'lib/manifestly/entity/user.rb', line 12 def membership_id @membership_id end |
#name ⇒ Object
Returns the value of attribute name.
9 10 11 |
# File 'lib/manifestly/entity/user.rb', line 9 def name @name end |
#role ⇒ Object
Returns the value of attribute role.
13 14 15 |
# File 'lib/manifestly/entity/user.rb', line 13 def role @role end |
#simple_display_name ⇒ Object
Returns the value of attribute simple_display_name.
10 11 12 |
# File 'lib/manifestly/entity/user.rb', line 10 def simple_display_name @simple_display_name end |
#username ⇒ Object
Returns the value of attribute username.
11 12 13 |
# File 'lib/manifestly/entity/user.rb', line 11 def username @username end |
Class Method Details
.endpoint_target ⇒ Object
21 22 23 |
# File 'lib/manifestly/entity/user.rb', line 21 def self.endpoint_target :users end |