{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/pulls/1","id":76762931,"html_url":"https://github.com/student-tomasz/ragin-03-shop-oop/pull/1","diff_url":"https://github.com/student-tomasz/ragin-03-shop-oop/pull/1.diff","patch_url":"https://github.com/student-tomasz/ragin-03-shop-oop/pull/1.patch","issue_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/issues/1","number":1,"state":"open","locked":false,"title":"Pass Catalog instance along instead of refering to it as a global pseudo-singleton","user":{"login":"student-tomasz","id":647854,"avatar_url":"https://avatars.githubusercontent.com/u/647854?v=3","gravatar_id":"","url":"https://api.github.com/users/student-tomasz","html_url":"https://github.com/student-tomasz","followers_url":"https://api.github.com/users/student-tomasz/followers","following_url":"https://api.github.com/users/student-tomasz/following{/other_user}","gists_url":"https://api.github.com/users/student-tomasz/gists{/gist_id}","starred_url":"https://api.github.com/users/student-tomasz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/student-tomasz/subscriptions","organizations_url":"https://api.github.com/users/student-tomasz/orgs","repos_url":"https://api.github.com/users/student-tomasz/repos","events_url":"https://api.github.com/users/student-tomasz/events{/privacy}","received_events_url":"https://api.github.com/users/student-tomasz/received_events","type":"User","site_admin":false},"body":"@gotar","created_at":"2016-07-08T14:39:17Z","updated_at":"2016-07-08T14:39:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"04f0580992ee52d30b2f200107762b22e617cd02","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/pulls/1/commits","review_comments_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/pulls/1/comments","review_comment_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/issues/1/comments","statuses_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/statuses/5d157dbdc293f4ce7dc8be61f7bbc05b1895a514","head":{"label":"student-tomasz:unsingleton-catalog","ref":"unsingleton-catalog","sha":"5d157dbdc293f4ce7dc8be61f7bbc05b1895a514","user":{"login":"student-tomasz","id":647854,"avatar_url":"https://avatars.githubusercontent.com/u/647854?v=3","gravatar_id":"","url":"https://api.github.com/users/student-tomasz","html_url":"https://github.com/student-tomasz","followers_url":"https://api.github.com/users/student-tomasz/followers","following_url":"https://api.github.com/users/student-tomasz/following{/other_user}","gists_url":"https://api.github.com/users/student-tomasz/gists{/gist_id}","starred_url":"https://api.github.com/users/student-tomasz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/student-tomasz/subscriptions","organizations_url":"https://api.github.com/users/student-tomasz/orgs","repos_url":"https://api.github.com/users/student-tomasz/repos","events_url":"https://api.github.com/users/student-tomasz/events{/privacy}","received_events_url":"https://api.github.com/users/student-tomasz/received_events","type":"User","site_admin":false},"repo":{"id":62715984,"name":"ragin-03-shop-oop","full_name":"student-tomasz/ragin-03-shop-oop","owner":{"login":"student-tomasz","id":647854,"avatar_url":"https://avatars.githubusercontent.com/u/647854?v=3","gravatar_id":"","url":"https://api.github.com/users/student-tomasz","html_url":"https://github.com/student-tomasz","followers_url":"https://api.github.com/users/student-tomasz/followers","following_url":"https://api.github.com/users/student-tomasz/following{/other_user}","gists_url":"https://api.github.com/users/student-tomasz/gists{/gist_id}","starred_url":"https://api.github.com/users/student-tomasz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/student-tomasz/subscriptions","organizations_url":"https://api.github.com/users/student-tomasz/orgs","repos_url":"https://api.github.com/users/student-tomasz/repos","events_url":"https://api.github.com/users/student-tomasz/events{/privacy}","received_events_url":"https://api.github.com/users/student-tomasz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/student-tomasz/ragin-03-shop-oop","description":null,"fork":false,"url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop","forks_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/forks","keys_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/teams","hooks_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/hooks","issue_events_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/issues/events{/number}","events_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/events","assignees_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/assignees{/user}","branches_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/branches{/branch}","tags_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/tags","blobs_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/git/refs{/sha}","trees_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/statuses/{sha}","languages_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/languages","stargazers_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/stargazers","contributors_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/contributors","subscribers_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/subscribers","subscription_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/subscription","commits_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/commits{/sha}","git_commits_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/git/commits{/sha}","comments_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/comments{/number}","issue_comment_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/issues/comments{/number}","contents_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/contents/{+path}","compare_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/merges","archive_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/downloads","issues_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/issues{/number}","pulls_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/pulls{/number}","milestones_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/milestones{/number}","notifications_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/labels{/name}","releases_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/releases{/id}","deployments_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/deployments","created_at":"2016-07-06T11:29:33Z","updated_at":"2016-07-06T22:44:43Z","pushed_at":"2016-07-08T14:39:18Z","git_url":"git://github.com/student-tomasz/ragin-03-shop-oop.git","ssh_url":"git@github.com:student-tomasz/ragin-03-shop-oop.git","clone_url":"https://github.com/student-tomasz/ragin-03-shop-oop.git","svn_url":"https://github.com/student-tomasz/ragin-03-shop-oop","homepage":null,"size":31,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"student-tomasz:master","ref":"master","sha":"7a9df1d031e480c970b1ab63ffc42c3dae602f45","user":{"login":"student-tomasz","id":647854,"avatar_url":"https://avatars.githubusercontent.com/u/647854?v=3","gravatar_id":"","url":"https://api.github.com/users/student-tomasz","html_url":"https://github.com/student-tomasz","followers_url":"https://api.github.com/users/student-tomasz/followers","following_url":"https://api.github.com/users/student-tomasz/following{/other_user}","gists_url":"https://api.github.com/users/student-tomasz/gists{/gist_id}","starred_url":"https://api.github.com/users/student-tomasz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/student-tomasz/subscriptions","organizations_url":"https://api.github.com/users/student-tomasz/orgs","repos_url":"https://api.github.com/users/student-tomasz/repos","events_url":"https://api.github.com/users/student-tomasz/events{/privacy}","received_events_url":"https://api.github.com/users/student-tomasz/received_events","type":"User","site_admin":false},"repo":{"id":62715984,"name":"ragin-03-shop-oop","full_name":"student-tomasz/ragin-03-shop-oop","owner":{"login":"student-tomasz","id":647854,"avatar_url":"https://avatars.githubusercontent.com/u/647854?v=3","gravatar_id":"","url":"https://api.github.com/users/student-tomasz","html_url":"https://github.com/student-tomasz","followers_url":"https://api.github.com/users/student-tomasz/followers","following_url":"https://api.github.com/users/student-tomasz/following{/other_user}","gists_url":"https://api.github.com/users/student-tomasz/gists{/gist_id}","starred_url":"https://api.github.com/users/student-tomasz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/student-tomasz/subscriptions","organizations_url":"https://api.github.com/users/student-tomasz/orgs","repos_url":"https://api.github.com/users/student-tomasz/repos","events_url":"https://api.github.com/users/student-tomasz/events{/privacy}","received_events_url":"https://api.github.com/users/student-tomasz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/student-tomasz/ragin-03-shop-oop","description":null,"fork":false,"url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop","forks_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/forks","keys_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/teams","hooks_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/hooks","issue_events_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/issues/events{/number}","events_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/events","assignees_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/assignees{/user}","branches_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/branches{/branch}","tags_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/tags","blobs_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/git/refs{/sha}","trees_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/statuses/{sha}","languages_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/languages","stargazers_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/stargazers","contributors_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/contributors","subscribers_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/subscribers","subscription_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/subscription","commits_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/commits{/sha}","git_commits_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/git/commits{/sha}","comments_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/comments{/number}","issue_comment_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/issues/comments{/number}","contents_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/contents/{+path}","compare_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/merges","archive_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/downloads","issues_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/issues{/number}","pulls_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/pulls{/number}","milestones_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/milestones{/number}","notifications_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/labels{/name}","releases_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/releases{/id}","deployments_url":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/deployments","created_at":"2016-07-06T11:29:33Z","updated_at":"2016-07-06T22:44:43Z","pushed_at":"2016-07-08T14:39:18Z","git_url":"git://github.com/student-tomasz/ragin-03-shop-oop.git","ssh_url":"git@github.com:student-tomasz/ragin-03-shop-oop.git","clone_url":"https://github.com/student-tomasz/ragin-03-shop-oop.git","svn_url":"https://github.com/student-tomasz/ragin-03-shop-oop","homepage":null,"size":31,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/pulls/1"},"html":{"href":"https://github.com/student-tomasz/ragin-03-shop-oop/pull/1"},"issue":{"href":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/issues/1"},"comments":{"href":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/student-tomasz/ragin-03-shop-oop/statuses/5d157dbdc293f4ce7dc8be61f7bbc05b1895a514"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":261,"deletions":132,"changed_files":7}}
{"actor":{"display_login":"student-tomasz"}}