Class: PivotalSync::Story
- Inherits:
-
Object
- Object
- PivotalSync::Story
- Includes:
- HappyMapper
- Defined in:
- lib/pivotal_sync/story.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.all(project_id) ⇒ Object
8 9 10 |
# File 'lib/pivotal_sync/story.rb', line 8 def all(project_id) parse(Client.connection["projects/#{project_id}/stories"].get) end |
.find(id) ⇒ Object
12 13 14 |
# File 'lib/pivotal_sync/story.rb', line 12 def find(id) parse(Client.connection["stories/#{id}"].get) end |