{"action":"created","comment":{"url":"https://api.github.com/repos/sealink/quicktravel_client/pulls/comments/59490867","id":59490867,"diff_hunk":"@@ -0,0 +1,28 @@\n+require 'quick_travel/adapter'\n+require 'quick_travel/base_product'\n+\n+module QuickTravel\n+  class ScheduledTripProduct < BaseProduct","path":"lib/quick_travel/scheduled_trip_product.rb","position":5,"original_position":5,"commit_id":"82cff368fb99e00fa8e1265489c7c2b5616cfc3f","original_commit_id":"f83bef5206b7f49bdf954f7fa1c464beac9ce92e","user":{"login":"AlessandroBerardi","id":212956,"avatar_url":"https://avatars.githubusercontent.com/u/212956?v=3","gravatar_id":"","url":"https://api.github.com/users/AlessandroBerardi","html_url":"https://github.com/AlessandroBerardi","followers_url":"https://api.github.com/users/AlessandroBerardi/followers","following_url":"https://api.github.com/users/AlessandroBerardi/following{/other_user}","gists_url":"https://api.github.com/users/AlessandroBerardi/gists{/gist_id}","starred_url":"https://api.github.com/users/AlessandroBerardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlessandroBerardi/subscriptions","organizations_url":"https://api.github.com/users/AlessandroBerardi/orgs","repos_url":"https://api.github.com/users/AlessandroBerardi/repos","events_url":"https://api.github.com/users/AlessandroBerardi/events{/privacy}","received_events_url":"https://api.github.com/users/AlessandroBerardi/received_events","type":"User","site_admin":false},"body":"Just a suggestion:\r\n\r\nInstead of ``BaseProduct`` and ``ScheduledTripProduct`` use namespacing, i.e.: ``Product::Base`` and ``Product::ScheduledTrip``","created_at":"2016-04-13T04:14:02Z","updated_at":"2016-04-13T04:14:02Z","html_url":"https://github.com/sealink/quicktravel_client/pull/37#discussion_r59490867","pull_request_url":"https://api.github.com/repos/sealink/quicktravel_client/pulls/37","_links":{"self":{"href":"https://api.github.com/repos/sealink/quicktravel_client/pulls/comments/59490867"},"html":{"href":"https://github.com/sealink/quicktravel_client/pull/37#discussion_r59490867"},"pull_request":{"href":"https://api.github.com/repos/sealink/quicktravel_client/pulls/37"}}},"pull_request":{"url":"https://api.github.com/repos/sealink/quicktravel_client/pulls/37","id":66250173,"html_url":"https://github.com/sealink/quicktravel_client/pull/37","diff_url":"https://github.com/sealink/quicktravel_client/pull/37.diff","patch_url":"https://github.com/sealink/quicktravel_client/pull/37.patch","issue_url":"https://api.github.com/repos/sealink/quicktravel_client/issues/37","number":37,"state":"open","locked":false,"title":"Split basic_product into base_product/scheduled_trip_product","user":{"login":"mnoack","id":35966,"avatar_url":"https://avatars.githubusercontent.com/u/35966?v=3","gravatar_id":"","url":"https://api.github.com/users/mnoack","html_url":"https://github.com/mnoack","followers_url":"https://api.github.com/users/mnoack/followers","following_url":"https://api.github.com/users/mnoack/following{/other_user}","gists_url":"https://api.github.com/users/mnoack/gists{/gist_id}","starred_url":"https://api.github.com/users/mnoack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mnoack/subscriptions","organizations_url":"https://api.github.com/users/mnoack/orgs","repos_url":"https://api.github.com/users/mnoack/repos","events_url":"https://api.github.com/users/mnoack/events{/privacy}","received_events_url":"https://api.github.com/users/mnoack/received_events","type":"User","site_admin":false},"body":"Once merged and released I can do:\r\nhttps://bitbucket.org/team-sealink/booking-app/pull-requests/new?source=fix_booking_products_2&t=1","created_at":"2016-04-13T00:36:30Z","updated_at":"2016-04-13T04:14:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e963af7ed20355d0265614386de4686152f31734","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sealink/quicktravel_client/pulls/37/commits","review_comments_url":"https://api.github.com/repos/sealink/quicktravel_client/pulls/37/comments","review_comment_url":"https://api.github.com/repos/sealink/quicktravel_client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sealink/quicktravel_client/issues/37/comments","statuses_url":"https://api.github.com/repos/sealink/quicktravel_client/statuses/82cff368fb99e00fa8e1265489c7c2b5616cfc3f","head":{"label":"sealink:fix_searches","ref":"fix_searches","sha":"82cff368fb99e00fa8e1265489c7c2b5616cfc3f","user":{"login":"sealink","id":113649,"avatar_url":"https://avatars.githubusercontent.com/u/113649?v=3","gravatar_id":"","url":"https://api.github.com/users/sealink","html_url":"https://github.com/sealink","followers_url":"https://api.github.com/users/sealink/followers","following_url":"https://api.github.com/users/sealink/following{/other_user}","gists_url":"https://api.github.com/users/sealink/gists{/gist_id}","starred_url":"https://api.github.com/users/sealink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sealink/subscriptions","organizations_url":"https://api.github.com/users/sealink/orgs","repos_url":"https://api.github.com/users/sealink/repos","events_url":"https://api.github.com/users/sealink/events{/privacy}","received_events_url":"https://api.github.com/users/sealink/received_events","type":"Organization","site_admin":false},"repo":{"id":31522156,"name":"quicktravel_client","full_name":"sealink/quicktravel_client","owner":{"login":"sealink","id":113649,"avatar_url":"https://avatars.githubusercontent.com/u/113649?v=3","gravatar_id":"","url":"https://api.github.com/users/sealink","html_url":"https://github.com/sealink","followers_url":"https://api.github.com/users/sealink/followers","following_url":"https://api.github.com/users/sealink/following{/other_user}","gists_url":"https://api.github.com/users/sealink/gists{/gist_id}","starred_url":"https://api.github.com/users/sealink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sealink/subscriptions","organizations_url":"https://api.github.com/users/sealink/orgs","repos_url":"https://api.github.com/users/sealink/repos","events_url":"https://api.github.com/users/sealink/events{/privacy}","received_events_url":"https://api.github.com/users/sealink/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sealink/quicktravel_client","description":"Ruby Quick Travel Client","fork":false,"url":"https://api.github.com/repos/sealink/quicktravel_client","forks_url":"https://api.github.com/repos/sealink/quicktravel_client/forks","keys_url":"https://api.github.com/repos/sealink/quicktravel_client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sealink/quicktravel_client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sealink/quicktravel_client/teams","hooks_url":"https://api.github.com/repos/sealink/quicktravel_client/hooks","issue_events_url":"https://api.github.com/repos/sealink/quicktravel_client/issues/events{/number}","events_url":"https://api.github.com/repos/sealink/quicktravel_client/events","assignees_url":"https://api.github.com/repos/sealink/quicktravel_client/assignees{/user}","branches_url":"https://api.github.com/repos/sealink/quicktravel_client/branches{/branch}","tags_url":"https://api.github.com/repos/sealink/quicktravel_client/tags","blobs_url":"https://api.github.com/repos/sealink/quicktravel_client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sealink/quicktravel_client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sealink/quicktravel_client/git/refs{/sha}","trees_url":"https://api.github.com/repos/sealink/quicktravel_client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sealink/quicktravel_client/statuses/{sha}","languages_url":"https://api.github.com/repos/sealink/quicktravel_client/languages","stargazers_url":"https://api.github.com/repos/sealink/quicktravel_client/stargazers","contributors_url":"https://api.github.com/repos/sealink/quicktravel_client/contributors","subscribers_url":"https://api.github.com/repos/sealink/quicktravel_client/subscribers","subscription_url":"https://api.github.com/repos/sealink/quicktravel_client/subscription","commits_url":"https://api.github.com/repos/sealink/quicktravel_client/commits{/sha}","git_commits_url":"https://api.github.com/repos/sealink/quicktravel_client/git/commits{/sha}","comments_url":"https://api.github.com/repos/sealink/quicktravel_client/comments{/number}","issue_comment_url":"https://api.github.com/repos/sealink/quicktravel_client/issues/comments{/number}","contents_url":"https://api.github.com/repos/sealink/quicktravel_client/contents/{+path}","compare_url":"https://api.github.com/repos/sealink/quicktravel_client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sealink/quicktravel_client/merges","archive_url":"https://api.github.com/repos/sealink/quicktravel_client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sealink/quicktravel_client/downloads","issues_url":"https://api.github.com/repos/sealink/quicktravel_client/issues{/number}","pulls_url":"https://api.github.com/repos/sealink/quicktravel_client/pulls{/number}","milestones_url":"https://api.github.com/repos/sealink/quicktravel_client/milestones{/number}","notifications_url":"https://api.github.com/repos/sealink/quicktravel_client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sealink/quicktravel_client/labels{/name}","releases_url":"https://api.github.com/repos/sealink/quicktravel_client/releases{/id}","deployments_url":"https://api.github.com/repos/sealink/quicktravel_client/deployments","created_at":"2015-03-02T03:40:54Z","updated_at":"2016-01-13T03:34:27Z","pushed_at":"2016-04-13T04:13:56Z","git_url":"git://github.com/sealink/quicktravel_client.git","ssh_url":"git@github.com:sealink/quicktravel_client.git","clone_url":"https://github.com/sealink/quicktravel_client.git","svn_url":"https://github.com/sealink/quicktravel_client","homepage":null,"size":215,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"sealink:master","ref":"master","sha":"23a0bf1d92abf41cd25eea52d9d99d3d316ffdd0","user":{"login":"sealink","id":113649,"avatar_url":"https://avatars.githubusercontent.com/u/113649?v=3","gravatar_id":"","url":"https://api.github.com/users/sealink","html_url":"https://github.com/sealink","followers_url":"https://api.github.com/users/sealink/followers","following_url":"https://api.github.com/users/sealink/following{/other_user}","gists_url":"https://api.github.com/users/sealink/gists{/gist_id}","starred_url":"https://api.github.com/users/sealink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sealink/subscriptions","organizations_url":"https://api.github.com/users/sealink/orgs","repos_url":"https://api.github.com/users/sealink/repos","events_url":"https://api.github.com/users/sealink/events{/privacy}","received_events_url":"https://api.github.com/users/sealink/received_events","type":"Organization","site_admin":false},"repo":{"id":31522156,"name":"quicktravel_client","full_name":"sealink/quicktravel_client","owner":{"login":"sealink","id":113649,"avatar_url":"https://avatars.githubusercontent.com/u/113649?v=3","gravatar_id":"","url":"https://api.github.com/users/sealink","html_url":"https://github.com/sealink","followers_url":"https://api.github.com/users/sealink/followers","following_url":"https://api.github.com/users/sealink/following{/other_user}","gists_url":"https://api.github.com/users/sealink/gists{/gist_id}","starred_url":"https://api.github.com/users/sealink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sealink/subscriptions","organizations_url":"https://api.github.com/users/sealink/orgs","repos_url":"https://api.github.com/users/sealink/repos","events_url":"https://api.github.com/users/sealink/events{/privacy}","received_events_url":"https://api.github.com/users/sealink/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sealink/quicktravel_client","description":"Ruby Quick Travel Client","fork":false,"url":"https://api.github.com/repos/sealink/quicktravel_client","forks_url":"https://api.github.com/repos/sealink/quicktravel_client/forks","keys_url":"https://api.github.com/repos/sealink/quicktravel_client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sealink/quicktravel_client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sealink/quicktravel_client/teams","hooks_url":"https://api.github.com/repos/sealink/quicktravel_client/hooks","issue_events_url":"https://api.github.com/repos/sealink/quicktravel_client/issues/events{/number}","events_url":"https://api.github.com/repos/sealink/quicktravel_client/events","assignees_url":"https://api.github.com/repos/sealink/quicktravel_client/assignees{/user}","branches_url":"https://api.github.com/repos/sealink/quicktravel_client/branches{/branch}","tags_url":"https://api.github.com/repos/sealink/quicktravel_client/tags","blobs_url":"https://api.github.com/repos/sealink/quicktravel_client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sealink/quicktravel_client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sealink/quicktravel_client/git/refs{/sha}","trees_url":"https://api.github.com/repos/sealink/quicktravel_client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sealink/quicktravel_client/statuses/{sha}","languages_url":"https://api.github.com/repos/sealink/quicktravel_client/languages","stargazers_url":"https://api.github.com/repos/sealink/quicktravel_client/stargazers","contributors_url":"https://api.github.com/repos/sealink/quicktravel_client/contributors","subscribers_url":"https://api.github.com/repos/sealink/quicktravel_client/subscribers","subscription_url":"https://api.github.com/repos/sealink/quicktravel_client/subscription","commits_url":"https://api.github.com/repos/sealink/quicktravel_client/commits{/sha}","git_commits_url":"https://api.github.com/repos/sealink/quicktravel_client/git/commits{/sha}","comments_url":"https://api.github.com/repos/sealink/quicktravel_client/comments{/number}","issue_comment_url":"https://api.github.com/repos/sealink/quicktravel_client/issues/comments{/number}","contents_url":"https://api.github.com/repos/sealink/quicktravel_client/contents/{+path}","compare_url":"https://api.github.com/repos/sealink/quicktravel_client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sealink/quicktravel_client/merges","archive_url":"https://api.github.com/repos/sealink/quicktravel_client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sealink/quicktravel_client/downloads","issues_url":"https://api.github.com/repos/sealink/quicktravel_client/issues{/number}","pulls_url":"https://api.github.com/repos/sealink/quicktravel_client/pulls{/number}","milestones_url":"https://api.github.com/repos/sealink/quicktravel_client/milestones{/number}","notifications_url":"https://api.github.com/repos/sealink/quicktravel_client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sealink/quicktravel_client/labels{/name}","releases_url":"https://api.github.com/repos/sealink/quicktravel_client/releases{/id}","deployments_url":"https://api.github.com/repos/sealink/quicktravel_client/deployments","created_at":"2015-03-02T03:40:54Z","updated_at":"2016-01-13T03:34:27Z","pushed_at":"2016-04-13T04:13:56Z","git_url":"git://github.com/sealink/quicktravel_client.git","ssh_url":"git@github.com:sealink/quicktravel_client.git","clone_url":"https://github.com/sealink/quicktravel_client.git","svn_url":"https://github.com/sealink/quicktravel_client","homepage":null,"size":215,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sealink/quicktravel_client/pulls/37"},"html":{"href":"https://github.com/sealink/quicktravel_client/pull/37"},"issue":{"href":"https://api.github.com/repos/sealink/quicktravel_client/issues/37"},"comments":{"href":"https://api.github.com/repos/sealink/quicktravel_client/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/sealink/quicktravel_client/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/sealink/quicktravel_client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sealink/quicktravel_client/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/sealink/quicktravel_client/statuses/82cff368fb99e00fa8e1265489c7c2b5616cfc3f"}}}}