{"action":"created","comment":{"url":"https://api.github.com/repos/ButenkoT/WDI11_Homework/pulls/comments/42562042","id":42562042,"diff_hunk":"@@ -0,0 +1,48 @@\n+require \"pp\"\n+\n+subway = {\n+  n: [\"Times Square\", \"34th Street\", \"28th Street\", \"23rd Street\", \"Union Square\", \"8th Avenue\"],\n+\n+  l: [\"8th Avenue\", \"6th Avenue\", \"Union Square\", \"3rd Street\", \"1st Avenue\"],\n+\n+  l6: [\"Grand Central\", \"33rd Street\", \"28th Street\", \"23rd Street\", \"Union Square\", \"Astor Place\"],\n+}\n+\n+def get_to_station(on, off, myline, subway)","path":"donald_wade/week_04/tuesday/mta3.rb","position":11,"original_position":11,"commit_id":"c121b1b3a139518924451cb19c428cab162820e0","original_commit_id":"c121b1b3a139518924451cb19c428cab162820e0","user":{"login":"ButenkoT","id":8233040,"avatar_url":"https://avatars.githubusercontent.com/u/8233040?v=3","gravatar_id":"","url":"https://api.github.com/users/ButenkoT","html_url":"https://github.com/ButenkoT","followers_url":"https://api.github.com/users/ButenkoT/followers","following_url":"https://api.github.com/users/ButenkoT/following{/other_user}","gists_url":"https://api.github.com/users/ButenkoT/gists{/gist_id}","starred_url":"https://api.github.com/users/ButenkoT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ButenkoT/subscriptions","organizations_url":"https://api.github.com/users/ButenkoT/orgs","repos_url":"https://api.github.com/users/ButenkoT/repos","events_url":"https://api.github.com/users/ButenkoT/events{/privacy}","received_events_url":"https://api.github.com/users/ButenkoT/received_events","type":"User","site_admin":false},"body":"You don't need to pass subway in here, as in your program subway is a global variable and you can access it in any method you have here. ","created_at":"2015-10-20T22:14:42Z","updated_at":"2015-10-20T22:14:42Z","html_url":"https://github.com/ButenkoT/WDI11_Homework/pull/50#discussion_r42562042","pull_request_url":"https://api.github.com/repos/ButenkoT/WDI11_Homework/pulls/50","_links":{"self":{"href":"https://api.github.com/repos/ButenkoT/WDI11_Homework/pulls/comments/42562042"},"html":{"href":"https://github.com/ButenkoT/WDI11_Homework/pull/50#discussion_r42562042"},"pull_request":{"href":"https://api.github.com/repos/ButenkoT/WDI11_Homework/pulls/50"}}},"pull_request":{"url":"https://api.github.com/repos/ButenkoT/WDI11_Homework/pulls/50","id":48176071,"html_url":"https://github.com/ButenkoT/WDI11_Homework/pull/50","diff_url":"https://github.com/ButenkoT/WDI11_Homework/pull/50.diff","patch_url":"https://github.com/ButenkoT/WDI11_Homework/pull/50.patch","issue_url":"https://api.github.com/repos/ButenkoT/WDI11_Homework/issues/50","number":50,"state":"open","locked":false,"title":"Trying to issue pull request using hub program from CLI.","user":{"login":"rwck","id":13825900,"avatar_url":"https://avatars.githubusercontent.com/u/13825900?v=3","gravatar_id":"","url":"https://api.github.com/users/rwck","html_url":"https://github.com/rwck","followers_url":"https://api.github.com/users/rwck/followers","following_url":"https://api.github.com/users/rwck/following{/other_user}","gists_url":"https://api.github.com/users/rwck/gists{/gist_id}","starred_url":"https://api.github.com/users/rwck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwck/subscriptions","organizations_url":"https://api.github.com/users/rwck/orgs","repos_url":"https://api.github.com/users/rwck/repos","events_url":"https://api.github.com/users/rwck/events{/privacy}","received_events_url":"https://api.github.com/users/rwck/received_events","type":"User","site_admin":false},"body":"MTA homework, Tuesday, week 4","created_at":"2015-10-20T09:29:05Z","updated_at":"2015-10-20T22:14:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4d2cda11dffe03d5a0e3ea68077f2eaa1dda300d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ButenkoT/WDI11_Homework/pulls/50/commits","review_comments_url":"https://api.github.com/repos/ButenkoT/WDI11_Homework/pulls/50/comments","review_comment_url":"https://api.github.com/repos/ButenkoT/WDI11_Homework/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ButenkoT/WDI11_Homework/issues/50/comments","statuses_url":"https://api.github.com/repos/ButenkoT/WDI11_Homework/statuses/c121b1b3a139518924451cb19c428cab162820e0","head":{"label":"rwck:master","ref":"master","sha":"c121b1b3a139518924451cb19c428cab162820e0","user":{"login":"rwck","id":13825900,"avatar_url":"https://avatars.githubusercontent.com/u/13825900?v=3","gravatar_id":"","url":"https://api.github.com/users/rwck","html_url":"https://github.com/rwck","followers_url":"https://api.github.com/users/rwck/followers","following_url":"https://api.github.com/users/rwck/following{/other_user}","gists_url":"https://api.github.com/users/rwck/gists{/gist_id}","starred_url":"https://api.github.com/users/rwck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwck/subscriptions","organizations_url":"https://api.github.com/users/rwck/orgs","repos_url":"https://api.github.com/users/rwck/repos","events_url":"https://api.github.com/users/rwck/events{/privacy}","received_events_url":"https://api.github.com/users/rwck/received_events","type":"User","site_admin":false},"repo":{"id":43347419,"name":"WDI11_Homework","full_name":"rwck/WDI11_Homework","owner":{"login":"rwck","id":13825900,"avatar_url":"https://avatars.githubusercontent.com/u/13825900?v=3","gravatar_id":"","url":"https://api.github.com/users/rwck","html_url":"https://github.com/rwck","followers_url":"https://api.github.com/users/rwck/followers","following_url":"https://api.github.com/users/rwck/following{/other_user}","gists_url":"https://api.github.com/users/rwck/gists{/gist_id}","starred_url":"https://api.github.com/users/rwck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwck/subscriptions","organizations_url":"https://api.github.com/users/rwck/orgs","repos_url":"https://api.github.com/users/rwck/repos","events_url":"https://api.github.com/users/rwck/events{/privacy}","received_events_url":"https://api.github.com/users/rwck/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rwck/WDI11_Homework","description":"General Assembly Sydney WDI11 Homework","fork":true,"url":"https://api.github.com/repos/rwck/WDI11_Homework","forks_url":"https://api.github.com/repos/rwck/WDI11_Homework/forks","keys_url":"https://api.github.com/repos/rwck/WDI11_Homework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rwck/WDI11_Homework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rwck/WDI11_Homework/teams","hooks_url":"https://api.github.com/repos/rwck/WDI11_Homework/hooks","issue_events_url":"https://api.github.com/repos/rwck/WDI11_Homework/issues/events{/number}","events_url":"https://api.github.com/repos/rwck/WDI11_Homework/events","assignees_url":"https://api.github.com/repos/rwck/WDI11_Homework/assignees{/user}","branches_url":"https://api.github.com/repos/rwck/WDI11_Homework/branches{/branch}","tags_url":"https://api.github.com/repos/rwck/WDI11_Homework/tags","blobs_url":"https://api.github.com/repos/rwck/WDI11_Homework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rwck/WDI11_Homework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rwck/WDI11_Homework/git/refs{/sha}","trees_url":"https://api.github.com/repos/rwck/WDI11_Homework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rwck/WDI11_Homework/statuses/{sha}","languages_url":"https://api.github.com/repos/rwck/WDI11_Homework/languages","stargazers_url":"https://api.github.com/repos/rwck/WDI11_Homework/stargazers","contributors_url":"https://api.github.com/repos/rwck/WDI11_Homework/contributors","subscribers_url":"https://api.github.com/repos/rwck/WDI11_Homework/subscribers","subscription_url":"https://api.github.com/repos/rwck/WDI11_Homework/subscription","commits_url":"https://api.github.com/repos/rwck/WDI11_Homework/commits{/sha}","git_commits_url":"https://api.github.com/repos/rwck/WDI11_Homework/git/commits{/sha}","comments_url":"https://api.github.com/repos/rwck/WDI11_Homework/comments{/number}","issue_comment_url":"https://api.github.com/repos/rwck/WDI11_Homework/issues/comments{/number}","contents_url":"https://api.github.com/repos/rwck/WDI11_Homework/contents/{+path}","compare_url":"https://api.github.com/repos/rwck/WDI11_Homework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rwck/WDI11_Homework/merges","archive_url":"https://api.github.com/repos/rwck/WDI11_Homework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rwck/WDI11_Homework/downloads","issues_url":"https://api.github.com/repos/rwck/WDI11_Homework/issues{/number}","pulls_url":"https://api.github.com/repos/rwck/WDI11_Homework/pulls{/number}","milestones_url":"https://api.github.com/repos/rwck/WDI11_Homework/milestones{/number}","notifications_url":"https://api.github.com/repos/rwck/WDI11_Homework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rwck/WDI11_Homework/labels{/name}","releases_url":"https://api.github.com/repos/rwck/WDI11_Homework/releases{/id}","created_at":"2015-09-29T05:42:14Z","updated_at":"2015-09-29T12:05:23Z","pushed_at":"2015-10-20T09:19:43Z","git_url":"git://github.com/rwck/WDI11_Homework.git","ssh_url":"git@github.com:rwck/WDI11_Homework.git","clone_url":"https://github.com/rwck/WDI11_Homework.git","svn_url":"https://github.com/rwck/WDI11_Homework","homepage":null,"size":1479,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"ButenkoT:master","ref":"master","sha":"d586cc367149f3bc768f3a91a5f40e97ba44a7af","user":{"login":"ButenkoT","id":8233040,"avatar_url":"https://avatars.githubusercontent.com/u/8233040?v=3","gravatar_id":"","url":"https://api.github.com/users/ButenkoT","html_url":"https://github.com/ButenkoT","followers_url":"https://api.github.com/users/ButenkoT/followers","following_url":"https://api.github.com/users/ButenkoT/following{/other_user}","gists_url":"https://api.github.com/users/ButenkoT/gists{/gist_id}","starred_url":"https://api.github.com/users/ButenkoT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ButenkoT/subscriptions","organizations_url":"https://api.github.com/users/ButenkoT/orgs","repos_url":"https://api.github.com/users/ButenkoT/repos","events_url":"https://api.github.com/users/ButenkoT/events{/privacy}","received_events_url":"https://api.github.com/users/ButenkoT/received_events","type":"User","site_admin":false},"repo":{"id":42757955,"name":"WDI11_Homework","full_name":"ButenkoT/WDI11_Homework","owner":{"login":"ButenkoT","id":8233040,"avatar_url":"https://avatars.githubusercontent.com/u/8233040?v=3","gravatar_id":"","url":"https://api.github.com/users/ButenkoT","html_url":"https://github.com/ButenkoT","followers_url":"https://api.github.com/users/ButenkoT/followers","following_url":"https://api.github.com/users/ButenkoT/following{/other_user}","gists_url":"https://api.github.com/users/ButenkoT/gists{/gist_id}","starred_url":"https://api.github.com/users/ButenkoT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ButenkoT/subscriptions","organizations_url":"https://api.github.com/users/ButenkoT/orgs","repos_url":"https://api.github.com/users/ButenkoT/repos","events_url":"https://api.github.com/users/ButenkoT/events{/privacy}","received_events_url":"https://api.github.com/users/ButenkoT/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ButenkoT/WDI11_Homework","description":"General Assembly Sydney WDI11 Homework","fork":false,"url":"https://api.github.com/repos/ButenkoT/WDI11_Homework","forks_url":"https://api.github.com/repos/ButenkoT/WDI11_Homework/forks","keys_url":"https://api.github.com/repos/ButenkoT/WDI11_Homework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ButenkoT/WDI11_Homework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ButenkoT/WDI11_Homework/teams","hooks_url":"https://api.github.com/repos/ButenkoT/WDI11_Homework/hooks","issue_events_url":"https://api.github.com/repos/ButenkoT/WDI11_Homework/issues/events{/number}","events_url":"https://api.github.com/repos/ButenkoT/WDI11_Homework/events","assignees_url":"https://api.github.com/repos/ButenkoT/WDI11_Homework/assignees{/user}","branches_url":"https://api.github.com/repos/ButenkoT/WDI11_Homework/branches{/branch}","tags_url":"https://api.github.com/repos/ButenkoT/WDI11_Homework/tags","blobs_url":"https://api.github.com/repos/ButenkoT/WDI11_Homework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ButenkoT/WDI11_Homework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ButenkoT/WDI11_Homework/git/refs{/sha}","trees_url":"https://api.github.com/repos/ButenkoT/WDI11_Homework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ButenkoT/WDI11_Homework/statuses/{sha}","languages_url":"https://api.github.com/repos/ButenkoT/WDI11_Homework/languages","stargazers_url":"https://api.github.com/repos/ButenkoT/WDI11_Homework/stargazers","contributors_url":"https://api.github.com/repos/ButenkoT/WDI11_Homework/contributors","subscribers_url":"https://api.github.com/repos/ButenkoT/WDI11_Homework/subscribers","subscription_url":"https://api.github.com/repos/ButenkoT/WDI11_Homework/subscription","commits_url":"https://api.github.com/repos/ButenkoT/WDI11_Homework/commits{/sha}","git_commits_url":"https://api.github.com/repos/ButenkoT/WDI11_Homework/git/commits{/sha}","comments_url":"https://api.github.com/repos/ButenkoT/WDI11_Homework/comments{/number}","issue_comment_url":"https://api.github.com/repos/ButenkoT/WDI11_Homework/issues/comments{/number}","contents_url":"https://api.github.com/repos/ButenkoT/WDI11_Homework/contents/{+path}","compare_url":"https://api.github.com/repos/ButenkoT/WDI11_Homework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ButenkoT/WDI11_Homework/merges","archive_url":"https://api.github.com/repos/ButenkoT/WDI11_Homework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ButenkoT/WDI11_Homework/downloads","issues_url":"https://api.github.com/repos/ButenkoT/WDI11_Homework/issues{/number}","pulls_url":"https://api.github.com/repos/ButenkoT/WDI11_Homework/pulls{/number}","milestones_url":"https://api.github.com/repos/ButenkoT/WDI11_Homework/milestones{/number}","notifications_url":"https://api.github.com/repos/ButenkoT/WDI11_Homework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ButenkoT/WDI11_Homework/labels{/name}","releases_url":"https://api.github.com/repos/ButenkoT/WDI11_Homework/releases{/id}","created_at":"2015-09-19T03:27:32Z","updated_at":"2015-10-07T07:34:57Z","pushed_at":"2015-10-20T13:24:25Z","git_url":"git://github.com/ButenkoT/WDI11_Homework.git","ssh_url":"git@github.com:ButenkoT/WDI11_Homework.git","clone_url":"https://github.com/ButenkoT/WDI11_Homework.git","svn_url":"https://github.com/ButenkoT/WDI11_Homework","homepage":null,"size":11845,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":2,"forks":9,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ButenkoT/WDI11_Homework/pulls/50"},"html":{"href":"https://github.com/ButenkoT/WDI11_Homework/pull/50"},"issue":{"href":"https://api.github.com/repos/ButenkoT/WDI11_Homework/issues/50"},"comments":{"href":"https://api.github.com/repos/ButenkoT/WDI11_Homework/issues/50/comments"},"review_comments":{"href":"https://api.github.com/repos/ButenkoT/WDI11_Homework/pulls/50/comments"},"review_comment":{"href":"https://api.github.com/repos/ButenkoT/WDI11_Homework/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ButenkoT/WDI11_Homework/pulls/50/commits"},"statuses":{"href":"https://api.github.com/repos/ButenkoT/WDI11_Homework/statuses/c121b1b3a139518924451cb19c428cab162820e0"}}}}