Class: AssistedWorkflow::Addons::PivotalStory
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- AssistedWorkflow::Addons::PivotalStory
- Defined in:
- lib/assisted_workflow/addons/pivotal.rb
Instance Method Summary collapse
-
#initialize(story) ⇒ PivotalStory
constructor
A new instance of PivotalStory.
- #owners_str ⇒ Object
Constructor Details
#initialize(story) ⇒ PivotalStory
Returns a new instance of PivotalStory.
9 10 11 |
# File 'lib/assisted_workflow/addons/pivotal.rb', line 9 def initialize(story) super end |
Instance Method Details
#owners_str ⇒ Object
13 14 15 16 |
# File 'lib/assisted_workflow/addons/pivotal.rb', line 13 def owners_str url = "/projects/#{project_id}/stories/#{id}/owners" client.get(url).body.map{|owner| owner["name"]}.join(", ") end |