Class: RedboothRuby::Person
- Includes:
- Operations::Create, Operations::Delete, Operations::Index, Operations::Show, Operations::Update
- Defined in:
- lib/redbooth-ruby/person.rb
Instance Attribute Summary collapse
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#id ⇒ Object
Returns the value of attribute id.
-
#project_id ⇒ Object
Returns the value of attribute project_id.
-
#role ⇒ Object
Returns the value of attribute role.
-
#updated_at ⇒ Object
Returns the value of attribute updated_at.
-
#user_id ⇒ Object
Returns the value of attribute user_id.
Attributes inherited from Base
Class Method Summary collapse
-
.api_resource_name(method = nil) ⇒ Object
resource name overwrite this in the model if the api is not well named.
Methods included from Operations::Delete
Methods included from Operations::Show
Methods included from Operations::Update
Methods included from Operations::Create
Methods included from Operations::Index
Methods inherited from Base
#errors, #initialize, #parse_timestamps, #set_attributes, #valid?
Methods included from Operations::Base
Constructor Details
This class inherits a constructor from RedboothRuby::Base
Instance Attribute Details
#created_at ⇒ Object
Returns the value of attribute created_at.
9 10 11 |
# File 'lib/redbooth-ruby/person.rb', line 9 def created_at @created_at end |
#id ⇒ Object
Returns the value of attribute id.
9 10 11 |
# File 'lib/redbooth-ruby/person.rb', line 9 def id @id end |
#project_id ⇒ Object
Returns the value of attribute project_id.
9 10 11 |
# File 'lib/redbooth-ruby/person.rb', line 9 def project_id @project_id end |
#role ⇒ Object
Returns the value of attribute role.
9 10 11 |
# File 'lib/redbooth-ruby/person.rb', line 9 def role @role end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
9 10 11 |
# File 'lib/redbooth-ruby/person.rb', line 9 def updated_at @updated_at end |
#user_id ⇒ Object
Returns the value of attribute user_id.
9 10 11 |
# File 'lib/redbooth-ruby/person.rb', line 9 def user_id @user_id end |
Class Method Details
.api_resource_name(method = nil) ⇒ Object
resource name overwrite this in the model if the api is not well named
19 20 21 |
# File 'lib/redbooth-ruby/person.rb', line 19 def self.api_resource_name(method = nil) 'people' end |