{"action":"created","comment":{"url":"https://api.github.com/repos/paircolumbus/LetsDrill/pulls/comments/31721545","id":31721545,"diff_hunk":"@@ -1,13 +1,25 @@\n def get_letter_grade(integer)\n- \n-  #Put your code here!\n-\n+ \tif integer >= 90\n+  \t\t\"A\"\n+ \telsif integer >= 80\n+ \t\t\"B\"\n+ \telsif integer >= 70\n+ \t\t\"C\"\n+ \telsif integer >= 60\n+ \t\t\"D\"\n+ \telse\n+ \t\t\"F\"\n+ \tend\n end\n \n def shortest_string(array)\n-\n-  #Put your code here!\n-\n+  shortest = nil","path":"letsdrill.rb","position":22,"original_position":22,"commit_id":"65b37b00d7afe069b00c26603aa491e1e1603dc1","original_commit_id":"65b37b00d7afe069b00c26603aa491e1e1603dc1","user":{"login":"jaybobo","id":5685984,"avatar_url":"https://avatars.githubusercontent.com/u/5685984?v=3","gravatar_id":"","url":"https://api.github.com/users/jaybobo","html_url":"https://github.com/jaybobo","followers_url":"https://api.github.com/users/jaybobo/followers","following_url":"https://api.github.com/users/jaybobo/following{/other_user}","gists_url":"https://api.github.com/users/jaybobo/gists{/gist_id}","starred_url":"https://api.github.com/users/jaybobo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaybobo/subscriptions","organizations_url":"https://api.github.com/users/jaybobo/orgs","repos_url":"https://api.github.com/users/jaybobo/repos","events_url":"https://api.github.com/users/jaybobo/events{/privacy}","received_events_url":"https://api.github.com/users/jaybobo/received_events","type":"User","site_admin":false},"body":"This method works but you should consider looking into ruby's Enumerable methods. `.min_by` & `sort_by` are good options here.","created_at":"2015-06-04T13:53:31Z","updated_at":"2015-06-04T13:53:31Z","html_url":"https://github.com/paircolumbus/LetsDrill/pull/32#discussion_r31721545","pull_request_url":"https://api.github.com/repos/paircolumbus/LetsDrill/pulls/32","_links":{"self":{"href":"https://api.github.com/repos/paircolumbus/LetsDrill/pulls/comments/31721545"},"html":{"href":"https://github.com/paircolumbus/LetsDrill/pull/32#discussion_r31721545"},"pull_request":{"href":"https://api.github.com/repos/paircolumbus/LetsDrill/pulls/32"}}},"pull_request":{"url":"https://api.github.com/repos/paircolumbus/LetsDrill/pulls/32","id":36879222,"html_url":"https://github.com/paircolumbus/LetsDrill/pull/32","diff_url":"https://github.com/paircolumbus/LetsDrill/pull/32.diff","patch_url":"https://github.com/paircolumbus/LetsDrill/pull/32.patch","issue_url":"https://api.github.com/repos/paircolumbus/LetsDrill/issues/32","number":32,"state":"open","locked":false,"title":"Completed letsdrill","user":{"login":"paradime","id":3420904,"avatar_url":"https://avatars.githubusercontent.com/u/3420904?v=3","gravatar_id":"","url":"https://api.github.com/users/paradime","html_url":"https://github.com/paradime","followers_url":"https://api.github.com/users/paradime/followers","following_url":"https://api.github.com/users/paradime/following{/other_user}","gists_url":"https://api.github.com/users/paradime/gists{/gist_id}","starred_url":"https://api.github.com/users/paradime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paradime/subscriptions","organizations_url":"https://api.github.com/users/paradime/orgs","repos_url":"https://api.github.com/users/paradime/repos","events_url":"https://api.github.com/users/paradime/events{/privacy}","received_events_url":"https://api.github.com/users/paradime/received_events","type":"User","site_admin":false},"body":"We did it!","created_at":"2015-06-03T21:18:58Z","updated_at":"2015-06-04T13:53:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"431c78e678ab5305398bd496f057033c8713eb99","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/paircolumbus/LetsDrill/pulls/32/commits","review_comments_url":"https://api.github.com/repos/paircolumbus/LetsDrill/pulls/32/comments","review_comment_url":"https://api.github.com/repos/paircolumbus/LetsDrill/pulls/comments{/number}","comments_url":"https://api.github.com/repos/paircolumbus/LetsDrill/issues/32/comments","statuses_url":"https://api.github.com/repos/paircolumbus/LetsDrill/statuses/65b37b00d7afe069b00c26603aa491e1e1603dc1","head":{"label":"paircolumbus:BryonWilkins","ref":"BryonWilkins","sha":"65b37b00d7afe069b00c26603aa491e1e1603dc1","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-06-03T21:18:58Z","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":511,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":25,"forks":23,"open_issues":25,"watchers":1,"default_branch":"master"}},"base":{"label":"paircolumbus:master","ref":"master","sha":"99722132d8f3d5d65163bb62fb47645d2fdd3463","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-06-03T21:18:58Z","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":511,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":25,"forks":23,"open_issues":25,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/paircolumbus/LetsDrill/pulls/32"},"html":{"href":"https://github.com/paircolumbus/LetsDrill/pull/32"},"issue":{"href":"https://api.github.com/repos/paircolumbus/LetsDrill/issues/32"},"comments":{"href":"https://api.github.com/repos/paircolumbus/LetsDrill/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/paircolumbus/LetsDrill/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/paircolumbus/LetsDrill/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/paircolumbus/LetsDrill/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/paircolumbus/LetsDrill/statuses/65b37b00d7afe069b00c26603aa491e1e1603dc1"}}}}