{"action":"created","comment":{"url":"https://api.github.com/repos/CS233R/materials/pulls/comments/30138197","id":30138197,"diff_hunk":"@@ -1,62 +1,87 @@\n-1. Circle all 5 of the problems with the code below.\n-\n-\t```ruby\n-\tclass Monkey < Monkey\n-\t  def init(my_vars)\n-\t    my_vars = my_vars\n-\t  end\n-\n-\t  private\n-\t  def eat_banana\n-\t    \"Om Om Om, oooh aaaah aaaah\"\n+#Mid-Term : Ruby\n+##Gary McGinnis\n+\n+1: Circle all 5 of the problems with the code below.","path":"quizzes/midterm.md","position":15,"original_position":15,"commit_id":"5daaaf947683455e4e59fb04f5a3b5f93452f377","original_commit_id":"5daaaf947683455e4e59fb04f5a3b5f93452f377","user":{"login":"seanculver","id":503033,"avatar_url":"https://avatars.githubusercontent.com/u/503033?v=3","gravatar_id":"","url":"https://api.github.com/users/seanculver","html_url":"https://github.com/seanculver","followers_url":"https://api.github.com/users/seanculver/followers","following_url":"https://api.github.com/users/seanculver/following{/other_user}","gists_url":"https://api.github.com/users/seanculver/gists{/gist_id}","starred_url":"https://api.github.com/users/seanculver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanculver/subscriptions","organizations_url":"https://api.github.com/users/seanculver/orgs","repos_url":"https://api.github.com/users/seanculver/repos","events_url":"https://api.github.com/users/seanculver/events{/privacy}","received_events_url":"https://api.github.com/users/seanculver/received_events","type":"User","site_admin":false},"body":"6/10 points. You answered 3 correctly.\r\n\r\nAnswers\r\n1. Cannot inherit from yourself\r\n2. `def init` should be `def initialize`\r\n3. Should not set local variable to self\r\n4. Cannot access private method\r\n5. No arguments when instantiating new object","created_at":"2015-05-12T14:22:04Z","updated_at":"2015-05-12T14:22:04Z","html_url":"https://github.com/CS233R/materials/pull/10#discussion_r30138197","pull_request_url":"https://api.github.com/repos/CS233R/materials/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/CS233R/materials/pulls/comments/30138197"},"html":{"href":"https://github.com/CS233R/materials/pull/10#discussion_r30138197"},"pull_request":{"href":"https://api.github.com/repos/CS233R/materials/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/CS233R/materials/pulls/10","id":34975681,"html_url":"https://github.com/CS233R/materials/pull/10","diff_url":"https://github.com/CS233R/materials/pull/10.diff","patch_url":"https://github.com/CS233R/materials/pull/10.patch","issue_url":"https://api.github.com/repos/CS233R/materials/issues/10","number":10,"state":"open","locked":false,"title":"MidTerm_Gary","user":{"login":"seanculver","id":503033,"avatar_url":"https://avatars.githubusercontent.com/u/503033?v=3","gravatar_id":"","url":"https://api.github.com/users/seanculver","html_url":"https://github.com/seanculver","followers_url":"https://api.github.com/users/seanculver/followers","following_url":"https://api.github.com/users/seanculver/following{/other_user}","gists_url":"https://api.github.com/users/seanculver/gists{/gist_id}","starred_url":"https://api.github.com/users/seanculver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanculver/subscriptions","organizations_url":"https://api.github.com/users/seanculver/orgs","repos_url":"https://api.github.com/users/seanculver/repos","events_url":"https://api.github.com/users/seanculver/events{/privacy}","received_events_url":"https://api.github.com/users/seanculver/received_events","type":"User","site_admin":false},"body":"Midterm Gary","created_at":"2015-05-08T02:20:38Z","updated_at":"2015-05-12T14:22:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"83e7d6fb77ccd3c086d1105ab4ad583de35bc795","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CS233R/materials/pulls/10/commits","review_comments_url":"https://api.github.com/repos/CS233R/materials/pulls/10/comments","review_comment_url":"https://api.github.com/repos/CS233R/materials/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CS233R/materials/issues/10/comments","statuses_url":"https://api.github.com/repos/CS233R/materials/statuses/5daaaf947683455e4e59fb04f5a3b5f93452f377","head":{"label":"CS233R:midterm_gary_mcginnis","ref":"midterm_gary_mcginnis","sha":"5daaaf947683455e4e59fb04f5a3b5f93452f377","user":{"login":"CS233R","id":11779678,"avatar_url":"https://avatars.githubusercontent.com/u/11779678?v=3","gravatar_id":"","url":"https://api.github.com/users/CS233R","html_url":"https://github.com/CS233R","followers_url":"https://api.github.com/users/CS233R/followers","following_url":"https://api.github.com/users/CS233R/following{/other_user}","gists_url":"https://api.github.com/users/CS233R/gists{/gist_id}","starred_url":"https://api.github.com/users/CS233R/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CS233R/subscriptions","organizations_url":"https://api.github.com/users/CS233R/orgs","repos_url":"https://api.github.com/users/CS233R/repos","events_url":"https://api.github.com/users/CS233R/events{/privacy}","received_events_url":"https://api.github.com/users/CS233R/received_events","type":"Organization","site_admin":false},"repo":{"id":33578221,"name":"materials","full_name":"CS233R/materials","owner":{"login":"CS233R","id":11779678,"avatar_url":"https://avatars.githubusercontent.com/u/11779678?v=3","gravatar_id":"","url":"https://api.github.com/users/CS233R","html_url":"https://github.com/CS233R","followers_url":"https://api.github.com/users/CS233R/followers","following_url":"https://api.github.com/users/CS233R/following{/other_user}","gists_url":"https://api.github.com/users/CS233R/gists{/gist_id}","starred_url":"https://api.github.com/users/CS233R/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CS233R/subscriptions","organizations_url":"https://api.github.com/users/CS233R/orgs","repos_url":"https://api.github.com/users/CS233R/repos","events_url":"https://api.github.com/users/CS233R/events{/privacy}","received_events_url":"https://api.github.com/users/CS233R/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CS233R/materials","description":"","fork":false,"url":"https://api.github.com/repos/CS233R/materials","forks_url":"https://api.github.com/repos/CS233R/materials/forks","keys_url":"https://api.github.com/repos/CS233R/materials/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CS233R/materials/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CS233R/materials/teams","hooks_url":"https://api.github.com/repos/CS233R/materials/hooks","issue_events_url":"https://api.github.com/repos/CS233R/materials/issues/events{/number}","events_url":"https://api.github.com/repos/CS233R/materials/events","assignees_url":"https://api.github.com/repos/CS233R/materials/assignees{/user}","branches_url":"https://api.github.com/repos/CS233R/materials/branches{/branch}","tags_url":"https://api.github.com/repos/CS233R/materials/tags","blobs_url":"https://api.github.com/repos/CS233R/materials/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CS233R/materials/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CS233R/materials/git/refs{/sha}","trees_url":"https://api.github.com/repos/CS233R/materials/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CS233R/materials/statuses/{sha}","languages_url":"https://api.github.com/repos/CS233R/materials/languages","stargazers_url":"https://api.github.com/repos/CS233R/materials/stargazers","contributors_url":"https://api.github.com/repos/CS233R/materials/contributors","subscribers_url":"https://api.github.com/repos/CS233R/materials/subscribers","subscription_url":"https://api.github.com/repos/CS233R/materials/subscription","commits_url":"https://api.github.com/repos/CS233R/materials/commits{/sha}","git_commits_url":"https://api.github.com/repos/CS233R/materials/git/commits{/sha}","comments_url":"https://api.github.com/repos/CS233R/materials/comments{/number}","issue_comment_url":"https://api.github.com/repos/CS233R/materials/issues/comments{/number}","contents_url":"https://api.github.com/repos/CS233R/materials/contents/{+path}","compare_url":"https://api.github.com/repos/CS233R/materials/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CS233R/materials/merges","archive_url":"https://api.github.com/repos/CS233R/materials/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CS233R/materials/downloads","issues_url":"https://api.github.com/repos/CS233R/materials/issues{/number}","pulls_url":"https://api.github.com/repos/CS233R/materials/pulls{/number}","milestones_url":"https://api.github.com/repos/CS233R/materials/milestones{/number}","notifications_url":"https://api.github.com/repos/CS233R/materials/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CS233R/materials/labels{/name}","releases_url":"https://api.github.com/repos/CS233R/materials/releases{/id}","created_at":"2015-04-08T01:42:47Z","updated_at":"2015-04-08T01:42:47Z","pushed_at":"2015-05-08T16:56:20Z","git_url":"git://github.com/CS233R/materials.git","ssh_url":"git@github.com:CS233R/materials.git","clone_url":"https://github.com/CS233R/materials.git","svn_url":"https://github.com/CS233R/materials","homepage":null,"size":377,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":10,"forks":2,"open_issues":10,"watchers":0,"default_branch":"master"}},"base":{"label":"CS233R:master","ref":"master","sha":"4831de5b0b10b0de5cd9baf7a6b18aa1a5c012a6","user":{"login":"CS233R","id":11779678,"avatar_url":"https://avatars.githubusercontent.com/u/11779678?v=3","gravatar_id":"","url":"https://api.github.com/users/CS233R","html_url":"https://github.com/CS233R","followers_url":"https://api.github.com/users/CS233R/followers","following_url":"https://api.github.com/users/CS233R/following{/other_user}","gists_url":"https://api.github.com/users/CS233R/gists{/gist_id}","starred_url":"https://api.github.com/users/CS233R/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CS233R/subscriptions","organizations_url":"https://api.github.com/users/CS233R/orgs","repos_url":"https://api.github.com/users/CS233R/repos","events_url":"https://api.github.com/users/CS233R/events{/privacy}","received_events_url":"https://api.github.com/users/CS233R/received_events","type":"Organization","site_admin":false},"repo":{"id":33578221,"name":"materials","full_name":"CS233R/materials","owner":{"login":"CS233R","id":11779678,"avatar_url":"https://avatars.githubusercontent.com/u/11779678?v=3","gravatar_id":"","url":"https://api.github.com/users/CS233R","html_url":"https://github.com/CS233R","followers_url":"https://api.github.com/users/CS233R/followers","following_url":"https://api.github.com/users/CS233R/following{/other_user}","gists_url":"https://api.github.com/users/CS233R/gists{/gist_id}","starred_url":"https://api.github.com/users/CS233R/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CS233R/subscriptions","organizations_url":"https://api.github.com/users/CS233R/orgs","repos_url":"https://api.github.com/users/CS233R/repos","events_url":"https://api.github.com/users/CS233R/events{/privacy}","received_events_url":"https://api.github.com/users/CS233R/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CS233R/materials","description":"","fork":false,"url":"https://api.github.com/repos/CS233R/materials","forks_url":"https://api.github.com/repos/CS233R/materials/forks","keys_url":"https://api.github.com/repos/CS233R/materials/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CS233R/materials/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CS233R/materials/teams","hooks_url":"https://api.github.com/repos/CS233R/materials/hooks","issue_events_url":"https://api.github.com/repos/CS233R/materials/issues/events{/number}","events_url":"https://api.github.com/repos/CS233R/materials/events","assignees_url":"https://api.github.com/repos/CS233R/materials/assignees{/user}","branches_url":"https://api.github.com/repos/CS233R/materials/branches{/branch}","tags_url":"https://api.github.com/repos/CS233R/materials/tags","blobs_url":"https://api.github.com/repos/CS233R/materials/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CS233R/materials/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CS233R/materials/git/refs{/sha}","trees_url":"https://api.github.com/repos/CS233R/materials/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CS233R/materials/statuses/{sha}","languages_url":"https://api.github.com/repos/CS233R/materials/languages","stargazers_url":"https://api.github.com/repos/CS233R/materials/stargazers","contributors_url":"https://api.github.com/repos/CS233R/materials/contributors","subscribers_url":"https://api.github.com/repos/CS233R/materials/subscribers","subscription_url":"https://api.github.com/repos/CS233R/materials/subscription","commits_url":"https://api.github.com/repos/CS233R/materials/commits{/sha}","git_commits_url":"https://api.github.com/repos/CS233R/materials/git/commits{/sha}","comments_url":"https://api.github.com/repos/CS233R/materials/comments{/number}","issue_comment_url":"https://api.github.com/repos/CS233R/materials/issues/comments{/number}","contents_url":"https://api.github.com/repos/CS233R/materials/contents/{+path}","compare_url":"https://api.github.com/repos/CS233R/materials/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CS233R/materials/merges","archive_url":"https://api.github.com/repos/CS233R/materials/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CS233R/materials/downloads","issues_url":"https://api.github.com/repos/CS233R/materials/issues{/number}","pulls_url":"https://api.github.com/repos/CS233R/materials/pulls{/number}","milestones_url":"https://api.github.com/repos/CS233R/materials/milestones{/number}","notifications_url":"https://api.github.com/repos/CS233R/materials/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CS233R/materials/labels{/name}","releases_url":"https://api.github.com/repos/CS233R/materials/releases{/id}","created_at":"2015-04-08T01:42:47Z","updated_at":"2015-04-08T01:42:47Z","pushed_at":"2015-05-08T16:56:20Z","git_url":"git://github.com/CS233R/materials.git","ssh_url":"git@github.com:CS233R/materials.git","clone_url":"https://github.com/CS233R/materials.git","svn_url":"https://github.com/CS233R/materials","homepage":null,"size":377,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":10,"forks":2,"open_issues":10,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CS233R/materials/pulls/10"},"html":{"href":"https://github.com/CS233R/materials/pull/10"},"issue":{"href":"https://api.github.com/repos/CS233R/materials/issues/10"},"comments":{"href":"https://api.github.com/repos/CS233R/materials/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/CS233R/materials/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/CS233R/materials/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CS233R/materials/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/CS233R/materials/statuses/5daaaf947683455e4e59fb04f5a3b5f93452f377"}}}}