{"action":"created","comment":{"url":"https://api.github.com/repos/selfup/API-Curious/pulls/comments/43189342","id":43189342,"diff_hunk":"@@ -0,0 +1,28 @@\n+class Repo < OpenStruct # only use this if you don't want to define the hash keys as data objects","path":"app/models/repo.rb","position":1,"original_position":1,"commit_id":"7cab28f81b3e03a5f02b760757994dc6bc6c5bc6","original_commit_id":"7cab28f81b3e03a5f02b760757994dc6bc6c5bc6","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line is too long. [97/80]","created_at":"2015-10-27T21:21:34Z","updated_at":"2015-10-27T21:21:34Z","html_url":"https://github.com/selfup/API-Curious/pull/11#discussion_r43189342","pull_request_url":"https://api.github.com/repos/selfup/API-Curious/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/selfup/API-Curious/pulls/comments/43189342"},"html":{"href":"https://github.com/selfup/API-Curious/pull/11#discussion_r43189342"},"pull_request":{"href":"https://api.github.com/repos/selfup/API-Curious/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/selfup/API-Curious/pulls/11","id":48934312,"html_url":"https://github.com/selfup/API-Curious/pull/11","diff_url":"https://github.com/selfup/API-Curious/pull/11.diff","patch_url":"https://github.com/selfup/API-Curious/pull/11.patch","issue_url":"https://api.github.com/repos/selfup/API-Curious/issues/11","number":11,"state":"open","locked":false,"title":"Live api calls","user":{"login":"selfup","id":9837366,"avatar_url":"https://avatars.githubusercontent.com/u/9837366?v=3","gravatar_id":"","url":"https://api.github.com/users/selfup","html_url":"https://github.com/selfup","followers_url":"https://api.github.com/users/selfup/followers","following_url":"https://api.github.com/users/selfup/following{/other_user}","gists_url":"https://api.github.com/users/selfup/gists{/gist_id}","starred_url":"https://api.github.com/users/selfup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/selfup/subscriptions","organizations_url":"https://api.github.com/users/selfup/orgs","repos_url":"https://api.github.com/users/selfup/repos","events_url":"https://api.github.com/users/selfup/events{/privacy}","received_events_url":"https://api.github.com/users/selfup/received_events","type":"User","site_admin":false},"body":"This works so nicely.\r\n\r\nI can now have a stateless page for the repositories per user. \r\n\r\nI had to sub out some text from the urls to make the urls redirect to the actual github repo instead of the api json endpoint.","created_at":"2015-10-27T21:21:18Z","updated_at":"2015-10-27T21:21:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"60336c1923441ee4c6c104dcb997583fab5e3a0e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/selfup/API-Curious/pulls/11/commits","review_comments_url":"https://api.github.com/repos/selfup/API-Curious/pulls/11/comments","review_comment_url":"https://api.github.com/repos/selfup/API-Curious/pulls/comments{/number}","comments_url":"https://api.github.com/repos/selfup/API-Curious/issues/11/comments","statuses_url":"https://api.github.com/repos/selfup/API-Curious/statuses/7cab28f81b3e03a5f02b760757994dc6bc6c5bc6","head":{"label":"selfup:live-api-calls","ref":"live-api-calls","sha":"7cab28f81b3e03a5f02b760757994dc6bc6c5bc6","user":{"login":"selfup","id":9837366,"avatar_url":"https://avatars.githubusercontent.com/u/9837366?v=3","gravatar_id":"","url":"https://api.github.com/users/selfup","html_url":"https://github.com/selfup","followers_url":"https://api.github.com/users/selfup/followers","following_url":"https://api.github.com/users/selfup/following{/other_user}","gists_url":"https://api.github.com/users/selfup/gists{/gist_id}","starred_url":"https://api.github.com/users/selfup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/selfup/subscriptions","organizations_url":"https://api.github.com/users/selfup/orgs","repos_url":"https://api.github.com/users/selfup/repos","events_url":"https://api.github.com/users/selfup/events{/privacy}","received_events_url":"https://api.github.com/users/selfup/received_events","type":"User","site_admin":false},"repo":{"id":45001106,"name":"API-Curious","full_name":"selfup/API-Curious","owner":{"login":"selfup","id":9837366,"avatar_url":"https://avatars.githubusercontent.com/u/9837366?v=3","gravatar_id":"","url":"https://api.github.com/users/selfup","html_url":"https://github.com/selfup","followers_url":"https://api.github.com/users/selfup/followers","following_url":"https://api.github.com/users/selfup/following{/other_user}","gists_url":"https://api.github.com/users/selfup/gists{/gist_id}","starred_url":"https://api.github.com/users/selfup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/selfup/subscriptions","organizations_url":"https://api.github.com/users/selfup/orgs","repos_url":"https://api.github.com/users/selfup/repos","events_url":"https://api.github.com/users/selfup/events{/privacy}","received_events_url":"https://api.github.com/users/selfup/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/selfup/API-Curious","description":"Implementing OAuth and Consuming an API","fork":false,"url":"https://api.github.com/repos/selfup/API-Curious","forks_url":"https://api.github.com/repos/selfup/API-Curious/forks","keys_url":"https://api.github.com/repos/selfup/API-Curious/keys{/key_id}","collaborators_url":"https://api.github.com/repos/selfup/API-Curious/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/selfup/API-Curious/teams","hooks_url":"https://api.github.com/repos/selfup/API-Curious/hooks","issue_events_url":"https://api.github.com/repos/selfup/API-Curious/issues/events{/number}","events_url":"https://api.github.com/repos/selfup/API-Curious/events","assignees_url":"https://api.github.com/repos/selfup/API-Curious/assignees{/user}","branches_url":"https://api.github.com/repos/selfup/API-Curious/branches{/branch}","tags_url":"https://api.github.com/repos/selfup/API-Curious/tags","blobs_url":"https://api.github.com/repos/selfup/API-Curious/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/selfup/API-Curious/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/selfup/API-Curious/git/refs{/sha}","trees_url":"https://api.github.com/repos/selfup/API-Curious/git/trees{/sha}","statuses_url":"https://api.github.com/repos/selfup/API-Curious/statuses/{sha}","languages_url":"https://api.github.com/repos/selfup/API-Curious/languages","stargazers_url":"https://api.github.com/repos/selfup/API-Curious/stargazers","contributors_url":"https://api.github.com/repos/selfup/API-Curious/contributors","subscribers_url":"https://api.github.com/repos/selfup/API-Curious/subscribers","subscription_url":"https://api.github.com/repos/selfup/API-Curious/subscription","commits_url":"https://api.github.com/repos/selfup/API-Curious/commits{/sha}","git_commits_url":"https://api.github.com/repos/selfup/API-Curious/git/commits{/sha}","comments_url":"https://api.github.com/repos/selfup/API-Curious/comments{/number}","issue_comment_url":"https://api.github.com/repos/selfup/API-Curious/issues/comments{/number}","contents_url":"https://api.github.com/repos/selfup/API-Curious/contents/{+path}","compare_url":"https://api.github.com/repos/selfup/API-Curious/compare/{base}...{head}","merges_url":"https://api.github.com/repos/selfup/API-Curious/merges","archive_url":"https://api.github.com/repos/selfup/API-Curious/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/selfup/API-Curious/downloads","issues_url":"https://api.github.com/repos/selfup/API-Curious/issues{/number}","pulls_url":"https://api.github.com/repos/selfup/API-Curious/pulls{/number}","milestones_url":"https://api.github.com/repos/selfup/API-Curious/milestones{/number}","notifications_url":"https://api.github.com/repos/selfup/API-Curious/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/selfup/API-Curious/labels{/name}","releases_url":"https://api.github.com/repos/selfup/API-Curious/releases{/id}","created_at":"2015-10-26T22:22:31Z","updated_at":"2015-10-26T22:22:47Z","pushed_at":"2015-10-27T21:21:18Z","git_url":"git://github.com/selfup/API-Curious.git","ssh_url":"git@github.com:selfup/API-Curious.git","clone_url":"https://github.com/selfup/API-Curious.git","svn_url":"https://github.com/selfup/API-Curious","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"selfup:master","ref":"master","sha":"fe92fdfacf21ebc3975c9d7952a89609ec1c360a","user":{"login":"selfup","id":9837366,"avatar_url":"https://avatars.githubusercontent.com/u/9837366?v=3","gravatar_id":"","url":"https://api.github.com/users/selfup","html_url":"https://github.com/selfup","followers_url":"https://api.github.com/users/selfup/followers","following_url":"https://api.github.com/users/selfup/following{/other_user}","gists_url":"https://api.github.com/users/selfup/gists{/gist_id}","starred_url":"https://api.github.com/users/selfup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/selfup/subscriptions","organizations_url":"https://api.github.com/users/selfup/orgs","repos_url":"https://api.github.com/users/selfup/repos","events_url":"https://api.github.com/users/selfup/events{/privacy}","received_events_url":"https://api.github.com/users/selfup/received_events","type":"User","site_admin":false},"repo":{"id":45001106,"name":"API-Curious","full_name":"selfup/API-Curious","owner":{"login":"selfup","id":9837366,"avatar_url":"https://avatars.githubusercontent.com/u/9837366?v=3","gravatar_id":"","url":"https://api.github.com/users/selfup","html_url":"https://github.com/selfup","followers_url":"https://api.github.com/users/selfup/followers","following_url":"https://api.github.com/users/selfup/following{/other_user}","gists_url":"https://api.github.com/users/selfup/gists{/gist_id}","starred_url":"https://api.github.com/users/selfup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/selfup/subscriptions","organizations_url":"https://api.github.com/users/selfup/orgs","repos_url":"https://api.github.com/users/selfup/repos","events_url":"https://api.github.com/users/selfup/events{/privacy}","received_events_url":"https://api.github.com/users/selfup/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/selfup/API-Curious","description":"Implementing OAuth and Consuming an API","fork":false,"url":"https://api.github.com/repos/selfup/API-Curious","forks_url":"https://api.github.com/repos/selfup/API-Curious/forks","keys_url":"https://api.github.com/repos/selfup/API-Curious/keys{/key_id}","collaborators_url":"https://api.github.com/repos/selfup/API-Curious/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/selfup/API-Curious/teams","hooks_url":"https://api.github.com/repos/selfup/API-Curious/hooks","issue_events_url":"https://api.github.com/repos/selfup/API-Curious/issues/events{/number}","events_url":"https://api.github.com/repos/selfup/API-Curious/events","assignees_url":"https://api.github.com/repos/selfup/API-Curious/assignees{/user}","branches_url":"https://api.github.com/repos/selfup/API-Curious/branches{/branch}","tags_url":"https://api.github.com/repos/selfup/API-Curious/tags","blobs_url":"https://api.github.com/repos/selfup/API-Curious/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/selfup/API-Curious/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/selfup/API-Curious/git/refs{/sha}","trees_url":"https://api.github.com/repos/selfup/API-Curious/git/trees{/sha}","statuses_url":"https://api.github.com/repos/selfup/API-Curious/statuses/{sha}","languages_url":"https://api.github.com/repos/selfup/API-Curious/languages","stargazers_url":"https://api.github.com/repos/selfup/API-Curious/stargazers","contributors_url":"https://api.github.com/repos/selfup/API-Curious/contributors","subscribers_url":"https://api.github.com/repos/selfup/API-Curious/subscribers","subscription_url":"https://api.github.com/repos/selfup/API-Curious/subscription","commits_url":"https://api.github.com/repos/selfup/API-Curious/commits{/sha}","git_commits_url":"https://api.github.com/repos/selfup/API-Curious/git/commits{/sha}","comments_url":"https://api.github.com/repos/selfup/API-Curious/comments{/number}","issue_comment_url":"https://api.github.com/repos/selfup/API-Curious/issues/comments{/number}","contents_url":"https://api.github.com/repos/selfup/API-Curious/contents/{+path}","compare_url":"https://api.github.com/repos/selfup/API-Curious/compare/{base}...{head}","merges_url":"https://api.github.com/repos/selfup/API-Curious/merges","archive_url":"https://api.github.com/repos/selfup/API-Curious/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/selfup/API-Curious/downloads","issues_url":"https://api.github.com/repos/selfup/API-Curious/issues{/number}","pulls_url":"https://api.github.com/repos/selfup/API-Curious/pulls{/number}","milestones_url":"https://api.github.com/repos/selfup/API-Curious/milestones{/number}","notifications_url":"https://api.github.com/repos/selfup/API-Curious/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/selfup/API-Curious/labels{/name}","releases_url":"https://api.github.com/repos/selfup/API-Curious/releases{/id}","created_at":"2015-10-26T22:22:31Z","updated_at":"2015-10-26T22:22:47Z","pushed_at":"2015-10-27T21:21:18Z","git_url":"git://github.com/selfup/API-Curious.git","ssh_url":"git@github.com:selfup/API-Curious.git","clone_url":"https://github.com/selfup/API-Curious.git","svn_url":"https://github.com/selfup/API-Curious","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/selfup/API-Curious/pulls/11"},"html":{"href":"https://github.com/selfup/API-Curious/pull/11"},"issue":{"href":"https://api.github.com/repos/selfup/API-Curious/issues/11"},"comments":{"href":"https://api.github.com/repos/selfup/API-Curious/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/selfup/API-Curious/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/selfup/API-Curious/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/selfup/API-Curious/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/selfup/API-Curious/statuses/7cab28f81b3e03a5f02b760757994dc6bc6c5bc6"}}}}