{"action":"closed","number":67,"pull_request":{"url":"https://api.github.com/repos/ChuckPierce/stack_store/pulls/67","id":27471777,"html_url":"https://github.com/ChuckPierce/stack_store/pull/67","diff_url":"https://github.com/ChuckPierce/stack_store/pull/67.diff","patch_url":"https://github.com/ChuckPierce/stack_store/pull/67.patch","issue_url":"https://api.github.com/repos/ChuckPierce/stack_store/issues/67","number":67,"state":"closed","locked":false,"title":"Modify product model to fit requirements and write corresponding tests  (2)","user":{"login":"Meliis","id":8609225,"avatar_url":"https://avatars.githubusercontent.com/u/8609225?v=3","gravatar_id":"","url":"https://api.github.com/users/Meliis","html_url":"https://github.com/Meliis","followers_url":"https://api.github.com/users/Meliis/followers","following_url":"https://api.github.com/users/Meliis/following{/other_user}","gists_url":"https://api.github.com/users/Meliis/gists{/gist_id}","starred_url":"https://api.github.com/users/Meliis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Meliis/subscriptions","organizations_url":"https://api.github.com/users/Meliis/orgs","repos_url":"https://api.github.com/users/Meliis/repos","events_url":"https://api.github.com/users/Meliis/events{/privacy}","received_events_url":"https://api.github.com/users/Meliis/received_events","type":"User","site_admin":false},"body":"so i included a validation thing to make sure there's at least one category, but it's commented out bc it makes the rest of the tests fail (because categories aren't set up yet).  the other validation is literally a copy/paste+find/replace from the user model\r\n<3","created_at":"2015-01-15T23:22:24Z","updated_at":"2015-01-16T01:25:17Z","closed_at":"2015-01-16T01:25:17Z","merged_at":"2015-01-16T01:25:17Z","merge_commit_sha":"229f2bea9a94669bc8c19071c551a7b200c32fd5","assignee":{"login":"Meliis","id":8609225,"avatar_url":"https://avatars.githubusercontent.com/u/8609225?v=3","gravatar_id":"","url":"https://api.github.com/users/Meliis","html_url":"https://github.com/Meliis","followers_url":"https://api.github.com/users/Meliis/followers","following_url":"https://api.github.com/users/Meliis/following{/other_user}","gists_url":"https://api.github.com/users/Meliis/gists{/gist_id}","starred_url":"https://api.github.com/users/Meliis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Meliis/subscriptions","organizations_url":"https://api.github.com/users/Meliis/orgs","repos_url":"https://api.github.com/users/Meliis/repos","events_url":"https://api.github.com/users/Meliis/events{/privacy}","received_events_url":"https://api.github.com/users/Meliis/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/ChuckPierce/stack_store/pulls/67/commits","review_comments_url":"https://api.github.com/repos/ChuckPierce/stack_store/pulls/67/comments","review_comment_url":"https://api.github.com/repos/ChuckPierce/stack_store/pulls/comments/{number}","comments_url":"https://api.github.com/repos/ChuckPierce/stack_store/issues/67/comments","statuses_url":"https://api.github.com/repos/ChuckPierce/stack_store/statuses/4edc5f115b288c7bc3bca399d0a3a2428f25e7fd","head":{"label":"ChuckPierce:63-product-model-and-tests","ref":"63-product-model-and-tests","sha":"4edc5f115b288c7bc3bca399d0a3a2428f25e7fd","user":{"login":"ChuckPierce","id":7853740,"avatar_url":"https://avatars.githubusercontent.com/u/7853740?v=3","gravatar_id":"","url":"https://api.github.com/users/ChuckPierce","html_url":"https://github.com/ChuckPierce","followers_url":"https://api.github.com/users/ChuckPierce/followers","following_url":"https://api.github.com/users/ChuckPierce/following{/other_user}","gists_url":"https://api.github.com/users/ChuckPierce/gists{/gist_id}","starred_url":"https://api.github.com/users/ChuckPierce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChuckPierce/subscriptions","organizations_url":"https://api.github.com/users/ChuckPierce/orgs","repos_url":"https://api.github.com/users/ChuckPierce/repos","events_url":"https://api.github.com/users/ChuckPierce/events{/privacy}","received_events_url":"https://api.github.com/users/ChuckPierce/received_events","type":"User","site_admin":false},"repo":{"id":29147178,"name":"stack_store","full_name":"ChuckPierce/stack_store","owner":{"login":"ChuckPierce","id":7853740,"avatar_url":"https://avatars.githubusercontent.com/u/7853740?v=3","gravatar_id":"","url":"https://api.github.com/users/ChuckPierce","html_url":"https://github.com/ChuckPierce","followers_url":"https://api.github.com/users/ChuckPierce/followers","following_url":"https://api.github.com/users/ChuckPierce/following{/other_user}","gists_url":"https://api.github.com/users/ChuckPierce/gists{/gist_id}","starred_url":"https://api.github.com/users/ChuckPierce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChuckPierce/subscriptions","organizations_url":"https://api.github.com/users/ChuckPierce/orgs","repos_url":"https://api.github.com/users/ChuckPierce/repos","events_url":"https://api.github.com/users/ChuckPierce/events{/privacy}","received_events_url":"https://api.github.com/users/ChuckPierce/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ChuckPierce/stack_store","description":"","fork":false,"url":"https://api.github.com/repos/ChuckPierce/stack_store","forks_url":"https://api.github.com/repos/ChuckPierce/stack_store/forks","keys_url":"https://api.github.com/repos/ChuckPierce/stack_store/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ChuckPierce/stack_store/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ChuckPierce/stack_store/teams","hooks_url":"https://api.github.com/repos/ChuckPierce/stack_store/hooks","issue_events_url":"https://api.github.com/repos/ChuckPierce/stack_store/issues/events{/number}","events_url":"https://api.github.com/repos/ChuckPierce/stack_store/events","assignees_url":"https://api.github.com/repos/ChuckPierce/stack_store/assignees{/user}","branches_url":"https://api.github.com/repos/ChuckPierce/stack_store/branches{/branch}","tags_url":"https://api.github.com/repos/ChuckPierce/stack_store/tags","blobs_url":"https://api.github.com/repos/ChuckPierce/stack_store/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ChuckPierce/stack_store/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ChuckPierce/stack_store/git/refs{/sha}","trees_url":"https://api.github.com/repos/ChuckPierce/stack_store/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ChuckPierce/stack_store/statuses/{sha}","languages_url":"https://api.github.com/repos/ChuckPierce/stack_store/languages","stargazers_url":"https://api.github.com/repos/ChuckPierce/stack_store/stargazers","contributors_url":"https://api.github.com/repos/ChuckPierce/stack_store/contributors","subscribers_url":"https://api.github.com/repos/ChuckPierce/stack_store/subscribers","subscription_url":"https://api.github.com/repos/ChuckPierce/stack_store/subscription","commits_url":"https://api.github.com/repos/ChuckPierce/stack_store/commits{/sha}","git_commits_url":"https://api.github.com/repos/ChuckPierce/stack_store/git/commits{/sha}","comments_url":"https://api.github.com/repos/ChuckPierce/stack_store/comments{/number}","issue_comment_url":"https://api.github.com/repos/ChuckPierce/stack_store/issues/comments/{number}","contents_url":"https://api.github.com/repos/ChuckPierce/stack_store/contents/{+path}","compare_url":"https://api.github.com/repos/ChuckPierce/stack_store/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ChuckPierce/stack_store/merges","archive_url":"https://api.github.com/repos/ChuckPierce/stack_store/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ChuckPierce/stack_store/downloads","issues_url":"https://api.github.com/repos/ChuckPierce/stack_store/issues{/number}","pulls_url":"https://api.github.com/repos/ChuckPierce/stack_store/pulls{/number}","milestones_url":"https://api.github.com/repos/ChuckPierce/stack_store/milestones{/number}","notifications_url":"https://api.github.com/repos/ChuckPierce/stack_store/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ChuckPierce/stack_store/labels{/name}","releases_url":"https://api.github.com/repos/ChuckPierce/stack_store/releases{/id}","created_at":"2015-01-12T17:23:11Z","updated_at":"2015-01-16T01:25:17Z","pushed_at":"2015-01-16T01:25:17Z","git_url":"git://github.com/ChuckPierce/stack_store.git","ssh_url":"git@github.com:ChuckPierce/stack_store.git","clone_url":"https://github.com/ChuckPierce/stack_store.git","svn_url":"https://github.com/ChuckPierce/stack_store","homepage":null,"size":1000,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":17,"forks":0,"open_issues":17,"watchers":0,"default_branch":"master"}},"base":{"label":"ChuckPierce:master","ref":"master","sha":"032bd7fe65e5a2133d806b47d5e9582d63054f0a","user":{"login":"ChuckPierce","id":7853740,"avatar_url":"https://avatars.githubusercontent.com/u/7853740?v=3","gravatar_id":"","url":"https://api.github.com/users/ChuckPierce","html_url":"https://github.com/ChuckPierce","followers_url":"https://api.github.com/users/ChuckPierce/followers","following_url":"https://api.github.com/users/ChuckPierce/following{/other_user}","gists_url":"https://api.github.com/users/ChuckPierce/gists{/gist_id}","starred_url":"https://api.github.com/users/ChuckPierce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChuckPierce/subscriptions","organizations_url":"https://api.github.com/users/ChuckPierce/orgs","repos_url":"https://api.github.com/users/ChuckPierce/repos","events_url":"https://api.github.com/users/ChuckPierce/events{/privacy}","received_events_url":"https://api.github.com/users/ChuckPierce/received_events","type":"User","site_admin":false},"repo":{"id":29147178,"name":"stack_store","full_name":"ChuckPierce/stack_store","owner":{"login":"ChuckPierce","id":7853740,"avatar_url":"https://avatars.githubusercontent.com/u/7853740?v=3","gravatar_id":"","url":"https://api.github.com/users/ChuckPierce","html_url":"https://github.com/ChuckPierce","followers_url":"https://api.github.com/users/ChuckPierce/followers","following_url":"https://api.github.com/users/ChuckPierce/following{/other_user}","gists_url":"https://api.github.com/users/ChuckPierce/gists{/gist_id}","starred_url":"https://api.github.com/users/ChuckPierce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChuckPierce/subscriptions","organizations_url":"https://api.github.com/users/ChuckPierce/orgs","repos_url":"https://api.github.com/users/ChuckPierce/repos","events_url":"https://api.github.com/users/ChuckPierce/events{/privacy}","received_events_url":"https://api.github.com/users/ChuckPierce/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ChuckPierce/stack_store","description":"","fork":false,"url":"https://api.github.com/repos/ChuckPierce/stack_store","forks_url":"https://api.github.com/repos/ChuckPierce/stack_store/forks","keys_url":"https://api.github.com/repos/ChuckPierce/stack_store/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ChuckPierce/stack_store/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ChuckPierce/stack_store/teams","hooks_url":"https://api.github.com/repos/ChuckPierce/stack_store/hooks","issue_events_url":"https://api.github.com/repos/ChuckPierce/stack_store/issues/events{/number}","events_url":"https://api.github.com/repos/ChuckPierce/stack_store/events","assignees_url":"https://api.github.com/repos/ChuckPierce/stack_store/assignees{/user}","branches_url":"https://api.github.com/repos/ChuckPierce/stack_store/branches{/branch}","tags_url":"https://api.github.com/repos/ChuckPierce/stack_store/tags","blobs_url":"https://api.github.com/repos/ChuckPierce/stack_store/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ChuckPierce/stack_store/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ChuckPierce/stack_store/git/refs{/sha}","trees_url":"https://api.github.com/repos/ChuckPierce/stack_store/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ChuckPierce/stack_store/statuses/{sha}","languages_url":"https://api.github.com/repos/ChuckPierce/stack_store/languages","stargazers_url":"https://api.github.com/repos/ChuckPierce/stack_store/stargazers","contributors_url":"https://api.github.com/repos/ChuckPierce/stack_store/contributors","subscribers_url":"https://api.github.com/repos/ChuckPierce/stack_store/subscribers","subscription_url":"https://api.github.com/repos/ChuckPierce/stack_store/subscription","commits_url":"https://api.github.com/repos/ChuckPierce/stack_store/commits{/sha}","git_commits_url":"https://api.github.com/repos/ChuckPierce/stack_store/git/commits{/sha}","comments_url":"https://api.github.com/repos/ChuckPierce/stack_store/comments{/number}","issue_comment_url":"https://api.github.com/repos/ChuckPierce/stack_store/issues/comments/{number}","contents_url":"https://api.github.com/repos/ChuckPierce/stack_store/contents/{+path}","compare_url":"https://api.github.com/repos/ChuckPierce/stack_store/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ChuckPierce/stack_store/merges","archive_url":"https://api.github.com/repos/ChuckPierce/stack_store/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ChuckPierce/stack_store/downloads","issues_url":"https://api.github.com/repos/ChuckPierce/stack_store/issues{/number}","pulls_url":"https://api.github.com/repos/ChuckPierce/stack_store/pulls{/number}","milestones_url":"https://api.github.com/repos/ChuckPierce/stack_store/milestones{/number}","notifications_url":"https://api.github.com/repos/ChuckPierce/stack_store/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ChuckPierce/stack_store/labels{/name}","releases_url":"https://api.github.com/repos/ChuckPierce/stack_store/releases{/id}","created_at":"2015-01-12T17:23:11Z","updated_at":"2015-01-16T01:25:17Z","pushed_at":"2015-01-16T01:25:17Z","git_url":"git://github.com/ChuckPierce/stack_store.git","ssh_url":"git@github.com:ChuckPierce/stack_store.git","clone_url":"https://github.com/ChuckPierce/stack_store.git","svn_url":"https://github.com/ChuckPierce/stack_store","homepage":null,"size":1000,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":17,"forks":0,"open_issues":17,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ChuckPierce/stack_store/pulls/67"},"html":{"href":"https://github.com/ChuckPierce/stack_store/pull/67"},"issue":{"href":"https://api.github.com/repos/ChuckPierce/stack_store/issues/67"},"comments":{"href":"https://api.github.com/repos/ChuckPierce/stack_store/issues/67/comments"},"review_comments":{"href":"https://api.github.com/repos/ChuckPierce/stack_store/pulls/67/comments"},"review_comment":{"href":"https://api.github.com/repos/ChuckPierce/stack_store/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/ChuckPierce/stack_store/pulls/67/commits"},"statuses":{"href":"https://api.github.com/repos/ChuckPierce/stack_store/statuses/4edc5f115b288c7bc3bca399d0a3a2428f25e7fd"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"ChuckPierce","id":7853740,"avatar_url":"https://avatars.githubusercontent.com/u/7853740?v=3","gravatar_id":"","url":"https://api.github.com/users/ChuckPierce","html_url":"https://github.com/ChuckPierce","followers_url":"https://api.github.com/users/ChuckPierce/followers","following_url":"https://api.github.com/users/ChuckPierce/following{/other_user}","gists_url":"https://api.github.com/users/ChuckPierce/gists{/gist_id}","starred_url":"https://api.github.com/users/ChuckPierce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChuckPierce/subscriptions","organizations_url":"https://api.github.com/users/ChuckPierce/orgs","repos_url":"https://api.github.com/users/ChuckPierce/repos","events_url":"https://api.github.com/users/ChuckPierce/events{/privacy}","received_events_url":"https://api.github.com/users/ChuckPierce/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":3,"additions":126,"deletions":7,"changed_files":2}}