Class: PivotalAPI::Iteration
- Defined in:
- lib/pivotal-tracker-api/iteration.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#analytics ⇒ Object
Returns the value of attribute analytics.
-
#effective_points ⇒ Object
Returns the value of attribute effective_points.
-
#finish ⇒ Object
Returns the value of attribute finish.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#length ⇒ Object
Returns the value of attribute length.
-
#number ⇒ Object
Returns the value of attribute number.
-
#points ⇒ Object
Returns the value of attribute points.
-
#project_id ⇒ Object
Returns the value of attribute project_id.
-
#start ⇒ Object
Returns the value of attribute start.
-
#stories ⇒ Object
Returns the value of attribute stories.
-
#story_ids ⇒ Object
Returns the value of attribute story_ids.
-
#team_strength ⇒ Object
Returns the value of attribute team_strength.
-
#velocity ⇒ Object
Returns the value of attribute velocity.
Class Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from PivotalAPI::Base
Instance Attribute Details
#analytics ⇒ Object
Returns the value of attribute analytics.
47 48 49 |
# File 'lib/pivotal-tracker-api/iteration.rb', line 47 def analytics @analytics end |
#effective_points ⇒ Object
Returns the value of attribute effective_points.
47 48 49 |
# File 'lib/pivotal-tracker-api/iteration.rb', line 47 def effective_points @effective_points end |
#finish ⇒ Object
Returns the value of attribute finish.
47 48 49 |
# File 'lib/pivotal-tracker-api/iteration.rb', line 47 def finish @finish end |
#kind ⇒ Object
Returns the value of attribute kind.
47 48 49 |
# File 'lib/pivotal-tracker-api/iteration.rb', line 47 def kind @kind end |
#length ⇒ Object
Returns the value of attribute length.
47 48 49 |
# File 'lib/pivotal-tracker-api/iteration.rb', line 47 def length @length end |
#number ⇒ Object
Returns the value of attribute number.
47 48 49 |
# File 'lib/pivotal-tracker-api/iteration.rb', line 47 def number @number end |
#points ⇒ Object
Returns the value of attribute points.
47 48 49 |
# File 'lib/pivotal-tracker-api/iteration.rb', line 47 def points @points end |
#project_id ⇒ Object
Returns the value of attribute project_id.
47 48 49 |
# File 'lib/pivotal-tracker-api/iteration.rb', line 47 def project_id @project_id end |
#start ⇒ Object
Returns the value of attribute start.
47 48 49 |
# File 'lib/pivotal-tracker-api/iteration.rb', line 47 def start @start end |
#stories ⇒ Object
Returns the value of attribute stories.
47 48 49 |
# File 'lib/pivotal-tracker-api/iteration.rb', line 47 def stories @stories end |
#story_ids ⇒ Object
Returns the value of attribute story_ids.
47 48 49 |
# File 'lib/pivotal-tracker-api/iteration.rb', line 47 def story_ids @story_ids end |
#team_strength ⇒ Object
Returns the value of attribute team_strength.
47 48 49 |
# File 'lib/pivotal-tracker-api/iteration.rb', line 47 def team_strength @team_strength end |
#velocity ⇒ Object
Returns the value of attribute velocity.
47 48 49 |
# File 'lib/pivotal-tracker-api/iteration.rb', line 47 def velocity @velocity end |
Class Method Details
.fields ⇒ Object
50 51 52 53 |
# File 'lib/pivotal-tracker-api/iteration.rb', line 50 def self.fields ['velocity', 'points', 'effective_points', 'analytics', "stories(#{Story.fields.join(',')})", 'team_strength', 'project_id', 'length', 'start', 'finish'] end |
.from_json(json) ⇒ Object
55 56 57 |
# File 'lib/pivotal-tracker-api/iteration.rb', line 55 def self.from_json(json) parse_json_iteration(json) end |