{"action":"created","comment":{"url":"https://api.github.com/repos/MA-Codejam/third-round-march-20/pulls/comments/26857207","id":26857207,"diff_hunk":"@@ -0,0 +1,20 @@\n+class Primes\n+  def return_sum number\n+    solution = 2\n+    (3..number).each do |n|\n+      if is_prime? n\n+        solution += n\n+      end\n+    end\n+    return solution","path":"lib/problem.rb","position":9,"original_position":9,"commit_id":"e456cefe26aed728cdfef4438fb853f7b5857f77","original_commit_id":"e456cefe26aed728cdfef4438fb853f7b5857f77","user":{"login":"deniseyu","id":8420094,"avatar_url":"https://avatars.githubusercontent.com/u/8420094?v=3","gravatar_id":"","url":"https://api.github.com/users/deniseyu","html_url":"https://github.com/deniseyu","followers_url":"https://api.github.com/users/deniseyu/followers","following_url":"https://api.github.com/users/deniseyu/following{/other_user}","gists_url":"https://api.github.com/users/deniseyu/gists{/gist_id}","starred_url":"https://api.github.com/users/deniseyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deniseyu/subscriptions","organizations_url":"https://api.github.com/users/deniseyu/orgs","repos_url":"https://api.github.com/users/deniseyu/repos","events_url":"https://api.github.com/users/deniseyu/events{/privacy}","received_events_url":"https://api.github.com/users/deniseyu/received_events","type":"User","site_admin":false},"body":"don't need explicit returns in Ruby","created_at":"2015-03-20T17:14:30Z","updated_at":"2015-03-20T17:14:30Z","html_url":"https://github.com/MA-Codejam/third-round-march-20/pull/1#discussion_r26857207","pull_request_url":"https://api.github.com/repos/MA-Codejam/third-round-march-20/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/MA-Codejam/third-round-march-20/pulls/comments/26857207"},"html":{"href":"https://github.com/MA-Codejam/third-round-march-20/pull/1#discussion_r26857207"},"pull_request":{"href":"https://api.github.com/repos/MA-Codejam/third-round-march-20/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/MA-Codejam/third-round-march-20/pulls/1","id":31613296,"html_url":"https://github.com/MA-Codejam/third-round-march-20/pull/1","diff_url":"https://github.com/MA-Codejam/third-round-march-20/pull/1.diff","patch_url":"https://github.com/MA-Codejam/third-round-march-20/pull/1.patch","issue_url":"https://api.github.com/repos/MA-Codejam/third-round-march-20/issues/1","number":1,"state":"open","locked":false,"title":"Submission","user":{"login":"benjamink14","id":11017431,"avatar_url":"https://avatars.githubusercontent.com/u/11017431?v=3","gravatar_id":"","url":"https://api.github.com/users/benjamink14","html_url":"https://github.com/benjamink14","followers_url":"https://api.github.com/users/benjamink14/followers","following_url":"https://api.github.com/users/benjamink14/following{/other_user}","gists_url":"https://api.github.com/users/benjamink14/gists{/gist_id}","starred_url":"https://api.github.com/users/benjamink14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjamink14/subscriptions","organizations_url":"https://api.github.com/users/benjamink14/orgs","repos_url":"https://api.github.com/users/benjamink14/repos","events_url":"https://api.github.com/users/benjamink14/events{/privacy}","received_events_url":"https://api.github.com/users/benjamink14/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-20T13:28:20Z","updated_at":"2015-03-20T17:14:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4fd607d701cd8016ba95c2c310d6268ac7b59397","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/MA-Codejam/third-round-march-20/pulls/1/commits","review_comments_url":"https://api.github.com/repos/MA-Codejam/third-round-march-20/pulls/1/comments","review_comment_url":"https://api.github.com/repos/MA-Codejam/third-round-march-20/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MA-Codejam/third-round-march-20/issues/1/comments","statuses_url":"https://api.github.com/repos/MA-Codejam/third-round-march-20/statuses/e456cefe26aed728cdfef4438fb853f7b5857f77","head":{"label":"benjamink14:master","ref":"master","sha":"e456cefe26aed728cdfef4438fb853f7b5857f77","user":{"login":"benjamink14","id":11017431,"avatar_url":"https://avatars.githubusercontent.com/u/11017431?v=3","gravatar_id":"","url":"https://api.github.com/users/benjamink14","html_url":"https://github.com/benjamink14","followers_url":"https://api.github.com/users/benjamink14/followers","following_url":"https://api.github.com/users/benjamink14/following{/other_user}","gists_url":"https://api.github.com/users/benjamink14/gists{/gist_id}","starred_url":"https://api.github.com/users/benjamink14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjamink14/subscriptions","organizations_url":"https://api.github.com/users/benjamink14/orgs","repos_url":"https://api.github.com/users/benjamink14/repos","events_url":"https://api.github.com/users/benjamink14/events{/privacy}","received_events_url":"https://api.github.com/users/benjamink14/received_events","type":"User","site_admin":false},"repo":{"id":32584507,"name":"third-round-march-20","full_name":"benjamink14/third-round-march-20","owner":{"login":"benjamink14","id":11017431,"avatar_url":"https://avatars.githubusercontent.com/u/11017431?v=3","gravatar_id":"","url":"https://api.github.com/users/benjamink14","html_url":"https://github.com/benjamink14","followers_url":"https://api.github.com/users/benjamink14/followers","following_url":"https://api.github.com/users/benjamink14/following{/other_user}","gists_url":"https://api.github.com/users/benjamink14/gists{/gist_id}","starred_url":"https://api.github.com/users/benjamink14/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjamink14/subscriptions","organizations_url":"https://api.github.com/users/benjamink14/orgs","repos_url":"https://api.github.com/users/benjamink14/repos","events_url":"https://api.github.com/users/benjamink14/events{/privacy}","received_events_url":"https://api.github.com/users/benjamink14/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/benjamink14/third-round-march-20","description":"","fork":true,"url":"https://api.github.com/repos/benjamink14/third-round-march-20","forks_url":"https://api.github.com/repos/benjamink14/third-round-march-20/forks","keys_url":"https://api.github.com/repos/benjamink14/third-round-march-20/keys{/key_id}","collaborators_url":"https://api.github.com/repos/benjamink14/third-round-march-20/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/benjamink14/third-round-march-20/teams","hooks_url":"https://api.github.com/repos/benjamink14/third-round-march-20/hooks","issue_events_url":"https://api.github.com/repos/benjamink14/third-round-march-20/issues/events{/number}","events_url":"https://api.github.com/repos/benjamink14/third-round-march-20/events","assignees_url":"https://api.github.com/repos/benjamink14/third-round-march-20/assignees{/user}","branches_url":"https://api.github.com/repos/benjamink14/third-round-march-20/branches{/branch}","tags_url":"https://api.github.com/repos/benjamink14/third-round-march-20/tags","blobs_url":"https://api.github.com/repos/benjamink14/third-round-march-20/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/benjamink14/third-round-march-20/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/benjamink14/third-round-march-20/git/refs{/sha}","trees_url":"https://api.github.com/repos/benjamink14/third-round-march-20/git/trees{/sha}","statuses_url":"https://api.github.com/repos/benjamink14/third-round-march-20/statuses/{sha}","languages_url":"https://api.github.com/repos/benjamink14/third-round-march-20/languages","stargazers_url":"https://api.github.com/repos/benjamink14/third-round-march-20/stargazers","contributors_url":"https://api.github.com/repos/benjamink14/third-round-march-20/contributors","subscribers_url":"https://api.github.com/repos/benjamink14/third-round-march-20/subscribers","subscription_url":"https://api.github.com/repos/benjamink14/third-round-march-20/subscription","commits_url":"https://api.github.com/repos/benjamink14/third-round-march-20/commits{/sha}","git_commits_url":"https://api.github.com/repos/benjamink14/third-round-march-20/git/commits{/sha}","comments_url":"https://api.github.com/repos/benjamink14/third-round-march-20/comments{/number}","issue_comment_url":"https://api.github.com/repos/benjamink14/third-round-march-20/issues/comments{/number}","contents_url":"https://api.github.com/repos/benjamink14/third-round-march-20/contents/{+path}","compare_url":"https://api.github.com/repos/benjamink14/third-round-march-20/compare/{base}...{head}","merges_url":"https://api.github.com/repos/benjamink14/third-round-march-20/merges","archive_url":"https://api.github.com/repos/benjamink14/third-round-march-20/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/benjamink14/third-round-march-20/downloads","issues_url":"https://api.github.com/repos/benjamink14/third-round-march-20/issues{/number}","pulls_url":"https://api.github.com/repos/benjamink14/third-round-march-20/pulls{/number}","milestones_url":"https://api.github.com/repos/benjamink14/third-round-march-20/milestones{/number}","notifications_url":"https://api.github.com/repos/benjamink14/third-round-march-20/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/benjamink14/third-round-march-20/labels{/name}","releases_url":"https://api.github.com/repos/benjamink14/third-round-march-20/releases{/id}","created_at":"2015-03-20T13:14:05Z","updated_at":"2015-03-20T13:28:11Z","pushed_at":"2015-03-20T13:28:11Z","git_url":"git://github.com/benjamink14/third-round-march-20.git","ssh_url":"git@github.com:benjamink14/third-round-march-20.git","clone_url":"https://github.com/benjamink14/third-round-march-20.git","svn_url":"https://github.com/benjamink14/third-round-march-20","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"MA-Codejam:master","ref":"master","sha":"20ab5ef4c66716f41981284264ac466437d3f823","user":{"login":"MA-Codejam","id":10561307,"avatar_url":"https://avatars.githubusercontent.com/u/10561307?v=3","gravatar_id":"","url":"https://api.github.com/users/MA-Codejam","html_url":"https://github.com/MA-Codejam","followers_url":"https://api.github.com/users/MA-Codejam/followers","following_url":"https://api.github.com/users/MA-Codejam/following{/other_user}","gists_url":"https://api.github.com/users/MA-Codejam/gists{/gist_id}","starred_url":"https://api.github.com/users/MA-Codejam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MA-Codejam/subscriptions","organizations_url":"https://api.github.com/users/MA-Codejam/orgs","repos_url":"https://api.github.com/users/MA-Codejam/repos","events_url":"https://api.github.com/users/MA-Codejam/events{/privacy}","received_events_url":"https://api.github.com/users/MA-Codejam/received_events","type":"Organization","site_admin":false},"repo":{"id":32538119,"name":"third-round-march-20","full_name":"MA-Codejam/third-round-march-20","owner":{"login":"MA-Codejam","id":10561307,"avatar_url":"https://avatars.githubusercontent.com/u/10561307?v=3","gravatar_id":"","url":"https://api.github.com/users/MA-Codejam","html_url":"https://github.com/MA-Codejam","followers_url":"https://api.github.com/users/MA-Codejam/followers","following_url":"https://api.github.com/users/MA-Codejam/following{/other_user}","gists_url":"https://api.github.com/users/MA-Codejam/gists{/gist_id}","starred_url":"https://api.github.com/users/MA-Codejam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MA-Codejam/subscriptions","organizations_url":"https://api.github.com/users/MA-Codejam/orgs","repos_url":"https://api.github.com/users/MA-Codejam/repos","events_url":"https://api.github.com/users/MA-Codejam/events{/privacy}","received_events_url":"https://api.github.com/users/MA-Codejam/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MA-Codejam/third-round-march-20","description":"","fork":false,"url":"https://api.github.com/repos/MA-Codejam/third-round-march-20","forks_url":"https://api.github.com/repos/MA-Codejam/third-round-march-20/forks","keys_url":"https://api.github.com/repos/MA-Codejam/third-round-march-20/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MA-Codejam/third-round-march-20/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MA-Codejam/third-round-march-20/teams","hooks_url":"https://api.github.com/repos/MA-Codejam/third-round-march-20/hooks","issue_events_url":"https://api.github.com/repos/MA-Codejam/third-round-march-20/issues/events{/number}","events_url":"https://api.github.com/repos/MA-Codejam/third-round-march-20/events","assignees_url":"https://api.github.com/repos/MA-Codejam/third-round-march-20/assignees{/user}","branches_url":"https://api.github.com/repos/MA-Codejam/third-round-march-20/branches{/branch}","tags_url":"https://api.github.com/repos/MA-Codejam/third-round-march-20/tags","blobs_url":"https://api.github.com/repos/MA-Codejam/third-round-march-20/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MA-Codejam/third-round-march-20/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MA-Codejam/third-round-march-20/git/refs{/sha}","trees_url":"https://api.github.com/repos/MA-Codejam/third-round-march-20/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MA-Codejam/third-round-march-20/statuses/{sha}","languages_url":"https://api.github.com/repos/MA-Codejam/third-round-march-20/languages","stargazers_url":"https://api.github.com/repos/MA-Codejam/third-round-march-20/stargazers","contributors_url":"https://api.github.com/repos/MA-Codejam/third-round-march-20/contributors","subscribers_url":"https://api.github.com/repos/MA-Codejam/third-round-march-20/subscribers","subscription_url":"https://api.github.com/repos/MA-Codejam/third-round-march-20/subscription","commits_url":"https://api.github.com/repos/MA-Codejam/third-round-march-20/commits{/sha}","git_commits_url":"https://api.github.com/repos/MA-Codejam/third-round-march-20/git/commits{/sha}","comments_url":"https://api.github.com/repos/MA-Codejam/third-round-march-20/comments{/number}","issue_comment_url":"https://api.github.com/repos/MA-Codejam/third-round-march-20/issues/comments{/number}","contents_url":"https://api.github.com/repos/MA-Codejam/third-round-march-20/contents/{+path}","compare_url":"https://api.github.com/repos/MA-Codejam/third-round-march-20/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MA-Codejam/third-round-march-20/merges","archive_url":"https://api.github.com/repos/MA-Codejam/third-round-march-20/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MA-Codejam/third-round-march-20/downloads","issues_url":"https://api.github.com/repos/MA-Codejam/third-round-march-20/issues{/number}","pulls_url":"https://api.github.com/repos/MA-Codejam/third-round-march-20/pulls{/number}","milestones_url":"https://api.github.com/repos/MA-Codejam/third-round-march-20/milestones{/number}","notifications_url":"https://api.github.com/repos/MA-Codejam/third-round-march-20/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MA-Codejam/third-round-march-20/labels{/name}","releases_url":"https://api.github.com/repos/MA-Codejam/third-round-march-20/releases{/id}","created_at":"2015-03-19T18:05:14Z","updated_at":"2015-03-19T18:05:14Z","pushed_at":"2015-03-20T14:55:25Z","git_url":"git://github.com/MA-Codejam/third-round-march-20.git","ssh_url":"git@github.com:MA-Codejam/third-round-march-20.git","clone_url":"https://github.com/MA-Codejam/third-round-march-20.git","svn_url":"https://github.com/MA-Codejam/third-round-march-20","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":7,"forks":10,"open_issues":7,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MA-Codejam/third-round-march-20/pulls/1"},"html":{"href":"https://github.com/MA-Codejam/third-round-march-20/pull/1"},"issue":{"href":"https://api.github.com/repos/MA-Codejam/third-round-march-20/issues/1"},"comments":{"href":"https://api.github.com/repos/MA-Codejam/third-round-march-20/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/MA-Codejam/third-round-march-20/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/MA-Codejam/third-round-march-20/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MA-Codejam/third-round-march-20/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/MA-Codejam/third-round-march-20/statuses/e456cefe26aed728cdfef4438fb853f7b5857f77"}}}}