{"action":"created","comment":{"url":"https://api.github.com/repos/normanrs/black_thursday/pulls/comments/216546690","pull_request_review_id":154050584,"id":216546690,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNjU0NjY5MA==","diff_hunk":"@@ -8,12 +12,28 @@ class SalesEngine\n   attr_reader :filepath\n   attr_accessor :merchants\n \n-  def initialize(filepath)\n+  def initialize\n     @filepath = filepath\n+\n   end\n \n   def self.from_csv(filepath)\n-    @merchants = MerchantRepository.new(filepath[:merchants])\n-    # @items = ItemRepository.new(filepath[:items]\n+    se = SalesEngine.new\n+    merchants_array =  se.create_instance_of_merchants(se.load(filepath[:merchants]))\n+    items_array = se.create_instance_of_items(se.load(filepath[:items]))\n+    binding.pry","path":"lib/sales_engine.rb","position":25,"original_position":25,"commit_id":"5078c618f9dd56cbbb506615beb481d939c6a638","original_commit_id":"5078c618f9dd56cbbb506615beb481d939c6a638","user":{"login":"houndci-bot","id":6697940,"node_id":"MDQ6VXNlcjY2OTc5NDA=","avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Lint/Debugger: Remove debugger entry point binding.pry.","created_at":"2018-09-11T05:06:50Z","updated_at":"2018-09-11T05:06:51Z","html_url":"https://github.com/normanrs/black_thursday/pull/7#discussion_r216546690","pull_request_url":"https://api.github.com/repos/normanrs/black_thursday/pulls/7","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/normanrs/black_thursday/pulls/comments/216546690"},"html":{"href":"https://github.com/normanrs/black_thursday/pull/7#discussion_r216546690"},"pull_request":{"href":"https://api.github.com/repos/normanrs/black_thursday/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/normanrs/black_thursday/pulls/7","id":214513140,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0NTEzMTQw","html_url":"https://github.com/normanrs/black_thursday/pull/7","diff_url":"https://github.com/normanrs/black_thursday/pull/7.diff","patch_url":"https://github.com/normanrs/black_thursday/pull/7.patch","issue_url":"https://api.github.com/repos/normanrs/black_thursday/issues/7","number":7,"state":"open","locked":false,"title":"Salesengine","user":{"login":"TheCraftedGem","id":38091448,"node_id":"MDQ6VXNlcjM4MDkxNDQ4","avatar_url":"https://avatars0.githubusercontent.com/u/38091448?v=4","gravatar_id":"","url":"https://api.github.com/users/TheCraftedGem","html_url":"https://github.com/TheCraftedGem","followers_url":"https://api.github.com/users/TheCraftedGem/followers","following_url":"https://api.github.com/users/TheCraftedGem/following{/other_user}","gists_url":"https://api.github.com/users/TheCraftedGem/gists{/gist_id}","starred_url":"https://api.github.com/users/TheCraftedGem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheCraftedGem/subscriptions","organizations_url":"https://api.github.com/users/TheCraftedGem/orgs","repos_url":"https://api.github.com/users/TheCraftedGem/repos","events_url":"https://api.github.com/users/TheCraftedGem/events{/privacy}","received_events_url":"https://api.github.com/users/TheCraftedGem/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-11T05:06:36Z","updated_at":"2018-09-11T05:06:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/normanrs/black_thursday/pulls/7/commits","review_comments_url":"https://api.github.com/repos/normanrs/black_thursday/pulls/7/comments","review_comment_url":"https://api.github.com/repos/normanrs/black_thursday/pulls/comments{/number}","comments_url":"https://api.github.com/repos/normanrs/black_thursday/issues/7/comments","statuses_url":"https://api.github.com/repos/normanrs/black_thursday/statuses/5078c618f9dd56cbbb506615beb481d939c6a638","head":{"label":"normanrs:salesengine","ref":"salesengine","sha":"5078c618f9dd56cbbb506615beb481d939c6a638","user":{"login":"normanrs","id":39920230,"node_id":"MDQ6VXNlcjM5OTIwMjMw","avatar_url":"https://avatars2.githubusercontent.com/u/39920230?v=4","gravatar_id":"","url":"https://api.github.com/users/normanrs","html_url":"https://github.com/normanrs","followers_url":"https://api.github.com/users/normanrs/followers","following_url":"https://api.github.com/users/normanrs/following{/other_user}","gists_url":"https://api.github.com/users/normanrs/gists{/gist_id}","starred_url":"https://api.github.com/users/normanrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/normanrs/subscriptions","organizations_url":"https://api.github.com/users/normanrs/orgs","repos_url":"https://api.github.com/users/normanrs/repos","events_url":"https://api.github.com/users/normanrs/events{/privacy}","received_events_url":"https://api.github.com/users/normanrs/received_events","type":"User","site_admin":false},"repo":{"id":147860170,"node_id":"MDEwOlJlcG9zaXRvcnkxNDc4NjAxNzA=","name":"black_thursday","full_name":"normanrs/black_thursday","owner":{"login":"normanrs","id":39920230,"node_id":"MDQ6VXNlcjM5OTIwMjMw","avatar_url":"https://avatars2.githubusercontent.com/u/39920230?v=4","gravatar_id":"","url":"https://api.github.com/users/normanrs","html_url":"https://github.com/normanrs","followers_url":"https://api.github.com/users/normanrs/followers","following_url":"https://api.github.com/users/normanrs/following{/other_user}","gists_url":"https://api.github.com/users/normanrs/gists{/gist_id}","starred_url":"https://api.github.com/users/normanrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/normanrs/subscriptions","organizations_url":"https://api.github.com/users/normanrs/orgs","repos_url":"https://api.github.com/users/normanrs/repos","events_url":"https://api.github.com/users/normanrs/events{/privacy}","received_events_url":"https://api.github.com/users/normanrs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/normanrs/black_thursday","description":null,"fork":true,"url":"https://api.github.com/repos/normanrs/black_thursday","forks_url":"https://api.github.com/repos/normanrs/black_thursday/forks","keys_url":"https://api.github.com/repos/normanrs/black_thursday/keys{/key_id}","collaborators_url":"https://api.github.com/repos/normanrs/black_thursday/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/normanrs/black_thursday/teams","hooks_url":"https://api.github.com/repos/normanrs/black_thursday/hooks","issue_events_url":"https://api.github.com/repos/normanrs/black_thursday/issues/events{/number}","events_url":"https://api.github.com/repos/normanrs/black_thursday/events","assignees_url":"https://api.github.com/repos/normanrs/black_thursday/assignees{/user}","branches_url":"https://api.github.com/repos/normanrs/black_thursday/branches{/branch}","tags_url":"https://api.github.com/repos/normanrs/black_thursday/tags","blobs_url":"https://api.github.com/repos/normanrs/black_thursday/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/normanrs/black_thursday/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/normanrs/black_thursday/git/refs{/sha}","trees_url":"https://api.github.com/repos/normanrs/black_thursday/git/trees{/sha}","statuses_url":"https://api.github.com/repos/normanrs/black_thursday/statuses/{sha}","languages_url":"https://api.github.com/repos/normanrs/black_thursday/languages","stargazers_url":"https://api.github.com/repos/normanrs/black_thursday/stargazers","contributors_url":"https://api.github.com/repos/normanrs/black_thursday/contributors","subscribers_url":"https://api.github.com/repos/normanrs/black_thursday/subscribers","subscription_url":"https://api.github.com/repos/normanrs/black_thursday/subscription","commits_url":"https://api.github.com/repos/normanrs/black_thursday/commits{/sha}","git_commits_url":"https://api.github.com/repos/normanrs/black_thursday/git/commits{/sha}","comments_url":"https://api.github.com/repos/normanrs/black_thursday/comments{/number}","issue_comment_url":"https://api.github.com/repos/normanrs/black_thursday/issues/comments{/number}","contents_url":"https://api.github.com/repos/normanrs/black_thursday/contents/{+path}","compare_url":"https://api.github.com/repos/normanrs/black_thursday/compare/{base}...{head}","merges_url":"https://api.github.com/repos/normanrs/black_thursday/merges","archive_url":"https://api.github.com/repos/normanrs/black_thursday/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/normanrs/black_thursday/downloads","issues_url":"https://api.github.com/repos/normanrs/black_thursday/issues{/number}","pulls_url":"https://api.github.com/repos/normanrs/black_thursday/pulls{/number}","milestones_url":"https://api.github.com/repos/normanrs/black_thursday/milestones{/number}","notifications_url":"https://api.github.com/repos/normanrs/black_thursday/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/normanrs/black_thursday/labels{/name}","releases_url":"https://api.github.com/repos/normanrs/black_thursday/releases{/id}","deployments_url":"https://api.github.com/repos/normanrs/black_thursday/deployments","created_at":"2018-09-07T18:23:59Z","updated_at":"2018-09-10T22:15:04Z","pushed_at":"2018-09-11T05:06:36Z","git_url":"git://github.com/normanrs/black_thursday.git","ssh_url":"git@github.com:normanrs/black_thursday.git","clone_url":"https://github.com/normanrs/black_thursday.git","svn_url":"https://github.com/normanrs/black_thursday","homepage":null,"size":1699,"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":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"normanrs:master","ref":"master","sha":"40770d249f28292967be170ece4d3791a89f1cb9","user":{"login":"normanrs","id":39920230,"node_id":"MDQ6VXNlcjM5OTIwMjMw","avatar_url":"https://avatars2.githubusercontent.com/u/39920230?v=4","gravatar_id":"","url":"https://api.github.com/users/normanrs","html_url":"https://github.com/normanrs","followers_url":"https://api.github.com/users/normanrs/followers","following_url":"https://api.github.com/users/normanrs/following{/other_user}","gists_url":"https://api.github.com/users/normanrs/gists{/gist_id}","starred_url":"https://api.github.com/users/normanrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/normanrs/subscriptions","organizations_url":"https://api.github.com/users/normanrs/orgs","repos_url":"https://api.github.com/users/normanrs/repos","events_url":"https://api.github.com/users/normanrs/events{/privacy}","received_events_url":"https://api.github.com/users/normanrs/received_events","type":"User","site_admin":false},"repo":{"id":147860170,"node_id":"MDEwOlJlcG9zaXRvcnkxNDc4NjAxNzA=","name":"black_thursday","full_name":"normanrs/black_thursday","owner":{"login":"normanrs","id":39920230,"node_id":"MDQ6VXNlcjM5OTIwMjMw","avatar_url":"https://avatars2.githubusercontent.com/u/39920230?v=4","gravatar_id":"","url":"https://api.github.com/users/normanrs","html_url":"https://github.com/normanrs","followers_url":"https://api.github.com/users/normanrs/followers","following_url":"https://api.github.com/users/normanrs/following{/other_user}","gists_url":"https://api.github.com/users/normanrs/gists{/gist_id}","starred_url":"https://api.github.com/users/normanrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/normanrs/subscriptions","organizations_url":"https://api.github.com/users/normanrs/orgs","repos_url":"https://api.github.com/users/normanrs/repos","events_url":"https://api.github.com/users/normanrs/events{/privacy}","received_events_url":"https://api.github.com/users/normanrs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/normanrs/black_thursday","description":null,"fork":true,"url":"https://api.github.com/repos/normanrs/black_thursday","forks_url":"https://api.github.com/repos/normanrs/black_thursday/forks","keys_url":"https://api.github.com/repos/normanrs/black_thursday/keys{/key_id}","collaborators_url":"https://api.github.com/repos/normanrs/black_thursday/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/normanrs/black_thursday/teams","hooks_url":"https://api.github.com/repos/normanrs/black_thursday/hooks","issue_events_url":"https://api.github.com/repos/normanrs/black_thursday/issues/events{/number}","events_url":"https://api.github.com/repos/normanrs/black_thursday/events","assignees_url":"https://api.github.com/repos/normanrs/black_thursday/assignees{/user}","branches_url":"https://api.github.com/repos/normanrs/black_thursday/branches{/branch}","tags_url":"https://api.github.com/repos/normanrs/black_thursday/tags","blobs_url":"https://api.github.com/repos/normanrs/black_thursday/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/normanrs/black_thursday/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/normanrs/black_thursday/git/refs{/sha}","trees_url":"https://api.github.com/repos/normanrs/black_thursday/git/trees{/sha}","statuses_url":"https://api.github.com/repos/normanrs/black_thursday/statuses/{sha}","languages_url":"https://api.github.com/repos/normanrs/black_thursday/languages","stargazers_url":"https://api.github.com/repos/normanrs/black_thursday/stargazers","contributors_url":"https://api.github.com/repos/normanrs/black_thursday/contributors","subscribers_url":"https://api.github.com/repos/normanrs/black_thursday/subscribers","subscription_url":"https://api.github.com/repos/normanrs/black_thursday/subscription","commits_url":"https://api.github.com/repos/normanrs/black_thursday/commits{/sha}","git_commits_url":"https://api.github.com/repos/normanrs/black_thursday/git/commits{/sha}","comments_url":"https://api.github.com/repos/normanrs/black_thursday/comments{/number}","issue_comment_url":"https://api.github.com/repos/normanrs/black_thursday/issues/comments{/number}","contents_url":"https://api.github.com/repos/normanrs/black_thursday/contents/{+path}","compare_url":"https://api.github.com/repos/normanrs/black_thursday/compare/{base}...{head}","merges_url":"https://api.github.com/repos/normanrs/black_thursday/merges","archive_url":"https://api.github.com/repos/normanrs/black_thursday/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/normanrs/black_thursday/downloads","issues_url":"https://api.github.com/repos/normanrs/black_thursday/issues{/number}","pulls_url":"https://api.github.com/repos/normanrs/black_thursday/pulls{/number}","milestones_url":"https://api.github.com/repos/normanrs/black_thursday/milestones{/number}","notifications_url":"https://api.github.com/repos/normanrs/black_thursday/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/normanrs/black_thursday/labels{/name}","releases_url":"https://api.github.com/repos/normanrs/black_thursday/releases{/id}","deployments_url":"https://api.github.com/repos/normanrs/black_thursday/deployments","created_at":"2018-09-07T18:23:59Z","updated_at":"2018-09-10T22:15:04Z","pushed_at":"2018-09-11T05:06:36Z","git_url":"git://github.com/normanrs/black_thursday.git","ssh_url":"git@github.com:normanrs/black_thursday.git","clone_url":"https://github.com/normanrs/black_thursday.git","svn_url":"https://github.com/normanrs/black_thursday","homepage":null,"size":1699,"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":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/normanrs/black_thursday/pulls/7"},"html":{"href":"https://github.com/normanrs/black_thursday/pull/7"},"issue":{"href":"https://api.github.com/repos/normanrs/black_thursday/issues/7"},"comments":{"href":"https://api.github.com/repos/normanrs/black_thursday/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/normanrs/black_thursday/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/normanrs/black_thursday/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/normanrs/black_thursday/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/normanrs/black_thursday/statuses/5078c618f9dd56cbbb506615beb481d939c6a638"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"houndci-bot"}}