class BitbucketClient

def pull_comments(slug, pull_id)

def pull_comments(slug, pull_id)
  response = get("/#{slug}/pullrequests/#{pull_id}/comments?pagelen=100")
  parse_comments(openstruct(response))
  result = parse_comments(openstruct(response))
  while (response['next'])
    response = get response['next']
    result.concat(parse_comments(openstruct(response)))
  end
  result
end