{"action":"closed","number":14,"pull_request":{"url":"https://api.github.com/repos/meritec/arbor-rb/pulls/14","id":229659700,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI5NjU5NzAw","html_url":"https://github.com/meritec/arbor-rb/pull/14","diff_url":"https://github.com/meritec/arbor-rb/pull/14.diff","patch_url":"https://github.com/meritec/arbor-rb/pull/14.patch","issue_url":"https://api.github.com/repos/meritec/arbor-rb/issues/14","number":14,"state":"closed","locked":false,"title":"Prevent stack overflow when missing href","user":{"login":"mikecmpbll","id":1962801,"node_id":"MDQ6VXNlcjE5NjI4MDE=","avatar_url":"https://avatars1.githubusercontent.com/u/1962801?v=4","gravatar_id":"","url":"https://api.github.com/users/mikecmpbll","html_url":"https://github.com/mikecmpbll","followers_url":"https://api.github.com/users/mikecmpbll/followers","following_url":"https://api.github.com/users/mikecmpbll/following{/other_user}","gists_url":"https://api.github.com/users/mikecmpbll/gists{/gist_id}","starred_url":"https://api.github.com/users/mikecmpbll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikecmpbll/subscriptions","organizations_url":"https://api.github.com/users/mikecmpbll/orgs","repos_url":"https://api.github.com/users/mikecmpbll/repos","events_url":"https://api.github.com/users/mikecmpbll/events{/privacy}","received_events_url":"https://api.github.com/users/mikecmpbll/received_events","type":"User","site_admin":false},"body":"When a resource doesn't have a `href` attribute, it hits method_missing,\r\nwhich tries to load the full resource, which subsequently calls href,\r\nand then we enter a loop and ultimately the stack overflows.\r\n\r\nThe solution is to add href to attr_accessor so that calls to href never\r\nhit method_missing.\r\n\r\nCloses #13 ","created_at":"2018-11-09T11:06:04Z","updated_at":"2018-11-09T11:06:23Z","closed_at":"2018-11-09T11:06:23Z","merged_at":"2018-11-09T11:06:23Z","merge_commit_sha":"201290be946d7d79d330cca2fcf77fad96a70c70","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/meritec/arbor-rb/pulls/14/commits","review_comments_url":"https://api.github.com/repos/meritec/arbor-rb/pulls/14/comments","review_comment_url":"https://api.github.com/repos/meritec/arbor-rb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/meritec/arbor-rb/issues/14/comments","statuses_url":"https://api.github.com/repos/meritec/arbor-rb/statuses/a8966b626847132b03ba59dc23d007a38e8f6f62","head":{"label":"mikecmpbll:master","ref":"master","sha":"a8966b626847132b03ba59dc23d007a38e8f6f62","user":{"login":"mikecmpbll","id":1962801,"node_id":"MDQ6VXNlcjE5NjI4MDE=","avatar_url":"https://avatars1.githubusercontent.com/u/1962801?v=4","gravatar_id":"","url":"https://api.github.com/users/mikecmpbll","html_url":"https://github.com/mikecmpbll","followers_url":"https://api.github.com/users/mikecmpbll/followers","following_url":"https://api.github.com/users/mikecmpbll/following{/other_user}","gists_url":"https://api.github.com/users/mikecmpbll/gists{/gist_id}","starred_url":"https://api.github.com/users/mikecmpbll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikecmpbll/subscriptions","organizations_url":"https://api.github.com/users/mikecmpbll/orgs","repos_url":"https://api.github.com/users/mikecmpbll/repos","events_url":"https://api.github.com/users/mikecmpbll/events{/privacy}","received_events_url":"https://api.github.com/users/mikecmpbll/received_events","type":"User","site_admin":false},"repo":{"id":40879531,"node_id":"MDEwOlJlcG9zaXRvcnk0MDg3OTUzMQ==","name":"arbor-rb","full_name":"mikecmpbll/arbor-rb","private":false,"owner":{"login":"mikecmpbll","id":1962801,"node_id":"MDQ6VXNlcjE5NjI4MDE=","avatar_url":"https://avatars1.githubusercontent.com/u/1962801?v=4","gravatar_id":"","url":"https://api.github.com/users/mikecmpbll","html_url":"https://github.com/mikecmpbll","followers_url":"https://api.github.com/users/mikecmpbll/followers","following_url":"https://api.github.com/users/mikecmpbll/following{/other_user}","gists_url":"https://api.github.com/users/mikecmpbll/gists{/gist_id}","starred_url":"https://api.github.com/users/mikecmpbll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikecmpbll/subscriptions","organizations_url":"https://api.github.com/users/mikecmpbll/orgs","repos_url":"https://api.github.com/users/mikecmpbll/repos","events_url":"https://api.github.com/users/mikecmpbll/events{/privacy}","received_events_url":"https://api.github.com/users/mikecmpbll/received_events","type":"User","site_admin":false},"html_url":"https://github.com/mikecmpbll/arbor-rb","description":"An unofficial Ruby interface to Arbor Education API","fork":true,"url":"https://api.github.com/repos/mikecmpbll/arbor-rb","forks_url":"https://api.github.com/repos/mikecmpbll/arbor-rb/forks","keys_url":"https://api.github.com/repos/mikecmpbll/arbor-rb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mikecmpbll/arbor-rb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mikecmpbll/arbor-rb/teams","hooks_url":"https://api.github.com/repos/mikecmpbll/arbor-rb/hooks","issue_events_url":"https://api.github.com/repos/mikecmpbll/arbor-rb/issues/events{/number}","events_url":"https://api.github.com/repos/mikecmpbll/arbor-rb/events","assignees_url":"https://api.github.com/repos/mikecmpbll/arbor-rb/assignees{/user}","branches_url":"https://api.github.com/repos/mikecmpbll/arbor-rb/branches{/branch}","tags_url":"https://api.github.com/repos/mikecmpbll/arbor-rb/tags","blobs_url":"https://api.github.com/repos/mikecmpbll/arbor-rb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mikecmpbll/arbor-rb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mikecmpbll/arbor-rb/git/refs{/sha}","trees_url":"https://api.github.com/repos/mikecmpbll/arbor-rb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mikecmpbll/arbor-rb/statuses/{sha}","languages_url":"https://api.github.com/repos/mikecmpbll/arbor-rb/languages","stargazers_url":"https://api.github.com/repos/mikecmpbll/arbor-rb/stargazers","contributors_url":"https://api.github.com/repos/mikecmpbll/arbor-rb/contributors","subscribers_url":"https://api.github.com/repos/mikecmpbll/arbor-rb/subscribers","subscription_url":"https://api.github.com/repos/mikecmpbll/arbor-rb/subscription","commits_url":"https://api.github.com/repos/mikecmpbll/arbor-rb/commits{/sha}","git_commits_url":"https://api.github.com/repos/mikecmpbll/arbor-rb/git/commits{/sha}","comments_url":"https://api.github.com/repos/mikecmpbll/arbor-rb/comments{/number}","issue_comment_url":"https://api.github.com/repos/mikecmpbll/arbor-rb/issues/comments{/number}","contents_url":"https://api.github.com/repos/mikecmpbll/arbor-rb/contents/{+path}","compare_url":"https://api.github.com/repos/mikecmpbll/arbor-rb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mikecmpbll/arbor-rb/merges","archive_url":"https://api.github.com/repos/mikecmpbll/arbor-rb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mikecmpbll/arbor-rb/downloads","issues_url":"https://api.github.com/repos/mikecmpbll/arbor-rb/issues{/number}","pulls_url":"https://api.github.com/repos/mikecmpbll/arbor-rb/pulls{/number}","milestones_url":"https://api.github.com/repos/mikecmpbll/arbor-rb/milestones{/number}","notifications_url":"https://api.github.com/repos/mikecmpbll/arbor-rb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mikecmpbll/arbor-rb/labels{/name}","releases_url":"https://api.github.com/repos/mikecmpbll/arbor-rb/releases{/id}","deployments_url":"https://api.github.com/repos/mikecmpbll/arbor-rb/deployments","created_at":"2015-08-17T08:57:21Z","updated_at":"2018-11-09T11:05:33Z","pushed_at":"2018-11-09T11:05:31Z","git_url":"git://github.com/mikecmpbll/arbor-rb.git","ssh_url":"git@github.com:mikecmpbll/arbor-rb.git","clone_url":"https://github.com/mikecmpbll/arbor-rb.git","svn_url":"https://github.com/mikecmpbll/arbor-rb","homepage":"","size":92,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"meritec:master","ref":"master","sha":"649c045069797e8acf2f8dde729472ba8d89e43b","user":{"login":"meritec","id":5175411,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUxNzU0MTE=","avatar_url":"https://avatars0.githubusercontent.com/u/5175411?v=4","gravatar_id":"","url":"https://api.github.com/users/meritec","html_url":"https://github.com/meritec","followers_url":"https://api.github.com/users/meritec/followers","following_url":"https://api.github.com/users/meritec/following{/other_user}","gists_url":"https://api.github.com/users/meritec/gists{/gist_id}","starred_url":"https://api.github.com/users/meritec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meritec/subscriptions","organizations_url":"https://api.github.com/users/meritec/orgs","repos_url":"https://api.github.com/users/meritec/repos","events_url":"https://api.github.com/users/meritec/events{/privacy}","received_events_url":"https://api.github.com/users/meritec/received_events","type":"Organization","site_admin":false},"repo":{"id":24188840,"node_id":"MDEwOlJlcG9zaXRvcnkyNDE4ODg0MA==","name":"arbor-rb","full_name":"meritec/arbor-rb","private":false,"owner":{"login":"meritec","id":5175411,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUxNzU0MTE=","avatar_url":"https://avatars0.githubusercontent.com/u/5175411?v=4","gravatar_id":"","url":"https://api.github.com/users/meritec","html_url":"https://github.com/meritec","followers_url":"https://api.github.com/users/meritec/followers","following_url":"https://api.github.com/users/meritec/following{/other_user}","gists_url":"https://api.github.com/users/meritec/gists{/gist_id}","starred_url":"https://api.github.com/users/meritec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meritec/subscriptions","organizations_url":"https://api.github.com/users/meritec/orgs","repos_url":"https://api.github.com/users/meritec/repos","events_url":"https://api.github.com/users/meritec/events{/privacy}","received_events_url":"https://api.github.com/users/meritec/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/meritec/arbor-rb","description":"A Ruby interface to Arbor Education API","fork":false,"url":"https://api.github.com/repos/meritec/arbor-rb","forks_url":"https://api.github.com/repos/meritec/arbor-rb/forks","keys_url":"https://api.github.com/repos/meritec/arbor-rb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/meritec/arbor-rb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/meritec/arbor-rb/teams","hooks_url":"https://api.github.com/repos/meritec/arbor-rb/hooks","issue_events_url":"https://api.github.com/repos/meritec/arbor-rb/issues/events{/number}","events_url":"https://api.github.com/repos/meritec/arbor-rb/events","assignees_url":"https://api.github.com/repos/meritec/arbor-rb/assignees{/user}","branches_url":"https://api.github.com/repos/meritec/arbor-rb/branches{/branch}","tags_url":"https://api.github.com/repos/meritec/arbor-rb/tags","blobs_url":"https://api.github.com/repos/meritec/arbor-rb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/meritec/arbor-rb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/meritec/arbor-rb/git/refs{/sha}","trees_url":"https://api.github.com/repos/meritec/arbor-rb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/meritec/arbor-rb/statuses/{sha}","languages_url":"https://api.github.com/repos/meritec/arbor-rb/languages","stargazers_url":"https://api.github.com/repos/meritec/arbor-rb/stargazers","contributors_url":"https://api.github.com/repos/meritec/arbor-rb/contributors","subscribers_url":"https://api.github.com/repos/meritec/arbor-rb/subscribers","subscription_url":"https://api.github.com/repos/meritec/arbor-rb/subscription","commits_url":"https://api.github.com/repos/meritec/arbor-rb/commits{/sha}","git_commits_url":"https://api.github.com/repos/meritec/arbor-rb/git/commits{/sha}","comments_url":"https://api.github.com/repos/meritec/arbor-rb/comments{/number}","issue_comment_url":"https://api.github.com/repos/meritec/arbor-rb/issues/comments{/number}","contents_url":"https://api.github.com/repos/meritec/arbor-rb/contents/{+path}","compare_url":"https://api.github.com/repos/meritec/arbor-rb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/meritec/arbor-rb/merges","archive_url":"https://api.github.com/repos/meritec/arbor-rb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/meritec/arbor-rb/downloads","issues_url":"https://api.github.com/repos/meritec/arbor-rb/issues{/number}","pulls_url":"https://api.github.com/repos/meritec/arbor-rb/pulls{/number}","milestones_url":"https://api.github.com/repos/meritec/arbor-rb/milestones{/number}","notifications_url":"https://api.github.com/repos/meritec/arbor-rb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/meritec/arbor-rb/labels{/name}","releases_url":"https://api.github.com/repos/meritec/arbor-rb/releases{/id}","deployments_url":"https://api.github.com/repos/meritec/arbor-rb/deployments","created_at":"2014-09-18T13:19:15Z","updated_at":"2017-05-19T12:10:24Z","pushed_at":"2018-11-09T11:06:23Z","git_url":"git://github.com/meritec/arbor-rb.git","ssh_url":"git@github.com:meritec/arbor-rb.git","clone_url":"https://github.com/meritec/arbor-rb.git","svn_url":"https://github.com/meritec/arbor-rb","homepage":"","size":31,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":2,"open_issues":2,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/meritec/arbor-rb/pulls/14"},"html":{"href":"https://github.com/meritec/arbor-rb/pull/14"},"issue":{"href":"https://api.github.com/repos/meritec/arbor-rb/issues/14"},"comments":{"href":"https://api.github.com/repos/meritec/arbor-rb/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/meritec/arbor-rb/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/meritec/arbor-rb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/meritec/arbor-rb/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/meritec/arbor-rb/statuses/a8966b626847132b03ba59dc23d007a38e8f6f62"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"mikecmpbll","id":1962801,"node_id":"MDQ6VXNlcjE5NjI4MDE=","avatar_url":"https://avatars1.githubusercontent.com/u/1962801?v=4","gravatar_id":"","url":"https://api.github.com/users/mikecmpbll","html_url":"https://github.com/mikecmpbll","followers_url":"https://api.github.com/users/mikecmpbll/followers","following_url":"https://api.github.com/users/mikecmpbll/following{/other_user}","gists_url":"https://api.github.com/users/mikecmpbll/gists{/gist_id}","starred_url":"https://api.github.com/users/mikecmpbll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikecmpbll/subscriptions","organizations_url":"https://api.github.com/users/mikecmpbll/orgs","repos_url":"https://api.github.com/users/mikecmpbll/repos","events_url":"https://api.github.com/users/mikecmpbll/events{/privacy}","received_events_url":"https://api.github.com/users/mikecmpbll/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"mikecmpbll"}}