Class: AssistedWorkflow::Addons::PivotalStory

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
lib/assisted_workflow/addons/pivotal.rb

Instance Method Summary collapse

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_strObject



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