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