{"action":"created","comment":{"url":"https://api.github.com/repos/paircolumbus/LetsDrill/pulls/comments/30857453","id":30857453,"diff_hunk":"@@ -1,24 +1,30 @@\n def get_letter_grade(integer)\n- \n-  #Put your code here!\n-\n+  if (integer >= 90)\n+    return \"A\"\n+  elsif (integer >= 80)\n+    return \"B\"\n+  elsif (integer >= 70)\n+    return \"C\"\n+  elsif (integer >= 60)\n+    return \"D\"\n+  else\n+    return \"F\"\n+  end","path":"letsdrill.rb","position":null,"original_position":15,"commit_id":"1b3ee79026d6213f0253f84fad03e33c5d80581e","original_commit_id":"02749168d1f0c46aa19b4d0e24fb8dbed33c38a9","user":{"login":"nicolasmccurdy","id":927220,"avatar_url":"https://avatars.githubusercontent.com/u/927220?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolasmccurdy","html_url":"https://github.com/nicolasmccurdy","followers_url":"https://api.github.com/users/nicolasmccurdy/followers","following_url":"https://api.github.com/users/nicolasmccurdy/following{/other_user}","gists_url":"https://api.github.com/users/nicolasmccurdy/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolasmccurdy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolasmccurdy/subscriptions","organizations_url":"https://api.github.com/users/nicolasmccurdy/orgs","repos_url":"https://api.github.com/users/nicolasmccurdy/repos","events_url":"https://api.github.com/users/nicolasmccurdy/events{/privacy}","received_events_url":"https://api.github.com/users/nicolasmccurdy/received_events","type":"User","site_admin":false},"body":"You don't need `;`, you can use the `then` keyword instead for one line if/elsif/else conditions.","created_at":"2015-05-21T23:12:21Z","updated_at":"2015-05-21T23:12:21Z","html_url":"https://github.com/paircolumbus/LetsDrill/pull/25#discussion_r30857453","pull_request_url":"https://api.github.com/repos/paircolumbus/LetsDrill/pulls/25","_links":{"self":{"href":"https://api.github.com/repos/paircolumbus/LetsDrill/pulls/comments/30857453"},"html":{"href":"https://github.com/paircolumbus/LetsDrill/pull/25#discussion_r30857453"},"pull_request":{"href":"https://api.github.com/repos/paircolumbus/LetsDrill/pulls/25"}}},"pull_request":{"url":"https://api.github.com/repos/paircolumbus/LetsDrill/pulls/25","id":35935169,"html_url":"https://github.com/paircolumbus/LetsDrill/pull/25","diff_url":"https://github.com/paircolumbus/LetsDrill/pull/25.diff","patch_url":"https://github.com/paircolumbus/LetsDrill/pull/25.patch","issue_url":"https://api.github.com/repos/paircolumbus/LetsDrill/issues/25","number":25,"state":"open","locked":false,"title":"Solutions","user":{"login":"J3RN","id":2058614,"avatar_url":"https://avatars.githubusercontent.com/u/2058614?v=3","gravatar_id":"","url":"https://api.github.com/users/J3RN","html_url":"https://github.com/J3RN","followers_url":"https://api.github.com/users/J3RN/followers","following_url":"https://api.github.com/users/J3RN/following{/other_user}","gists_url":"https://api.github.com/users/J3RN/gists{/gist_id}","starred_url":"https://api.github.com/users/J3RN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/J3RN/subscriptions","organizations_url":"https://api.github.com/users/J3RN/orgs","repos_url":"https://api.github.com/users/J3RN/repos","events_url":"https://api.github.com/users/J3RN/events{/privacy}","received_events_url":"https://api.github.com/users/J3RN/received_events","type":"User","site_admin":false},"body":"And I'd love feedback!","created_at":"2015-05-21T13:49:15Z","updated_at":"2015-05-21T23:12:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a6b0a4d9470906b3cb620a8de78507a3d92e9c67","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/paircolumbus/LetsDrill/pulls/25/commits","review_comments_url":"https://api.github.com/repos/paircolumbus/LetsDrill/pulls/25/comments","review_comment_url":"https://api.github.com/repos/paircolumbus/LetsDrill/pulls/comments{/number}","comments_url":"https://api.github.com/repos/paircolumbus/LetsDrill/issues/25/comments","statuses_url":"https://api.github.com/repos/paircolumbus/LetsDrill/statuses/1b3ee79026d6213f0253f84fad03e33c5d80581e","head":{"label":"J3RN:j3rn-solutions","ref":"j3rn-solutions","sha":"1b3ee79026d6213f0253f84fad03e33c5d80581e","user":{"login":"J3RN","id":2058614,"avatar_url":"https://avatars.githubusercontent.com/u/2058614?v=3","gravatar_id":"","url":"https://api.github.com/users/J3RN","html_url":"https://github.com/J3RN","followers_url":"https://api.github.com/users/J3RN/followers","following_url":"https://api.github.com/users/J3RN/following{/other_user}","gists_url":"https://api.github.com/users/J3RN/gists{/gist_id}","starred_url":"https://api.github.com/users/J3RN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/J3RN/subscriptions","organizations_url":"https://api.github.com/users/J3RN/orgs","repos_url":"https://api.github.com/users/J3RN/repos","events_url":"https://api.github.com/users/J3RN/events{/privacy}","received_events_url":"https://api.github.com/users/J3RN/received_events","type":"User","site_admin":false},"repo":{"id":36015352,"name":"LetsDrill","full_name":"J3RN/LetsDrill","owner":{"login":"J3RN","id":2058614,"avatar_url":"https://avatars.githubusercontent.com/u/2058614?v=3","gravatar_id":"","url":"https://api.github.com/users/J3RN","html_url":"https://github.com/J3RN","followers_url":"https://api.github.com/users/J3RN/followers","following_url":"https://api.github.com/users/J3RN/following{/other_user}","gists_url":"https://api.github.com/users/J3RN/gists{/gist_id}","starred_url":"https://api.github.com/users/J3RN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/J3RN/subscriptions","organizations_url":"https://api.github.com/users/J3RN/orgs","repos_url":"https://api.github.com/users/J3RN/repos","events_url":"https://api.github.com/users/J3RN/events{/privacy}","received_events_url":"https://api.github.com/users/J3RN/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/J3RN/LetsDrill","description":"Fun, little drills to review our knowledge of Ruby","fork":true,"url":"https://api.github.com/repos/J3RN/LetsDrill","forks_url":"https://api.github.com/repos/J3RN/LetsDrill/forks","keys_url":"https://api.github.com/repos/J3RN/LetsDrill/keys{/key_id}","collaborators_url":"https://api.github.com/repos/J3RN/LetsDrill/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/J3RN/LetsDrill/teams","hooks_url":"https://api.github.com/repos/J3RN/LetsDrill/hooks","issue_events_url":"https://api.github.com/repos/J3RN/LetsDrill/issues/events{/number}","events_url":"https://api.github.com/repos/J3RN/LetsDrill/events","assignees_url":"https://api.github.com/repos/J3RN/LetsDrill/assignees{/user}","branches_url":"https://api.github.com/repos/J3RN/LetsDrill/branches{/branch}","tags_url":"https://api.github.com/repos/J3RN/LetsDrill/tags","blobs_url":"https://api.github.com/repos/J3RN/LetsDrill/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/J3RN/LetsDrill/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/J3RN/LetsDrill/git/refs{/sha}","trees_url":"https://api.github.com/repos/J3RN/LetsDrill/git/trees{/sha}","statuses_url":"https://api.github.com/repos/J3RN/LetsDrill/statuses/{sha}","languages_url":"https://api.github.com/repos/J3RN/LetsDrill/languages","stargazers_url":"https://api.github.com/repos/J3RN/LetsDrill/stargazers","contributors_url":"https://api.github.com/repos/J3RN/LetsDrill/contributors","subscribers_url":"https://api.github.com/repos/J3RN/LetsDrill/subscribers","subscription_url":"https://api.github.com/repos/J3RN/LetsDrill/subscription","commits_url":"https://api.github.com/repos/J3RN/LetsDrill/commits{/sha}","git_commits_url":"https://api.github.com/repos/J3RN/LetsDrill/git/commits{/sha}","comments_url":"https://api.github.com/repos/J3RN/LetsDrill/comments{/number}","issue_comment_url":"https://api.github.com/repos/J3RN/LetsDrill/issues/comments{/number}","contents_url":"https://api.github.com/repos/J3RN/LetsDrill/contents/{+path}","compare_url":"https://api.github.com/repos/J3RN/LetsDrill/compare/{base}...{head}","merges_url":"https://api.github.com/repos/J3RN/LetsDrill/merges","archive_url":"https://api.github.com/repos/J3RN/LetsDrill/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/J3RN/LetsDrill/downloads","issues_url":"https://api.github.com/repos/J3RN/LetsDrill/issues{/number}","pulls_url":"https://api.github.com/repos/J3RN/LetsDrill/pulls{/number}","milestones_url":"https://api.github.com/repos/J3RN/LetsDrill/milestones{/number}","notifications_url":"https://api.github.com/repos/J3RN/LetsDrill/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/J3RN/LetsDrill/labels{/name}","releases_url":"https://api.github.com/repos/J3RN/LetsDrill/releases{/id}","created_at":"2015-05-21T13:48:50Z","updated_at":"2015-05-21T13:48:51Z","pushed_at":"2015-05-21T16:44:55Z","git_url":"git://github.com/J3RN/LetsDrill.git","ssh_url":"git@github.com:J3RN/LetsDrill.git","clone_url":"https://github.com/J3RN/LetsDrill.git","svn_url":"https://github.com/J3RN/LetsDrill","homepage":null,"size":427,"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":"paircolumbus:master","ref":"master","sha":"de788577909ede3ddbe33ecc81e65eb0309fdbc0","user":{"login":"paircolumbus","id":8568348,"avatar_url":"https://avatars.githubusercontent.com/u/8568348?v=3","gravatar_id":"","url":"https://api.github.com/users/paircolumbus","html_url":"https://github.com/paircolumbus","followers_url":"https://api.github.com/users/paircolumbus/followers","following_url":"https://api.github.com/users/paircolumbus/following{/other_user}","gists_url":"https://api.github.com/users/paircolumbus/gists{/gist_id}","starred_url":"https://api.github.com/users/paircolumbus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paircolumbus/subscriptions","organizations_url":"https://api.github.com/users/paircolumbus/orgs","repos_url":"https://api.github.com/users/paircolumbus/repos","events_url":"https://api.github.com/users/paircolumbus/events{/privacy}","received_events_url":"https://api.github.com/users/paircolumbus/received_events","type":"Organization","site_admin":false},"repo":{"id":23600210,"name":"LetsDrill","full_name":"paircolumbus/LetsDrill","owner":{"login":"paircolumbus","id":8568348,"avatar_url":"https://avatars.githubusercontent.com/u/8568348?v=3","gravatar_id":"","url":"https://api.github.com/users/paircolumbus","html_url":"https://github.com/paircolumbus","followers_url":"https://api.github.com/users/paircolumbus/followers","following_url":"https://api.github.com/users/paircolumbus/following{/other_user}","gists_url":"https://api.github.com/users/paircolumbus/gists{/gist_id}","starred_url":"https://api.github.com/users/paircolumbus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paircolumbus/subscriptions","organizations_url":"https://api.github.com/users/paircolumbus/orgs","repos_url":"https://api.github.com/users/paircolumbus/repos","events_url":"https://api.github.com/users/paircolumbus/events{/privacy}","received_events_url":"https://api.github.com/users/paircolumbus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/paircolumbus/LetsDrill","description":"Fun, little drills to review our knowledge of Ruby","fork":false,"url":"https://api.github.com/repos/paircolumbus/LetsDrill","forks_url":"https://api.github.com/repos/paircolumbus/LetsDrill/forks","keys_url":"https://api.github.com/repos/paircolumbus/LetsDrill/keys{/key_id}","collaborators_url":"https://api.github.com/repos/paircolumbus/LetsDrill/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/paircolumbus/LetsDrill/teams","hooks_url":"https://api.github.com/repos/paircolumbus/LetsDrill/hooks","issue_events_url":"https://api.github.com/repos/paircolumbus/LetsDrill/issues/events{/number}","events_url":"https://api.github.com/repos/paircolumbus/LetsDrill/events","assignees_url":"https://api.github.com/repos/paircolumbus/LetsDrill/assignees{/user}","branches_url":"https://api.github.com/repos/paircolumbus/LetsDrill/branches{/branch}","tags_url":"https://api.github.com/repos/paircolumbus/LetsDrill/tags","blobs_url":"https://api.github.com/repos/paircolumbus/LetsDrill/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/paircolumbus/LetsDrill/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/paircolumbus/LetsDrill/git/refs{/sha}","trees_url":"https://api.github.com/repos/paircolumbus/LetsDrill/git/trees{/sha}","statuses_url":"https://api.github.com/repos/paircolumbus/LetsDrill/statuses/{sha}","languages_url":"https://api.github.com/repos/paircolumbus/LetsDrill/languages","stargazers_url":"https://api.github.com/repos/paircolumbus/LetsDrill/stargazers","contributors_url":"https://api.github.com/repos/paircolumbus/LetsDrill/contributors","subscribers_url":"https://api.github.com/repos/paircolumbus/LetsDrill/subscribers","subscription_url":"https://api.github.com/repos/paircolumbus/LetsDrill/subscription","commits_url":"https://api.github.com/repos/paircolumbus/LetsDrill/commits{/sha}","git_commits_url":"https://api.github.com/repos/paircolumbus/LetsDrill/git/commits{/sha}","comments_url":"https://api.github.com/repos/paircolumbus/LetsDrill/comments{/number}","issue_comment_url":"https://api.github.com/repos/paircolumbus/LetsDrill/issues/comments{/number}","contents_url":"https://api.github.com/repos/paircolumbus/LetsDrill/contents/{+path}","compare_url":"https://api.github.com/repos/paircolumbus/LetsDrill/compare/{base}...{head}","merges_url":"https://api.github.com/repos/paircolumbus/LetsDrill/merges","archive_url":"https://api.github.com/repos/paircolumbus/LetsDrill/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/paircolumbus/LetsDrill/downloads","issues_url":"https://api.github.com/repos/paircolumbus/LetsDrill/issues{/number}","pulls_url":"https://api.github.com/repos/paircolumbus/LetsDrill/pulls{/number}","milestones_url":"https://api.github.com/repos/paircolumbus/LetsDrill/milestones{/number}","notifications_url":"https://api.github.com/repos/paircolumbus/LetsDrill/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/paircolumbus/LetsDrill/labels{/name}","releases_url":"https://api.github.com/repos/paircolumbus/LetsDrill/releases{/id}","created_at":"2014-09-03T00:12:31Z","updated_at":"2015-04-11T18:15:52Z","pushed_at":"2015-05-21T16:44:55Z","git_url":"git://github.com/paircolumbus/LetsDrill.git","ssh_url":"git@github.com:paircolumbus/LetsDrill.git","clone_url":"https://github.com/paircolumbus/LetsDrill.git","svn_url":"https://github.com/paircolumbus/LetsDrill","homepage":null,"size":427,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":19,"forks":21,"open_issues":19,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/paircolumbus/LetsDrill/pulls/25"},"html":{"href":"https://github.com/paircolumbus/LetsDrill/pull/25"},"issue":{"href":"https://api.github.com/repos/paircolumbus/LetsDrill/issues/25"},"comments":{"href":"https://api.github.com/repos/paircolumbus/LetsDrill/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/paircolumbus/LetsDrill/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/paircolumbus/LetsDrill/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/paircolumbus/LetsDrill/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/paircolumbus/LetsDrill/statuses/1b3ee79026d6213f0253f84fad03e33c5d80581e"}}}}