Class: Manifestly::Entity::User

Inherits:
Endpoint show all
Defined in:
lib/manifestly/entity/user.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Methods inherited from Endpoint

client, #client, #create, #delete, get, list, #path, #save, #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_urlObject

Returns the value of attribute avatar_url.



7
8
9
# File 'lib/manifestly/entity/user.rb', line 7

def avatar_url
  @avatar_url
end

#emailObject

Returns the value of attribute email.



8
9
10
# File 'lib/manifestly/entity/user.rb', line 8

def email
  @email
end

#idObject

Returns the value of attribute id.



6
7
8
# File 'lib/manifestly/entity/user.rb', line 6

def id
  @id
end

#membership_idObject

Returns the value of attribute membership_id.



12
13
14
# File 'lib/manifestly/entity/user.rb', line 12

def membership_id
  @membership_id
end

#nameObject

Returns the value of attribute name.



9
10
11
# File 'lib/manifestly/entity/user.rb', line 9

def name
  @name
end

#roleObject

Returns the value of attribute role.



13
14
15
# File 'lib/manifestly/entity/user.rb', line 13

def role
  @role
end

#simple_display_nameObject

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

#usernameObject

Returns the value of attribute username.



11
12
13
# File 'lib/manifestly/entity/user.rb', line 11

def username
  @username
end

Class Method Details

.pathObject



21
22
23
# File 'lib/manifestly/entity/user.rb', line 21

def self.path
  'users'
end