Class: PivotalSync::Comment

Inherits:
Object
  • Object
show all
Includes:
HappyMapper
Defined in:
lib/pivotal_sync/comment.rb

Class Method Summary collapse

Class Method Details

.all(project_id, story_id) ⇒ Object



8
9
10
# File 'lib/pivotal_sync/comment.rb', line 8

def all(project_id, story_id)
  parse(Client.connection["projects/#{project_id}/stories/#{story_id}/comments"].get)
end