Class: PivotalAPI::Activity
- Defined in:
- lib/pivotal-tracker-api/activity.rb
Instance Attribute Summary collapse
-
#changes ⇒ Object
Returns the value of attribute changes.
-
#guid ⇒ Object
Returns the value of attribute guid.
-
#highlight ⇒ Object
Returns the value of attribute highlight.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#message ⇒ Object
Returns the value of attribute message.
-
#occurred_at ⇒ Object
Returns the value of attribute occurred_at.
-
#performed_by ⇒ Object
Returns the value of attribute performed_by.
-
#performed_by_id ⇒ Object
Returns the value of attribute performed_by_id.
-
#primary_resources ⇒ Object
Returns the value of attribute primary_resources.
-
#project_id ⇒ Object
Returns the value of attribute project_id.
-
#project_version ⇒ Object
Returns the value of attribute project_version.
Class Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from PivotalAPI::Base
Instance Attribute Details
#changes ⇒ Object
Returns the value of attribute changes.
35 36 37 |
# File 'lib/pivotal-tracker-api/activity.rb', line 35 def changes @changes end |
#guid ⇒ Object
Returns the value of attribute guid.
35 36 37 |
# File 'lib/pivotal-tracker-api/activity.rb', line 35 def guid @guid end |
#highlight ⇒ Object
Returns the value of attribute highlight.
35 36 37 |
# File 'lib/pivotal-tracker-api/activity.rb', line 35 def highlight @highlight end |
#kind ⇒ Object
Returns the value of attribute kind.
35 36 37 |
# File 'lib/pivotal-tracker-api/activity.rb', line 35 def kind @kind end |
#message ⇒ Object
Returns the value of attribute message.
35 36 37 |
# File 'lib/pivotal-tracker-api/activity.rb', line 35 def @message end |
#occurred_at ⇒ Object
Returns the value of attribute occurred_at.
35 36 37 |
# File 'lib/pivotal-tracker-api/activity.rb', line 35 def occurred_at @occurred_at end |
#performed_by ⇒ Object
Returns the value of attribute performed_by.
35 36 37 |
# File 'lib/pivotal-tracker-api/activity.rb', line 35 def performed_by @performed_by end |
#performed_by_id ⇒ Object
Returns the value of attribute performed_by_id.
35 36 37 |
# File 'lib/pivotal-tracker-api/activity.rb', line 35 def performed_by_id @performed_by_id end |
#primary_resources ⇒ Object
Returns the value of attribute primary_resources.
35 36 37 |
# File 'lib/pivotal-tracker-api/activity.rb', line 35 def primary_resources @primary_resources end |
#project_id ⇒ Object
Returns the value of attribute project_id.
35 36 37 |
# File 'lib/pivotal-tracker-api/activity.rb', line 35 def project_id @project_id end |
#project_version ⇒ Object
Returns the value of attribute project_version.
35 36 37 |
# File 'lib/pivotal-tracker-api/activity.rb', line 35 def project_version @project_version end |
Class Method Details
.from_json(json) ⇒ Object
39 40 41 |
# File 'lib/pivotal-tracker-api/activity.rb', line 39 def self.from_json(json) parse_json_activity(json) if json.is_a?(Array) end |