{"action":"created","comment":{"url":"https://api.github.com/repos/WDI-SEA/ruby-challenges/pulls/comments/76840291","id":76840291,"diff_hunk":"@@ -0,0 +1,33 @@\n+def calc\n+  puts 'What calculation would you like to do? (add, sub, mult, div)'\n+  asmd = gets.chomp\n+  puts asmd\n+  if asmd == 'add'\n+    nums = inputs\n+    result = nums[0] + nums[1]\n+    puts \"Your result is #{result}\"\n+  elsif asmd == 'sub'\n+    nums = inputs\n+    result = nums[0] - nums[1]\n+    puts \"Your result is #{result}\"\n+  elsif asmd == 'mult'\n+    nums = inputs\n+    result = nums[0] * nums[1]\n+    puts \"Your result is #{result}\"\n+  elsif asmd == 'div'\n+    nums = inputs\n+    result = nums[0] / nums[1]\n+    puts \"Your result is #{result}\"\n+  else\n+    puts 'Please choose one of the four options'\n+  end\n+end\n+\n+def inputs","path":"lib/Challenge1.rb","position":26,"original_position":26,"commit_id":"90da4e5b5e812ac4b4e46b9e3d92b646f1fe7a6e","original_commit_id":"90da4e5b5e812ac4b4e46b9e3d92b646f1fe7a6e","user":{"login":"srobertson421","id":2695134,"avatar_url":"https://avatars.githubusercontent.com/u/2695134?v=3","gravatar_id":"","url":"https://api.github.com/users/srobertson421","html_url":"https://github.com/srobertson421","followers_url":"https://api.github.com/users/srobertson421/followers","following_url":"https://api.github.com/users/srobertson421/following{/other_user}","gists_url":"https://api.github.com/users/srobertson421/gists{/gist_id}","starred_url":"https://api.github.com/users/srobertson421/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srobertson421/subscriptions","organizations_url":"https://api.github.com/users/srobertson421/orgs","repos_url":"https://api.github.com/users/srobertson421/repos","events_url":"https://api.github.com/users/srobertson421/events{/privacy}","received_events_url":"https://api.github.com/users/srobertson421/received_events","type":"User","site_admin":false},"body":"Nice use of a separate method for denoting the input numbers, very clean","created_at":"2016-08-30T17:25:13Z","updated_at":"2016-08-30T17:25:13Z","html_url":"https://github.com/WDI-SEA/ruby-challenges/pull/42#discussion_r76840291","pull_request_url":"https://api.github.com/repos/WDI-SEA/ruby-challenges/pulls/42","_links":{"self":{"href":"https://api.github.com/repos/WDI-SEA/ruby-challenges/pulls/comments/76840291"},"html":{"href":"https://github.com/WDI-SEA/ruby-challenges/pull/42#discussion_r76840291"},"pull_request":{"href":"https://api.github.com/repos/WDI-SEA/ruby-challenges/pulls/42"}}},"pull_request":{"url":"https://api.github.com/repos/WDI-SEA/ruby-challenges/pulls/42","id":83203506,"html_url":"https://github.com/WDI-SEA/ruby-challenges/pull/42","diff_url":"https://github.com/WDI-SEA/ruby-challenges/pull/42.diff","patch_url":"https://github.com/WDI-SEA/ruby-challenges/pull/42.patch","issue_url":"https://api.github.com/repos/WDI-SEA/ruby-challenges/issues/42","number":42,"state":"open","locked":false,"title":"2 of 4 complete","user":{"login":"miguelapou","id":20328334,"avatar_url":"https://avatars.githubusercontent.com/u/20328334?v=3","gravatar_id":"","url":"https://api.github.com/users/miguelapou","html_url":"https://github.com/miguelapou","followers_url":"https://api.github.com/users/miguelapou/followers","following_url":"https://api.github.com/users/miguelapou/following{/other_user}","gists_url":"https://api.github.com/users/miguelapou/gists{/gist_id}","starred_url":"https://api.github.com/users/miguelapou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miguelapou/subscriptions","organizations_url":"https://api.github.com/users/miguelapou/orgs","repos_url":"https://api.github.com/users/miguelapou/repos","events_url":"https://api.github.com/users/miguelapou/events{/privacy}","received_events_url":"https://api.github.com/users/miguelapou/received_events","type":"User","site_admin":false},"body":"**Deliverable Submission**\r\n\r\nPlease describe your comfort and completeness levels before submitting.\r\n\r\nComfort Level (1-5): 3.5\r\n\r\nCompleteness Level (1-5): 2.5\r\n\r\nWhat did you think of this deliverable?: I like ruby! still stuck on the last 2\r\n","created_at":"2016-08-30T03:35:41Z","updated_at":"2016-08-30T17:25:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"84c6dc4bc0520761da5c944aa9a64748c15c246a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/WDI-SEA/ruby-challenges/pulls/42/commits","review_comments_url":"https://api.github.com/repos/WDI-SEA/ruby-challenges/pulls/42/comments","review_comment_url":"https://api.github.com/repos/WDI-SEA/ruby-challenges/pulls/comments{/number}","comments_url":"https://api.github.com/repos/WDI-SEA/ruby-challenges/issues/42/comments","statuses_url":"https://api.github.com/repos/WDI-SEA/ruby-challenges/statuses/90da4e5b5e812ac4b4e46b9e3d92b646f1fe7a6e","head":{"label":"miguelapou:master","ref":"master","sha":"90da4e5b5e812ac4b4e46b9e3d92b646f1fe7a6e","user":{"login":"miguelapou","id":20328334,"avatar_url":"https://avatars.githubusercontent.com/u/20328334?v=3","gravatar_id":"","url":"https://api.github.com/users/miguelapou","html_url":"https://github.com/miguelapou","followers_url":"https://api.github.com/users/miguelapou/followers","following_url":"https://api.github.com/users/miguelapou/following{/other_user}","gists_url":"https://api.github.com/users/miguelapou/gists{/gist_id}","starred_url":"https://api.github.com/users/miguelapou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miguelapou/subscriptions","organizations_url":"https://api.github.com/users/miguelapou/orgs","repos_url":"https://api.github.com/users/miguelapou/repos","events_url":"https://api.github.com/users/miguelapou/events{/privacy}","received_events_url":"https://api.github.com/users/miguelapou/received_events","type":"User","site_admin":false},"repo":{"id":66903308,"name":"ruby-challenges","full_name":"miguelapou/ruby-challenges","owner":{"login":"miguelapou","id":20328334,"avatar_url":"https://avatars.githubusercontent.com/u/20328334?v=3","gravatar_id":"","url":"https://api.github.com/users/miguelapou","html_url":"https://github.com/miguelapou","followers_url":"https://api.github.com/users/miguelapou/followers","following_url":"https://api.github.com/users/miguelapou/following{/other_user}","gists_url":"https://api.github.com/users/miguelapou/gists{/gist_id}","starred_url":"https://api.github.com/users/miguelapou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miguelapou/subscriptions","organizations_url":"https://api.github.com/users/miguelapou/orgs","repos_url":"https://api.github.com/users/miguelapou/repos","events_url":"https://api.github.com/users/miguelapou/events{/privacy}","received_events_url":"https://api.github.com/users/miguelapou/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/miguelapou/ruby-challenges","description":"[ruby, problem-solving]","fork":true,"url":"https://api.github.com/repos/miguelapou/ruby-challenges","forks_url":"https://api.github.com/repos/miguelapou/ruby-challenges/forks","keys_url":"https://api.github.com/repos/miguelapou/ruby-challenges/keys{/key_id}","collaborators_url":"https://api.github.com/repos/miguelapou/ruby-challenges/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/miguelapou/ruby-challenges/teams","hooks_url":"https://api.github.com/repos/miguelapou/ruby-challenges/hooks","issue_events_url":"https://api.github.com/repos/miguelapou/ruby-challenges/issues/events{/number}","events_url":"https://api.github.com/repos/miguelapou/ruby-challenges/events","assignees_url":"https://api.github.com/repos/miguelapou/ruby-challenges/assignees{/user}","branches_url":"https://api.github.com/repos/miguelapou/ruby-challenges/branches{/branch}","tags_url":"https://api.github.com/repos/miguelapou/ruby-challenges/tags","blobs_url":"https://api.github.com/repos/miguelapou/ruby-challenges/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/miguelapou/ruby-challenges/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/miguelapou/ruby-challenges/git/refs{/sha}","trees_url":"https://api.github.com/repos/miguelapou/ruby-challenges/git/trees{/sha}","statuses_url":"https://api.github.com/repos/miguelapou/ruby-challenges/statuses/{sha}","languages_url":"https://api.github.com/repos/miguelapou/ruby-challenges/languages","stargazers_url":"https://api.github.com/repos/miguelapou/ruby-challenges/stargazers","contributors_url":"https://api.github.com/repos/miguelapou/ruby-challenges/contributors","subscribers_url":"https://api.github.com/repos/miguelapou/ruby-challenges/subscribers","subscription_url":"https://api.github.com/repos/miguelapou/ruby-challenges/subscription","commits_url":"https://api.github.com/repos/miguelapou/ruby-challenges/commits{/sha}","git_commits_url":"https://api.github.com/repos/miguelapou/ruby-challenges/git/commits{/sha}","comments_url":"https://api.github.com/repos/miguelapou/ruby-challenges/comments{/number}","issue_comment_url":"https://api.github.com/repos/miguelapou/ruby-challenges/issues/comments{/number}","contents_url":"https://api.github.com/repos/miguelapou/ruby-challenges/contents/{+path}","compare_url":"https://api.github.com/repos/miguelapou/ruby-challenges/compare/{base}...{head}","merges_url":"https://api.github.com/repos/miguelapou/ruby-challenges/merges","archive_url":"https://api.github.com/repos/miguelapou/ruby-challenges/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/miguelapou/ruby-challenges/downloads","issues_url":"https://api.github.com/repos/miguelapou/ruby-challenges/issues{/number}","pulls_url":"https://api.github.com/repos/miguelapou/ruby-challenges/pulls{/number}","milestones_url":"https://api.github.com/repos/miguelapou/ruby-challenges/milestones{/number}","notifications_url":"https://api.github.com/repos/miguelapou/ruby-challenges/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/miguelapou/ruby-challenges/labels{/name}","releases_url":"https://api.github.com/repos/miguelapou/ruby-challenges/releases{/id}","deployments_url":"https://api.github.com/repos/miguelapou/ruby-challenges/deployments","created_at":"2016-08-30T03:31:52Z","updated_at":"2016-08-30T03:31:53Z","pushed_at":"2016-08-30T03:35:09Z","git_url":"git://github.com/miguelapou/ruby-challenges.git","ssh_url":"git@github.com:miguelapou/ruby-challenges.git","clone_url":"https://github.com/miguelapou/ruby-challenges.git","svn_url":"https://github.com/miguelapou/ruby-challenges","homepage":"","size":40,"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":"WDI-SEA:master","ref":"master","sha":"f1ce57a8425056f2e3446474edbb9938a6903fe6","user":{"login":"WDI-SEA","id":16675968,"avatar_url":"https://avatars.githubusercontent.com/u/16675968?v=3","gravatar_id":"","url":"https://api.github.com/users/WDI-SEA","html_url":"https://github.com/WDI-SEA","followers_url":"https://api.github.com/users/WDI-SEA/followers","following_url":"https://api.github.com/users/WDI-SEA/following{/other_user}","gists_url":"https://api.github.com/users/WDI-SEA/gists{/gist_id}","starred_url":"https://api.github.com/users/WDI-SEA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WDI-SEA/subscriptions","organizations_url":"https://api.github.com/users/WDI-SEA/orgs","repos_url":"https://api.github.com/users/WDI-SEA/repos","events_url":"https://api.github.com/users/WDI-SEA/events{/privacy}","received_events_url":"https://api.github.com/users/WDI-SEA/received_events","type":"Organization","site_admin":false},"repo":{"id":52567461,"name":"ruby-challenges","full_name":"WDI-SEA/ruby-challenges","owner":{"login":"WDI-SEA","id":16675968,"avatar_url":"https://avatars.githubusercontent.com/u/16675968?v=3","gravatar_id":"","url":"https://api.github.com/users/WDI-SEA","html_url":"https://github.com/WDI-SEA","followers_url":"https://api.github.com/users/WDI-SEA/followers","following_url":"https://api.github.com/users/WDI-SEA/following{/other_user}","gists_url":"https://api.github.com/users/WDI-SEA/gists{/gist_id}","starred_url":"https://api.github.com/users/WDI-SEA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WDI-SEA/subscriptions","organizations_url":"https://api.github.com/users/WDI-SEA/orgs","repos_url":"https://api.github.com/users/WDI-SEA/repos","events_url":"https://api.github.com/users/WDI-SEA/events{/privacy}","received_events_url":"https://api.github.com/users/WDI-SEA/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/WDI-SEA/ruby-challenges","description":"[ruby, problem-solving]","fork":false,"url":"https://api.github.com/repos/WDI-SEA/ruby-challenges","forks_url":"https://api.github.com/repos/WDI-SEA/ruby-challenges/forks","keys_url":"https://api.github.com/repos/WDI-SEA/ruby-challenges/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WDI-SEA/ruby-challenges/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WDI-SEA/ruby-challenges/teams","hooks_url":"https://api.github.com/repos/WDI-SEA/ruby-challenges/hooks","issue_events_url":"https://api.github.com/repos/WDI-SEA/ruby-challenges/issues/events{/number}","events_url":"https://api.github.com/repos/WDI-SEA/ruby-challenges/events","assignees_url":"https://api.github.com/repos/WDI-SEA/ruby-challenges/assignees{/user}","branches_url":"https://api.github.com/repos/WDI-SEA/ruby-challenges/branches{/branch}","tags_url":"https://api.github.com/repos/WDI-SEA/ruby-challenges/tags","blobs_url":"https://api.github.com/repos/WDI-SEA/ruby-challenges/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WDI-SEA/ruby-challenges/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WDI-SEA/ruby-challenges/git/refs{/sha}","trees_url":"https://api.github.com/repos/WDI-SEA/ruby-challenges/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WDI-SEA/ruby-challenges/statuses/{sha}","languages_url":"https://api.github.com/repos/WDI-SEA/ruby-challenges/languages","stargazers_url":"https://api.github.com/repos/WDI-SEA/ruby-challenges/stargazers","contributors_url":"https://api.github.com/repos/WDI-SEA/ruby-challenges/contributors","subscribers_url":"https://api.github.com/repos/WDI-SEA/ruby-challenges/subscribers","subscription_url":"https://api.github.com/repos/WDI-SEA/ruby-challenges/subscription","commits_url":"https://api.github.com/repos/WDI-SEA/ruby-challenges/commits{/sha}","git_commits_url":"https://api.github.com/repos/WDI-SEA/ruby-challenges/git/commits{/sha}","comments_url":"https://api.github.com/repos/WDI-SEA/ruby-challenges/comments{/number}","issue_comment_url":"https://api.github.com/repos/WDI-SEA/ruby-challenges/issues/comments{/number}","contents_url":"https://api.github.com/repos/WDI-SEA/ruby-challenges/contents/{+path}","compare_url":"https://api.github.com/repos/WDI-SEA/ruby-challenges/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WDI-SEA/ruby-challenges/merges","archive_url":"https://api.github.com/repos/WDI-SEA/ruby-challenges/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WDI-SEA/ruby-challenges/downloads","issues_url":"https://api.github.com/repos/WDI-SEA/ruby-challenges/issues{/number}","pulls_url":"https://api.github.com/repos/WDI-SEA/ruby-challenges/pulls{/number}","milestones_url":"https://api.github.com/repos/WDI-SEA/ruby-challenges/milestones{/number}","notifications_url":"https://api.github.com/repos/WDI-SEA/ruby-challenges/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WDI-SEA/ruby-challenges/labels{/name}","releases_url":"https://api.github.com/repos/WDI-SEA/ruby-challenges/releases{/id}","deployments_url":"https://api.github.com/repos/WDI-SEA/ruby-challenges/deployments","created_at":"2016-02-26T00:40:26Z","updated_at":"2016-06-28T23:43:43Z","pushed_at":"2016-08-30T16:09:08Z","git_url":"git://github.com/WDI-SEA/ruby-challenges.git","ssh_url":"git@github.com:WDI-SEA/ruby-challenges.git","clone_url":"https://github.com/WDI-SEA/ruby-challenges.git","svn_url":"https://github.com/WDI-SEA/ruby-challenges","homepage":"","size":148,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":52,"mirror_url":null,"open_issues_count":8,"forks":52,"open_issues":8,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/WDI-SEA/ruby-challenges/pulls/42"},"html":{"href":"https://github.com/WDI-SEA/ruby-challenges/pull/42"},"issue":{"href":"https://api.github.com/repos/WDI-SEA/ruby-challenges/issues/42"},"comments":{"href":"https://api.github.com/repos/WDI-SEA/ruby-challenges/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/WDI-SEA/ruby-challenges/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/WDI-SEA/ruby-challenges/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/WDI-SEA/ruby-challenges/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/WDI-SEA/ruby-challenges/statuses/90da4e5b5e812ac4b4e46b9e3d92b646f1fe7a6e"}}}}
{"actor":{"display_login":"srobertson421"}}