{"action":"created","comment":{"url":"https://api.github.com/repos/BitSmithy/price_tracker/pulls/comments/241840109","pull_request_review_id":185220684,"id":241840109,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MTg0MDEwOQ==","diff_hunk":"@@ -0,0 +1,10 @@\n+class Product < ApplicationRecord\n+  UPC_REQUIRED_LENGTH = 12","path":"app/models/product.rb","position":2,"original_position":2,"commit_id":"a6ce4562e94eba1426cf92c862fe42c93e46c015","original_commit_id":"2b3206347186ba21394304a490df9aa84793e186","user":{"login":"hahuang65","id":280972,"node_id":"MDQ6VXNlcjI4MDk3Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/280972?v=4","gravatar_id":"","url":"https://api.github.com/users/hahuang65","html_url":"https://github.com/hahuang65","followers_url":"https://api.github.com/users/hahuang65/followers","following_url":"https://api.github.com/users/hahuang65/following{/other_user}","gists_url":"https://api.github.com/users/hahuang65/gists{/gist_id}","starred_url":"https://api.github.com/users/hahuang65/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hahuang65/subscriptions","organizations_url":"https://api.github.com/users/hahuang65/orgs","repos_url":"https://api.github.com/users/hahuang65/repos","events_url":"https://api.github.com/users/hahuang65/events{/privacy}","received_events_url":"https://api.github.com/users/hahuang65/received_events","type":"User","site_admin":false},"body":"This could probably just be `UPC_LENGTH`. With `UPC_REQUIRED_LENGTH`, it sounds like it should be AT LEAST this length. Whereas `UPC_LENGTH` just means that's the exact length.","created_at":"2018-12-14T18:00:13Z","updated_at":"2018-12-14T18:00:13Z","html_url":"https://github.com/BitSmithy/price_tracker/pull/18#discussion_r241840109","pull_request_url":"https://api.github.com/repos/BitSmithy/price_tracker/pulls/18","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/BitSmithy/price_tracker/pulls/comments/241840109"},"html":{"href":"https://github.com/BitSmithy/price_tracker/pull/18#discussion_r241840109"},"pull_request":{"href":"https://api.github.com/repos/BitSmithy/price_tracker/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/BitSmithy/price_tracker/pulls/18","id":237143962,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3MTQzOTYy","html_url":"https://github.com/BitSmithy/price_tracker/pull/18","diff_url":"https://github.com/BitSmithy/price_tracker/pull/18.diff","patch_url":"https://github.com/BitSmithy/price_tracker/pull/18.patch","issue_url":"https://api.github.com/repos/BitSmithy/price_tracker/issues/18","number":18,"state":"open","locked":false,"title":"FEATURE: Create data model for tracked items","user":{"login":"aghalarp","id":5334478,"node_id":"MDQ6VXNlcjUzMzQ0Nzg=","avatar_url":"https://avatars3.githubusercontent.com/u/5334478?v=4","gravatar_id":"","url":"https://api.github.com/users/aghalarp","html_url":"https://github.com/aghalarp","followers_url":"https://api.github.com/users/aghalarp/followers","following_url":"https://api.github.com/users/aghalarp/following{/other_user}","gists_url":"https://api.github.com/users/aghalarp/gists{/gist_id}","starred_url":"https://api.github.com/users/aghalarp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aghalarp/subscriptions","organizations_url":"https://api.github.com/users/aghalarp/orgs","repos_url":"https://api.github.com/users/aghalarp/repos","events_url":"https://api.github.com/users/aghalarp/events{/privacy}","received_events_url":"https://api.github.com/users/aghalarp/received_events","type":"User","site_admin":false},"body":"This implements 3 new models (with respective tests), as discussed in #1: Product, Retailer, and RetailerProduct.\r\n\r\nIn addition, this adds the factory_bot_rails gem to the project gemfile with some basic configuration. Note that the `rails generate model` command will now generate a factory file rather than a fixture file for the generated model (in the test/factories directory).","created_at":"2018-12-09T17:18:08Z","updated_at":"2018-12-14T18:00:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9e417d9ac42deb3cf5b88267014b7d6764d4d0b4","assignee":{"login":"hahuang65","id":280972,"node_id":"MDQ6VXNlcjI4MDk3Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/280972?v=4","gravatar_id":"","url":"https://api.github.com/users/hahuang65","html_url":"https://github.com/hahuang65","followers_url":"https://api.github.com/users/hahuang65/followers","following_url":"https://api.github.com/users/hahuang65/following{/other_user}","gists_url":"https://api.github.com/users/hahuang65/gists{/gist_id}","starred_url":"https://api.github.com/users/hahuang65/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hahuang65/subscriptions","organizations_url":"https://api.github.com/users/hahuang65/orgs","repos_url":"https://api.github.com/users/hahuang65/repos","events_url":"https://api.github.com/users/hahuang65/events{/privacy}","received_events_url":"https://api.github.com/users/hahuang65/received_events","type":"User","site_admin":false},"assignees":[{"login":"hahuang65","id":280972,"node_id":"MDQ6VXNlcjI4MDk3Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/280972?v=4","gravatar_id":"","url":"https://api.github.com/users/hahuang65","html_url":"https://github.com/hahuang65","followers_url":"https://api.github.com/users/hahuang65/followers","following_url":"https://api.github.com/users/hahuang65/following{/other_user}","gists_url":"https://api.github.com/users/hahuang65/gists{/gist_id}","starred_url":"https://api.github.com/users/hahuang65/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hahuang65/subscriptions","organizations_url":"https://api.github.com/users/hahuang65/orgs","repos_url":"https://api.github.com/users/hahuang65/repos","events_url":"https://api.github.com/users/hahuang65/events{/privacy}","received_events_url":"https://api.github.com/users/hahuang65/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/BitSmithy/price_tracker/pulls/18/commits","review_comments_url":"https://api.github.com/repos/BitSmithy/price_tracker/pulls/18/comments","review_comment_url":"https://api.github.com/repos/BitSmithy/price_tracker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BitSmithy/price_tracker/issues/18/comments","statuses_url":"https://api.github.com/repos/BitSmithy/price_tracker/statuses/a6ce4562e94eba1426cf92c862fe42c93e46c015","head":{"label":"BitSmithy:da/data-model-products-retailers","ref":"da/data-model-products-retailers","sha":"a6ce4562e94eba1426cf92c862fe42c93e46c015","user":{"login":"BitSmithy","id":11422022,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNDIyMDIy","avatar_url":"https://avatars1.githubusercontent.com/u/11422022?v=4","gravatar_id":"","url":"https://api.github.com/users/BitSmithy","html_url":"https://github.com/BitSmithy","followers_url":"https://api.github.com/users/BitSmithy/followers","following_url":"https://api.github.com/users/BitSmithy/following{/other_user}","gists_url":"https://api.github.com/users/BitSmithy/gists{/gist_id}","starred_url":"https://api.github.com/users/BitSmithy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BitSmithy/subscriptions","organizations_url":"https://api.github.com/users/BitSmithy/orgs","repos_url":"https://api.github.com/users/BitSmithy/repos","events_url":"https://api.github.com/users/BitSmithy/events{/privacy}","received_events_url":"https://api.github.com/users/BitSmithy/received_events","type":"Organization","site_admin":false},"repo":{"id":157310383,"node_id":"MDEwOlJlcG9zaXRvcnkxNTczMTAzODM=","name":"price_tracker","full_name":"BitSmithy/price_tracker","private":false,"owner":{"login":"BitSmithy","id":11422022,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNDIyMDIy","avatar_url":"https://avatars1.githubusercontent.com/u/11422022?v=4","gravatar_id":"","url":"https://api.github.com/users/BitSmithy","html_url":"https://github.com/BitSmithy","followers_url":"https://api.github.com/users/BitSmithy/followers","following_url":"https://api.github.com/users/BitSmithy/following{/other_user}","gists_url":"https://api.github.com/users/BitSmithy/gists{/gist_id}","starred_url":"https://api.github.com/users/BitSmithy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BitSmithy/subscriptions","organizations_url":"https://api.github.com/users/BitSmithy/orgs","repos_url":"https://api.github.com/users/BitSmithy/repos","events_url":"https://api.github.com/users/BitSmithy/events{/privacy}","received_events_url":"https://api.github.com/users/BitSmithy/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/BitSmithy/price_tracker","description":"For tracking the prices... of things","fork":false,"url":"https://api.github.com/repos/BitSmithy/price_tracker","forks_url":"https://api.github.com/repos/BitSmithy/price_tracker/forks","keys_url":"https://api.github.com/repos/BitSmithy/price_tracker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BitSmithy/price_tracker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BitSmithy/price_tracker/teams","hooks_url":"https://api.github.com/repos/BitSmithy/price_tracker/hooks","issue_events_url":"https://api.github.com/repos/BitSmithy/price_tracker/issues/events{/number}","events_url":"https://api.github.com/repos/BitSmithy/price_tracker/events","assignees_url":"https://api.github.com/repos/BitSmithy/price_tracker/assignees{/user}","branches_url":"https://api.github.com/repos/BitSmithy/price_tracker/branches{/branch}","tags_url":"https://api.github.com/repos/BitSmithy/price_tracker/tags","blobs_url":"https://api.github.com/repos/BitSmithy/price_tracker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BitSmithy/price_tracker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BitSmithy/price_tracker/git/refs{/sha}","trees_url":"https://api.github.com/repos/BitSmithy/price_tracker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BitSmithy/price_tracker/statuses/{sha}","languages_url":"https://api.github.com/repos/BitSmithy/price_tracker/languages","stargazers_url":"https://api.github.com/repos/BitSmithy/price_tracker/stargazers","contributors_url":"https://api.github.com/repos/BitSmithy/price_tracker/contributors","subscribers_url":"https://api.github.com/repos/BitSmithy/price_tracker/subscribers","subscription_url":"https://api.github.com/repos/BitSmithy/price_tracker/subscription","commits_url":"https://api.github.com/repos/BitSmithy/price_tracker/commits{/sha}","git_commits_url":"https://api.github.com/repos/BitSmithy/price_tracker/git/commits{/sha}","comments_url":"https://api.github.com/repos/BitSmithy/price_tracker/comments{/number}","issue_comment_url":"https://api.github.com/repos/BitSmithy/price_tracker/issues/comments{/number}","contents_url":"https://api.github.com/repos/BitSmithy/price_tracker/contents/{+path}","compare_url":"https://api.github.com/repos/BitSmithy/price_tracker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BitSmithy/price_tracker/merges","archive_url":"https://api.github.com/repos/BitSmithy/price_tracker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BitSmithy/price_tracker/downloads","issues_url":"https://api.github.com/repos/BitSmithy/price_tracker/issues{/number}","pulls_url":"https://api.github.com/repos/BitSmithy/price_tracker/pulls{/number}","milestones_url":"https://api.github.com/repos/BitSmithy/price_tracker/milestones{/number}","notifications_url":"https://api.github.com/repos/BitSmithy/price_tracker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BitSmithy/price_tracker/labels{/name}","releases_url":"https://api.github.com/repos/BitSmithy/price_tracker/releases{/id}","deployments_url":"https://api.github.com/repos/BitSmithy/price_tracker/deployments","created_at":"2018-11-13T02:48:13Z","updated_at":"2018-11-28T02:58:55Z","pushed_at":"2018-12-14T06:15:32Z","git_url":"git://github.com/BitSmithy/price_tracker.git","ssh_url":"git@github.com:BitSmithy/price_tracker.git","clone_url":"https://github.com/BitSmithy/price_tracker.git","svn_url":"https://github.com/BitSmithy/price_tracker","homepage":null,"size":42,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":11,"license":null,"forks":0,"open_issues":11,"watchers":0,"default_branch":"master"}},"base":{"label":"BitSmithy:master","ref":"master","sha":"60e33796ba6031b8e20d4cd53acbe1d86f306381","user":{"login":"BitSmithy","id":11422022,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNDIyMDIy","avatar_url":"https://avatars1.githubusercontent.com/u/11422022?v=4","gravatar_id":"","url":"https://api.github.com/users/BitSmithy","html_url":"https://github.com/BitSmithy","followers_url":"https://api.github.com/users/BitSmithy/followers","following_url":"https://api.github.com/users/BitSmithy/following{/other_user}","gists_url":"https://api.github.com/users/BitSmithy/gists{/gist_id}","starred_url":"https://api.github.com/users/BitSmithy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BitSmithy/subscriptions","organizations_url":"https://api.github.com/users/BitSmithy/orgs","repos_url":"https://api.github.com/users/BitSmithy/repos","events_url":"https://api.github.com/users/BitSmithy/events{/privacy}","received_events_url":"https://api.github.com/users/BitSmithy/received_events","type":"Organization","site_admin":false},"repo":{"id":157310383,"node_id":"MDEwOlJlcG9zaXRvcnkxNTczMTAzODM=","name":"price_tracker","full_name":"BitSmithy/price_tracker","private":false,"owner":{"login":"BitSmithy","id":11422022,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNDIyMDIy","avatar_url":"https://avatars1.githubusercontent.com/u/11422022?v=4","gravatar_id":"","url":"https://api.github.com/users/BitSmithy","html_url":"https://github.com/BitSmithy","followers_url":"https://api.github.com/users/BitSmithy/followers","following_url":"https://api.github.com/users/BitSmithy/following{/other_user}","gists_url":"https://api.github.com/users/BitSmithy/gists{/gist_id}","starred_url":"https://api.github.com/users/BitSmithy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BitSmithy/subscriptions","organizations_url":"https://api.github.com/users/BitSmithy/orgs","repos_url":"https://api.github.com/users/BitSmithy/repos","events_url":"https://api.github.com/users/BitSmithy/events{/privacy}","received_events_url":"https://api.github.com/users/BitSmithy/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/BitSmithy/price_tracker","description":"For tracking the prices... of things","fork":false,"url":"https://api.github.com/repos/BitSmithy/price_tracker","forks_url":"https://api.github.com/repos/BitSmithy/price_tracker/forks","keys_url":"https://api.github.com/repos/BitSmithy/price_tracker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BitSmithy/price_tracker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BitSmithy/price_tracker/teams","hooks_url":"https://api.github.com/repos/BitSmithy/price_tracker/hooks","issue_events_url":"https://api.github.com/repos/BitSmithy/price_tracker/issues/events{/number}","events_url":"https://api.github.com/repos/BitSmithy/price_tracker/events","assignees_url":"https://api.github.com/repos/BitSmithy/price_tracker/assignees{/user}","branches_url":"https://api.github.com/repos/BitSmithy/price_tracker/branches{/branch}","tags_url":"https://api.github.com/repos/BitSmithy/price_tracker/tags","blobs_url":"https://api.github.com/repos/BitSmithy/price_tracker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BitSmithy/price_tracker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BitSmithy/price_tracker/git/refs{/sha}","trees_url":"https://api.github.com/repos/BitSmithy/price_tracker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BitSmithy/price_tracker/statuses/{sha}","languages_url":"https://api.github.com/repos/BitSmithy/price_tracker/languages","stargazers_url":"https://api.github.com/repos/BitSmithy/price_tracker/stargazers","contributors_url":"https://api.github.com/repos/BitSmithy/price_tracker/contributors","subscribers_url":"https://api.github.com/repos/BitSmithy/price_tracker/subscribers","subscription_url":"https://api.github.com/repos/BitSmithy/price_tracker/subscription","commits_url":"https://api.github.com/repos/BitSmithy/price_tracker/commits{/sha}","git_commits_url":"https://api.github.com/repos/BitSmithy/price_tracker/git/commits{/sha}","comments_url":"https://api.github.com/repos/BitSmithy/price_tracker/comments{/number}","issue_comment_url":"https://api.github.com/repos/BitSmithy/price_tracker/issues/comments{/number}","contents_url":"https://api.github.com/repos/BitSmithy/price_tracker/contents/{+path}","compare_url":"https://api.github.com/repos/BitSmithy/price_tracker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BitSmithy/price_tracker/merges","archive_url":"https://api.github.com/repos/BitSmithy/price_tracker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BitSmithy/price_tracker/downloads","issues_url":"https://api.github.com/repos/BitSmithy/price_tracker/issues{/number}","pulls_url":"https://api.github.com/repos/BitSmithy/price_tracker/pulls{/number}","milestones_url":"https://api.github.com/repos/BitSmithy/price_tracker/milestones{/number}","notifications_url":"https://api.github.com/repos/BitSmithy/price_tracker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BitSmithy/price_tracker/labels{/name}","releases_url":"https://api.github.com/repos/BitSmithy/price_tracker/releases{/id}","deployments_url":"https://api.github.com/repos/BitSmithy/price_tracker/deployments","created_at":"2018-11-13T02:48:13Z","updated_at":"2018-11-28T02:58:55Z","pushed_at":"2018-12-14T06:15:32Z","git_url":"git://github.com/BitSmithy/price_tracker.git","ssh_url":"git@github.com:BitSmithy/price_tracker.git","clone_url":"https://github.com/BitSmithy/price_tracker.git","svn_url":"https://github.com/BitSmithy/price_tracker","homepage":null,"size":42,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":11,"license":null,"forks":0,"open_issues":11,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BitSmithy/price_tracker/pulls/18"},"html":{"href":"https://github.com/BitSmithy/price_tracker/pull/18"},"issue":{"href":"https://api.github.com/repos/BitSmithy/price_tracker/issues/18"},"comments":{"href":"https://api.github.com/repos/BitSmithy/price_tracker/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/BitSmithy/price_tracker/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/BitSmithy/price_tracker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BitSmithy/price_tracker/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/BitSmithy/price_tracker/statuses/a6ce4562e94eba1426cf92c862fe42c93e46c015"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"hahuang65"}}