Module: Flux::PivotalTracker::IterationExt

Defined in:
lib/flux/ext/pivotal-tracker.rb

Instance Method Summary collapse

Instance Method Details

#current_backlog(project, options = {}) ⇒ Object



4
5
6
7
8
# File 'lib/flux/ext/pivotal-tracker.rb', line 4

def current_backlog(project, options = {})
  params = ::PivotalTracker.encode_options(options)
  path   = "/projects/#{project.id}/iterations/current_backlog#{params}"
  parse(::PivotalTracker::Client.connection[path].get)
end