Sha256: 4fe0279910adf0ca4009241b4612ef53fc245f91dbc92e65d203d4f33a5399ec
Contents?: true
Size: 593 Bytes
Versions: 3
Compression:
Stored size: 593 Bytes
Contents
module PivotalTracker class Iteration include HappyMapper class << self def all(project, options={}) params = PivotalTracker.encode_options(options) parse(Client.connection["/projects/#{project.id}/iterations#{params}"].get) end def current(project) array = parse(Client.connection["projects/#{project.id}/iterations/current"].get) array.first if array end end element :id, Integer element :number, Integer element :start, DateTime element :finish, DateTime has_many :stories, Story end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
pivotal-tracker-0.1.1 | lib/pivotal-tracker/iteration.rb |
pivotal-tracker-0.1.0.1 | lib/pivotal-tracker/iteration.rb |
pivotal-tracker-0.1.0 | lib/pivotal-tracker/iteration.rb |