Class: PivotalAPI::Task
Direct Known Subclasses
Instance Attribute Summary collapse
-
#complete ⇒ Object
Returns the value of attribute complete.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#description ⇒ Object
Returns the value of attribute description.
-
#id ⇒ Object
Returns the value of attribute id.
-
#position ⇒ Object
Returns the value of attribute position.
-
#project_id ⇒ Object
Returns the value of attribute project_id.
-
#story_id ⇒ Object
Returns the value of attribute story_id.
Class Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from PivotalAPI::Base
Instance Attribute Details
#complete ⇒ Object
Returns the value of attribute complete.
29 30 31 |
# File 'lib/pivotal-tracker-api/task.rb', line 29 def complete @complete end |
#created_at ⇒ Object
Returns the value of attribute created_at.
29 30 31 |
# File 'lib/pivotal-tracker-api/task.rb', line 29 def created_at @created_at end |
#description ⇒ Object
Returns the value of attribute description.
29 30 31 |
# File 'lib/pivotal-tracker-api/task.rb', line 29 def description @description end |
#id ⇒ Object
Returns the value of attribute id.
29 30 31 |
# File 'lib/pivotal-tracker-api/task.rb', line 29 def id @id end |
#position ⇒ Object
Returns the value of attribute position.
29 30 31 |
# File 'lib/pivotal-tracker-api/task.rb', line 29 def position @position end |
#project_id ⇒ Object
Returns the value of attribute project_id.
29 30 31 |
# File 'lib/pivotal-tracker-api/task.rb', line 29 def project_id @project_id end |
#story_id ⇒ Object
Returns the value of attribute story_id.
29 30 31 |
# File 'lib/pivotal-tracker-api/task.rb', line 29 def story_id @story_id end |
Class Method Details
.from_json(json) ⇒ Object
31 32 33 34 |
# File 'lib/pivotal-tracker-api/task.rb', line 31 def self.from_json(json) return nil unless json parse_task(json) end |