Skip to content

Instantly share code, notes, and snippets.

@akshaynathan
Created September 16, 2019 22:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akshaynathan/22ce0c8ac5da6ef638737e712c41c0dd to your computer and use it in GitHub Desktop.
Save akshaynathan/22ce0c8ac5da6ef638737e712c41c0dd to your computer and use it in GitHub Desktop.
def poll_gitplace(user, client)
client.get_pull_requests.each do |pull_request|
comments = client.get_pull_request_comments(pull_request)
create_action_item(user, pull_request, comments)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment