Class: MOCO::Task
- Inherits:
-
BaseEntity
- Object
- BaseEntity
- MOCO::Task
- Defined in:
- lib/moco/entities.rb
Overview
Instance Attribute Summary collapse
-
#active ⇒ Object
Returns the value of attribute active.
-
#billable ⇒ Object
Returns the value of attribute billable.
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#project_id ⇒ Object
Returns the value of attribute project_id.
Instance Method Summary collapse
Methods inherited from BaseEntity
#==, #eql?, #hash, #to_h, #to_json
Instance Attribute Details
#active ⇒ Object
Returns the value of attribute active.
57 58 59 |
# File 'lib/moco/entities.rb', line 57 def active @active end |
#billable ⇒ Object
Returns the value of attribute billable.
57 58 59 |
# File 'lib/moco/entities.rb', line 57 def billable @billable end |
#id ⇒ Object
Returns the value of attribute id.
57 58 59 |
# File 'lib/moco/entities.rb', line 57 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
57 58 59 |
# File 'lib/moco/entities.rb', line 57 def name @name end |
#project_id ⇒ Object
Returns the value of attribute project_id.
57 58 59 |
# File 'lib/moco/entities.rb', line 57 def project_id @project_id end |
Instance Method Details
#to_s ⇒ Object
59 60 61 |
# File 'lib/moco/entities.rb', line 59 def to_s name end |