{"action":"created","comment":{"url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/pulls/comments/70486168","id":70486168,"diff_hunk":"@@ -0,0 +1,35 @@\n+require_relative './lib/model/product.rb'\n+require_relative './lib/services/fetch_products.rb'\n+require_relative './lib/services/fetch_product.rb'\n+require_relative './lib/model/warehouse.rb'\n+require_relative './lib/services/create_warehouse.rb'\n+require_relative './lib/services/delete_warehouse.rb'","path":"shop.rb","position":6,"original_position":6,"commit_id":"e33aee1450503bf13f68b8a8d8ca4da7de0fb24d","original_commit_id":"e33aee1450503bf13f68b8a8d8ca4da7de0fb24d","user":{"login":"crappylime","id":7953310,"avatar_url":"https://avatars.githubusercontent.com/u/7953310?v=3","gravatar_id":"","url":"https://api.github.com/users/crappylime","html_url":"https://github.com/crappylime","followers_url":"https://api.github.com/users/crappylime/followers","following_url":"https://api.github.com/users/crappylime/following{/other_user}","gists_url":"https://api.github.com/users/crappylime/gists{/gist_id}","starred_url":"https://api.github.com/users/crappylime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crappylime/subscriptions","organizations_url":"https://api.github.com/users/crappylime/orgs","repos_url":"https://api.github.com/users/crappylime/repos","events_url":"https://api.github.com/users/crappylime/events{/privacy}","received_events_url":"https://api.github.com/users/crappylime/received_events","type":"User","site_admin":false},"body":"If I am not wrong, instead you can also use here `Dir[\"./lib/**/*.rb\"].each{ |file| require file }`, was at the lecture (yesterday, 2nd video, 4:30sec). However it's not a must ;)","created_at":"2016-07-12T17:47:51Z","updated_at":"2016-07-12T17:47:51Z","html_url":"https://github.com/taralalukasz/Ragnarson--warehouse/pull/2#discussion_r70486168","pull_request_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/pulls/comments/70486168"},"html":{"href":"https://github.com/taralalukasz/Ragnarson--warehouse/pull/2#discussion_r70486168"},"pull_request":{"href":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/pulls/2","id":77152195,"html_url":"https://github.com/taralalukasz/Ragnarson--warehouse/pull/2","diff_url":"https://github.com/taralalukasz/Ragnarson--warehouse/pull/2.diff","patch_url":"https://github.com/taralalukasz/Ragnarson--warehouse/pull/2.patch","issue_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/issues/2","number":2,"state":"open","locked":false,"title":"Changed incomplete version + basic tests","user":{"login":"taralalukasz","id":19408454,"avatar_url":"https://avatars.githubusercontent.com/u/19408454?v=3","gravatar_id":"","url":"https://api.github.com/users/taralalukasz","html_url":"https://github.com/taralalukasz","followers_url":"https://api.github.com/users/taralalukasz/followers","following_url":"https://api.github.com/users/taralalukasz/following{/other_user}","gists_url":"https://api.github.com/users/taralalukasz/gists{/gist_id}","starred_url":"https://api.github.com/users/taralalukasz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taralalukasz/subscriptions","organizations_url":"https://api.github.com/users/taralalukasz/orgs","repos_url":"https://api.github.com/users/taralalukasz/repos","events_url":"https://api.github.com/users/taralalukasz/events{/privacy}","received_events_url":"https://api.github.com/users/taralalukasz/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-12T16:51:29Z","updated_at":"2016-07-12T17:47:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"879004bd4df9cf50b10eb8bd608cf2a9e449f88d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/pulls/2/commits","review_comments_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/pulls/2/comments","review_comment_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/pulls/comments{/number}","comments_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/issues/2/comments","statuses_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/statuses/e33aee1450503bf13f68b8a8d8ca4da7de0fb24d","head":{"label":"taralalukasz:final-version","ref":"final-version","sha":"e33aee1450503bf13f68b8a8d8ca4da7de0fb24d","user":{"login":"taralalukasz","id":19408454,"avatar_url":"https://avatars.githubusercontent.com/u/19408454?v=3","gravatar_id":"","url":"https://api.github.com/users/taralalukasz","html_url":"https://github.com/taralalukasz","followers_url":"https://api.github.com/users/taralalukasz/followers","following_url":"https://api.github.com/users/taralalukasz/following{/other_user}","gists_url":"https://api.github.com/users/taralalukasz/gists{/gist_id}","starred_url":"https://api.github.com/users/taralalukasz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taralalukasz/subscriptions","organizations_url":"https://api.github.com/users/taralalukasz/orgs","repos_url":"https://api.github.com/users/taralalukasz/repos","events_url":"https://api.github.com/users/taralalukasz/events{/privacy}","received_events_url":"https://api.github.com/users/taralalukasz/received_events","type":"User","site_admin":false},"repo":{"id":62965704,"name":"Ragnarson--warehouse","full_name":"taralalukasz/Ragnarson--warehouse","owner":{"login":"taralalukasz","id":19408454,"avatar_url":"https://avatars.githubusercontent.com/u/19408454?v=3","gravatar_id":"","url":"https://api.github.com/users/taralalukasz","html_url":"https://github.com/taralalukasz","followers_url":"https://api.github.com/users/taralalukasz/followers","following_url":"https://api.github.com/users/taralalukasz/following{/other_user}","gists_url":"https://api.github.com/users/taralalukasz/gists{/gist_id}","starred_url":"https://api.github.com/users/taralalukasz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taralalukasz/subscriptions","organizations_url":"https://api.github.com/users/taralalukasz/orgs","repos_url":"https://api.github.com/users/taralalukasz/repos","events_url":"https://api.github.com/users/taralalukasz/events{/privacy}","received_events_url":"https://api.github.com/users/taralalukasz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/taralalukasz/Ragnarson--warehouse","description":"Project from the 1st week","fork":false,"url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse","forks_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/forks","keys_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/teams","hooks_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/hooks","issue_events_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/issues/events{/number}","events_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/events","assignees_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/assignees{/user}","branches_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/branches{/branch}","tags_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/tags","blobs_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/git/refs{/sha}","trees_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/statuses/{sha}","languages_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/languages","stargazers_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/stargazers","contributors_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/contributors","subscribers_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/subscribers","subscription_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/subscription","commits_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/commits{/sha}","git_commits_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/git/commits{/sha}","comments_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/comments{/number}","issue_comment_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/issues/comments{/number}","contents_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/contents/{+path}","compare_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/merges","archive_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/downloads","issues_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/issues{/number}","pulls_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/pulls{/number}","milestones_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/milestones{/number}","notifications_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/labels{/name}","releases_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/releases{/id}","deployments_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/deployments","created_at":"2016-07-09T19:27:32Z","updated_at":"2016-07-09T19:32:42Z","pushed_at":"2016-07-12T16:51:29Z","git_url":"git://github.com/taralalukasz/Ragnarson--warehouse.git","ssh_url":"git@github.com:taralalukasz/Ragnarson--warehouse.git","clone_url":"https://github.com/taralalukasz/Ragnarson--warehouse.git","svn_url":"https://github.com/taralalukasz/Ragnarson--warehouse","homepage":null,"size":8,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"taralalukasz:master","ref":"master","sha":"5126682268d16ed69594e8f0f63737f1f2d95e94","user":{"login":"taralalukasz","id":19408454,"avatar_url":"https://avatars.githubusercontent.com/u/19408454?v=3","gravatar_id":"","url":"https://api.github.com/users/taralalukasz","html_url":"https://github.com/taralalukasz","followers_url":"https://api.github.com/users/taralalukasz/followers","following_url":"https://api.github.com/users/taralalukasz/following{/other_user}","gists_url":"https://api.github.com/users/taralalukasz/gists{/gist_id}","starred_url":"https://api.github.com/users/taralalukasz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taralalukasz/subscriptions","organizations_url":"https://api.github.com/users/taralalukasz/orgs","repos_url":"https://api.github.com/users/taralalukasz/repos","events_url":"https://api.github.com/users/taralalukasz/events{/privacy}","received_events_url":"https://api.github.com/users/taralalukasz/received_events","type":"User","site_admin":false},"repo":{"id":62965704,"name":"Ragnarson--warehouse","full_name":"taralalukasz/Ragnarson--warehouse","owner":{"login":"taralalukasz","id":19408454,"avatar_url":"https://avatars.githubusercontent.com/u/19408454?v=3","gravatar_id":"","url":"https://api.github.com/users/taralalukasz","html_url":"https://github.com/taralalukasz","followers_url":"https://api.github.com/users/taralalukasz/followers","following_url":"https://api.github.com/users/taralalukasz/following{/other_user}","gists_url":"https://api.github.com/users/taralalukasz/gists{/gist_id}","starred_url":"https://api.github.com/users/taralalukasz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taralalukasz/subscriptions","organizations_url":"https://api.github.com/users/taralalukasz/orgs","repos_url":"https://api.github.com/users/taralalukasz/repos","events_url":"https://api.github.com/users/taralalukasz/events{/privacy}","received_events_url":"https://api.github.com/users/taralalukasz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/taralalukasz/Ragnarson--warehouse","description":"Project from the 1st week","fork":false,"url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse","forks_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/forks","keys_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/teams","hooks_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/hooks","issue_events_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/issues/events{/number}","events_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/events","assignees_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/assignees{/user}","branches_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/branches{/branch}","tags_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/tags","blobs_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/git/refs{/sha}","trees_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/statuses/{sha}","languages_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/languages","stargazers_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/stargazers","contributors_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/contributors","subscribers_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/subscribers","subscription_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/subscription","commits_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/commits{/sha}","git_commits_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/git/commits{/sha}","comments_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/comments{/number}","issue_comment_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/issues/comments{/number}","contents_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/contents/{+path}","compare_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/merges","archive_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/downloads","issues_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/issues{/number}","pulls_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/pulls{/number}","milestones_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/milestones{/number}","notifications_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/labels{/name}","releases_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/releases{/id}","deployments_url":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/deployments","created_at":"2016-07-09T19:27:32Z","updated_at":"2016-07-09T19:32:42Z","pushed_at":"2016-07-12T16:51:29Z","git_url":"git://github.com/taralalukasz/Ragnarson--warehouse.git","ssh_url":"git@github.com:taralalukasz/Ragnarson--warehouse.git","clone_url":"https://github.com/taralalukasz/Ragnarson--warehouse.git","svn_url":"https://github.com/taralalukasz/Ragnarson--warehouse","homepage":null,"size":8,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/pulls/2"},"html":{"href":"https://github.com/taralalukasz/Ragnarson--warehouse/pull/2"},"issue":{"href":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/issues/2"},"comments":{"href":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/taralalukasz/Ragnarson--warehouse/statuses/e33aee1450503bf13f68b8a8d8ca4da7de0fb24d"}}}}
{"actor":{"display_login":"crappylime"}}