{"action":"created","comment":{"url":"https://api.github.com/repos/tradegecko/gecko/pulls/comments/45822720","id":45822720,"diff_hunk":"@@ -12,7 +12,8 @@ class PurchaseOrder < Base\n       belongs_to :billing_address,    class_name: \"Location\"\n \n       belongs_to :currency\n-      belongs_to :default_price_list, class_name: \"PriceList\"","path":"lib/gecko/record/purchase_order.rb","position":4,"original_position":4,"commit_id":"4b3d2ee15ede205c831eb884adec4f4b98a075d8","original_commit_id":"4b3d2ee15ede205c831eb884adec4f4b98a075d8","user":{"login":"lcpriest","id":735593,"avatar_url":"https://avatars.githubusercontent.com/u/735593?v=3","gravatar_id":"","url":"https://api.github.com/users/lcpriest","html_url":"https://github.com/lcpriest","followers_url":"https://api.github.com/users/lcpriest/followers","following_url":"https://api.github.com/users/lcpriest/following{/other_user}","gists_url":"https://api.github.com/users/lcpriest/gists{/gist_id}","starred_url":"https://api.github.com/users/lcpriest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lcpriest/subscriptions","organizations_url":"https://api.github.com/users/lcpriest/orgs","repos_url":"https://api.github.com/users/lcpriest/repos","events_url":"https://api.github.com/users/lcpriest/events{/privacy}","received_events_url":"https://api.github.com/users/lcpriest/received_events","type":"User","site_admin":false},"body":"PriceList isn't defined.","created_at":"2015-11-25T02:14:36Z","updated_at":"2015-11-25T02:14:36Z","html_url":"https://github.com/tradegecko/gecko/pull/29#discussion_r45822720","pull_request_url":"https://api.github.com/repos/tradegecko/gecko/pulls/29","_links":{"self":{"href":"https://api.github.com/repos/tradegecko/gecko/pulls/comments/45822720"},"html":{"href":"https://github.com/tradegecko/gecko/pull/29#discussion_r45822720"},"pull_request":{"href":"https://api.github.com/repos/tradegecko/gecko/pulls/29"}}},"pull_request":{"url":"https://api.github.com/repos/tradegecko/gecko/pulls/29","id":25951764,"html_url":"https://github.com/tradegecko/gecko/pull/29","diff_url":"https://github.com/tradegecko/gecko/pull/29.diff","patch_url":"https://github.com/tradegecko/gecko/pull/29.patch","issue_url":"https://api.github.com/repos/tradegecko/gecko/issues/29","number":29,"state":"open","locked":false,"title":"Refactoring for serializers","user":{"login":"lcpriest","id":735593,"avatar_url":"https://avatars.githubusercontent.com/u/735593?v=3","gravatar_id":"","url":"https://api.github.com/users/lcpriest","html_url":"https://github.com/lcpriest","followers_url":"https://api.github.com/users/lcpriest/followers","following_url":"https://api.github.com/users/lcpriest/following{/other_user}","gists_url":"https://api.github.com/users/lcpriest/gists{/gist_id}","starred_url":"https://api.github.com/users/lcpriest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lcpriest/subscriptions","organizations_url":"https://api.github.com/users/lcpriest/orgs","repos_url":"https://api.github.com/users/lcpriest/repos","events_url":"https://api.github.com/users/lcpriest/events{/privacy}","received_events_url":"https://api.github.com/users/lcpriest/received_events","type":"User","site_admin":false},"body":null,"created_at":"2014-12-12T04:25:32Z","updated_at":"2015-11-25T02:14:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0677fae4bb48396d907bdba114e19b9e92a4eaf0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tradegecko/gecko/pulls/29/commits","review_comments_url":"https://api.github.com/repos/tradegecko/gecko/pulls/29/comments","review_comment_url":"https://api.github.com/repos/tradegecko/gecko/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tradegecko/gecko/issues/29/comments","statuses_url":"https://api.github.com/repos/tradegecko/gecko/statuses/4b3d2ee15ede205c831eb884adec4f4b98a075d8","head":{"label":"tradegecko:deprecations","ref":"deprecations","sha":"4b3d2ee15ede205c831eb884adec4f4b98a075d8","user":{"login":"tradegecko","id":1814492,"avatar_url":"https://avatars.githubusercontent.com/u/1814492?v=3","gravatar_id":"","url":"https://api.github.com/users/tradegecko","html_url":"https://github.com/tradegecko","followers_url":"https://api.github.com/users/tradegecko/followers","following_url":"https://api.github.com/users/tradegecko/following{/other_user}","gists_url":"https://api.github.com/users/tradegecko/gists{/gist_id}","starred_url":"https://api.github.com/users/tradegecko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tradegecko/subscriptions","organizations_url":"https://api.github.com/users/tradegecko/orgs","repos_url":"https://api.github.com/users/tradegecko/repos","events_url":"https://api.github.com/users/tradegecko/events{/privacy}","received_events_url":"https://api.github.com/users/tradegecko/received_events","type":"Organization","site_admin":false},"repo":{"id":15856065,"name":"gecko","full_name":"tradegecko/gecko","owner":{"login":"tradegecko","id":1814492,"avatar_url":"https://avatars.githubusercontent.com/u/1814492?v=3","gravatar_id":"","url":"https://api.github.com/users/tradegecko","html_url":"https://github.com/tradegecko","followers_url":"https://api.github.com/users/tradegecko/followers","following_url":"https://api.github.com/users/tradegecko/following{/other_user}","gists_url":"https://api.github.com/users/tradegecko/gists{/gist_id}","starred_url":"https://api.github.com/users/tradegecko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tradegecko/subscriptions","organizations_url":"https://api.github.com/users/tradegecko/orgs","repos_url":"https://api.github.com/users/tradegecko/repos","events_url":"https://api.github.com/users/tradegecko/events{/privacy}","received_events_url":"https://api.github.com/users/tradegecko/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tradegecko/gecko","description":"A Ruby interface to the TradeGecko API.","fork":false,"url":"https://api.github.com/repos/tradegecko/gecko","forks_url":"https://api.github.com/repos/tradegecko/gecko/forks","keys_url":"https://api.github.com/repos/tradegecko/gecko/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tradegecko/gecko/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tradegecko/gecko/teams","hooks_url":"https://api.github.com/repos/tradegecko/gecko/hooks","issue_events_url":"https://api.github.com/repos/tradegecko/gecko/issues/events{/number}","events_url":"https://api.github.com/repos/tradegecko/gecko/events","assignees_url":"https://api.github.com/repos/tradegecko/gecko/assignees{/user}","branches_url":"https://api.github.com/repos/tradegecko/gecko/branches{/branch}","tags_url":"https://api.github.com/repos/tradegecko/gecko/tags","blobs_url":"https://api.github.com/repos/tradegecko/gecko/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tradegecko/gecko/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tradegecko/gecko/git/refs{/sha}","trees_url":"https://api.github.com/repos/tradegecko/gecko/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tradegecko/gecko/statuses/{sha}","languages_url":"https://api.github.com/repos/tradegecko/gecko/languages","stargazers_url":"https://api.github.com/repos/tradegecko/gecko/stargazers","contributors_url":"https://api.github.com/repos/tradegecko/gecko/contributors","subscribers_url":"https://api.github.com/repos/tradegecko/gecko/subscribers","subscription_url":"https://api.github.com/repos/tradegecko/gecko/subscription","commits_url":"https://api.github.com/repos/tradegecko/gecko/commits{/sha}","git_commits_url":"https://api.github.com/repos/tradegecko/gecko/git/commits{/sha}","comments_url":"https://api.github.com/repos/tradegecko/gecko/comments{/number}","issue_comment_url":"https://api.github.com/repos/tradegecko/gecko/issues/comments{/number}","contents_url":"https://api.github.com/repos/tradegecko/gecko/contents/{+path}","compare_url":"https://api.github.com/repos/tradegecko/gecko/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tradegecko/gecko/merges","archive_url":"https://api.github.com/repos/tradegecko/gecko/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tradegecko/gecko/downloads","issues_url":"https://api.github.com/repos/tradegecko/gecko/issues{/number}","pulls_url":"https://api.github.com/repos/tradegecko/gecko/pulls{/number}","milestones_url":"https://api.github.com/repos/tradegecko/gecko/milestones{/number}","notifications_url":"https://api.github.com/repos/tradegecko/gecko/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tradegecko/gecko/labels{/name}","releases_url":"https://api.github.com/repos/tradegecko/gecko/releases{/id}","created_at":"2014-01-13T02:37:26Z","updated_at":"2015-07-24T22:30:32Z","pushed_at":"2015-11-25T02:13:52Z","git_url":"git://github.com/tradegecko/gecko.git","ssh_url":"git@github.com:tradegecko/gecko.git","clone_url":"https://github.com/tradegecko/gecko.git","svn_url":"https://github.com/tradegecko/gecko","homepage":null,"size":232,"stargazers_count":8,"watchers_count":8,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":7,"forks":6,"open_issues":7,"watchers":8,"default_branch":"master"}},"base":{"label":"tradegecko:master","ref":"master","sha":"2be74b46e4eebcfbaa6c161eabe6704b37371375","user":{"login":"tradegecko","id":1814492,"avatar_url":"https://avatars.githubusercontent.com/u/1814492?v=3","gravatar_id":"","url":"https://api.github.com/users/tradegecko","html_url":"https://github.com/tradegecko","followers_url":"https://api.github.com/users/tradegecko/followers","following_url":"https://api.github.com/users/tradegecko/following{/other_user}","gists_url":"https://api.github.com/users/tradegecko/gists{/gist_id}","starred_url":"https://api.github.com/users/tradegecko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tradegecko/subscriptions","organizations_url":"https://api.github.com/users/tradegecko/orgs","repos_url":"https://api.github.com/users/tradegecko/repos","events_url":"https://api.github.com/users/tradegecko/events{/privacy}","received_events_url":"https://api.github.com/users/tradegecko/received_events","type":"Organization","site_admin":false},"repo":{"id":15856065,"name":"gecko","full_name":"tradegecko/gecko","owner":{"login":"tradegecko","id":1814492,"avatar_url":"https://avatars.githubusercontent.com/u/1814492?v=3","gravatar_id":"","url":"https://api.github.com/users/tradegecko","html_url":"https://github.com/tradegecko","followers_url":"https://api.github.com/users/tradegecko/followers","following_url":"https://api.github.com/users/tradegecko/following{/other_user}","gists_url":"https://api.github.com/users/tradegecko/gists{/gist_id}","starred_url":"https://api.github.com/users/tradegecko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tradegecko/subscriptions","organizations_url":"https://api.github.com/users/tradegecko/orgs","repos_url":"https://api.github.com/users/tradegecko/repos","events_url":"https://api.github.com/users/tradegecko/events{/privacy}","received_events_url":"https://api.github.com/users/tradegecko/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tradegecko/gecko","description":"A Ruby interface to the TradeGecko API.","fork":false,"url":"https://api.github.com/repos/tradegecko/gecko","forks_url":"https://api.github.com/repos/tradegecko/gecko/forks","keys_url":"https://api.github.com/repos/tradegecko/gecko/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tradegecko/gecko/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tradegecko/gecko/teams","hooks_url":"https://api.github.com/repos/tradegecko/gecko/hooks","issue_events_url":"https://api.github.com/repos/tradegecko/gecko/issues/events{/number}","events_url":"https://api.github.com/repos/tradegecko/gecko/events","assignees_url":"https://api.github.com/repos/tradegecko/gecko/assignees{/user}","branches_url":"https://api.github.com/repos/tradegecko/gecko/branches{/branch}","tags_url":"https://api.github.com/repos/tradegecko/gecko/tags","blobs_url":"https://api.github.com/repos/tradegecko/gecko/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tradegecko/gecko/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tradegecko/gecko/git/refs{/sha}","trees_url":"https://api.github.com/repos/tradegecko/gecko/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tradegecko/gecko/statuses/{sha}","languages_url":"https://api.github.com/repos/tradegecko/gecko/languages","stargazers_url":"https://api.github.com/repos/tradegecko/gecko/stargazers","contributors_url":"https://api.github.com/repos/tradegecko/gecko/contributors","subscribers_url":"https://api.github.com/repos/tradegecko/gecko/subscribers","subscription_url":"https://api.github.com/repos/tradegecko/gecko/subscription","commits_url":"https://api.github.com/repos/tradegecko/gecko/commits{/sha}","git_commits_url":"https://api.github.com/repos/tradegecko/gecko/git/commits{/sha}","comments_url":"https://api.github.com/repos/tradegecko/gecko/comments{/number}","issue_comment_url":"https://api.github.com/repos/tradegecko/gecko/issues/comments{/number}","contents_url":"https://api.github.com/repos/tradegecko/gecko/contents/{+path}","compare_url":"https://api.github.com/repos/tradegecko/gecko/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tradegecko/gecko/merges","archive_url":"https://api.github.com/repos/tradegecko/gecko/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tradegecko/gecko/downloads","issues_url":"https://api.github.com/repos/tradegecko/gecko/issues{/number}","pulls_url":"https://api.github.com/repos/tradegecko/gecko/pulls{/number}","milestones_url":"https://api.github.com/repos/tradegecko/gecko/milestones{/number}","notifications_url":"https://api.github.com/repos/tradegecko/gecko/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tradegecko/gecko/labels{/name}","releases_url":"https://api.github.com/repos/tradegecko/gecko/releases{/id}","created_at":"2014-01-13T02:37:26Z","updated_at":"2015-07-24T22:30:32Z","pushed_at":"2015-11-25T02:13:52Z","git_url":"git://github.com/tradegecko/gecko.git","ssh_url":"git@github.com:tradegecko/gecko.git","clone_url":"https://github.com/tradegecko/gecko.git","svn_url":"https://github.com/tradegecko/gecko","homepage":null,"size":232,"stargazers_count":8,"watchers_count":8,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":7,"forks":6,"open_issues":7,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tradegecko/gecko/pulls/29"},"html":{"href":"https://github.com/tradegecko/gecko/pull/29"},"issue":{"href":"https://api.github.com/repos/tradegecko/gecko/issues/29"},"comments":{"href":"https://api.github.com/repos/tradegecko/gecko/issues/29/comments"},"review_comments":{"href":"https://api.github.com/repos/tradegecko/gecko/pulls/29/comments"},"review_comment":{"href":"https://api.github.com/repos/tradegecko/gecko/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tradegecko/gecko/pulls/29/commits"},"statuses":{"href":"https://api.github.com/repos/tradegecko/gecko/statuses/4b3d2ee15ede205c831eb884adec4f4b98a075d8"}}}}