{"action":"opened","number":12,"pull_request":{"url":"https://api.github.com/repos/mcschatz/sales_engine/pulls/12","id":41958880,"html_url":"https://github.com/mcschatz/sales_engine/pull/12","diff_url":"https://github.com/mcschatz/sales_engine/pull/12.diff","patch_url":"https://github.com/mcschatz/sales_engine/pull/12.patch","issue_url":"https://api.github.com/repos/mcschatz/sales_engine/issues/12","number":12,"state":"open","locked":false,"title":"Merchant invoice","user":{"login":"bad6e","id":10092063,"avatar_url":"https://avatars.githubusercontent.com/u/10092063?v=3","gravatar_id":"","url":"https://api.github.com/users/bad6e","html_url":"https://github.com/bad6e","followers_url":"https://api.github.com/users/bad6e/followers","following_url":"https://api.github.com/users/bad6e/following{/other_user}","gists_url":"https://api.github.com/users/bad6e/gists{/gist_id}","starred_url":"https://api.github.com/users/bad6e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bad6e/subscriptions","organizations_url":"https://api.github.com/users/bad6e/orgs","repos_url":"https://api.github.com/users/bad6e/repos","events_url":"https://api.github.com/users/bad6e/events{/privacy}","received_events_url":"https://api.github.com/users/bad6e/received_events","type":"User","site_admin":false},"body":"Hi Mimi \r\n\r\nI did the following \r\n\r\n- customer method for invoice relationship\r\n-merchant method for invoice relationship ","created_at":"2015-08-08T19:08:11Z","updated_at":"2015-08-08T19:08:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mcschatz/sales_engine/pulls/12/commits","review_comments_url":"https://api.github.com/repos/mcschatz/sales_engine/pulls/12/comments","review_comment_url":"https://api.github.com/repos/mcschatz/sales_engine/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mcschatz/sales_engine/issues/12/comments","statuses_url":"https://api.github.com/repos/mcschatz/sales_engine/statuses/3c5305ef6cf4993656607e372959adb6318a857a","head":{"label":"mcschatz:merchant_invoice","ref":"merchant_invoice","sha":"3c5305ef6cf4993656607e372959adb6318a857a","user":{"login":"mcschatz","id":8889575,"avatar_url":"https://avatars.githubusercontent.com/u/8889575?v=3","gravatar_id":"","url":"https://api.github.com/users/mcschatz","html_url":"https://github.com/mcschatz","followers_url":"https://api.github.com/users/mcschatz/followers","following_url":"https://api.github.com/users/mcschatz/following{/other_user}","gists_url":"https://api.github.com/users/mcschatz/gists{/gist_id}","starred_url":"https://api.github.com/users/mcschatz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcschatz/subscriptions","organizations_url":"https://api.github.com/users/mcschatz/orgs","repos_url":"https://api.github.com/users/mcschatz/repos","events_url":"https://api.github.com/users/mcschatz/events{/privacy}","received_events_url":"https://api.github.com/users/mcschatz/received_events","type":"User","site_admin":false},"repo":{"id":40147496,"name":"sales_engine","full_name":"mcschatz/sales_engine","owner":{"login":"mcschatz","id":8889575,"avatar_url":"https://avatars.githubusercontent.com/u/8889575?v=3","gravatar_id":"","url":"https://api.github.com/users/mcschatz","html_url":"https://github.com/mcschatz","followers_url":"https://api.github.com/users/mcschatz/followers","following_url":"https://api.github.com/users/mcschatz/following{/other_user}","gists_url":"https://api.github.com/users/mcschatz/gists{/gist_id}","starred_url":"https://api.github.com/users/mcschatz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcschatz/subscriptions","organizations_url":"https://api.github.com/users/mcschatz/orgs","repos_url":"https://api.github.com/users/mcschatz/repos","events_url":"https://api.github.com/users/mcschatz/events{/privacy}","received_events_url":"https://api.github.com/users/mcschatz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mcschatz/sales_engine","description":"Module 1: sales_engine","fork":false,"url":"https://api.github.com/repos/mcschatz/sales_engine","forks_url":"https://api.github.com/repos/mcschatz/sales_engine/forks","keys_url":"https://api.github.com/repos/mcschatz/sales_engine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mcschatz/sales_engine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mcschatz/sales_engine/teams","hooks_url":"https://api.github.com/repos/mcschatz/sales_engine/hooks","issue_events_url":"https://api.github.com/repos/mcschatz/sales_engine/issues/events{/number}","events_url":"https://api.github.com/repos/mcschatz/sales_engine/events","assignees_url":"https://api.github.com/repos/mcschatz/sales_engine/assignees{/user}","branches_url":"https://api.github.com/repos/mcschatz/sales_engine/branches{/branch}","tags_url":"https://api.github.com/repos/mcschatz/sales_engine/tags","blobs_url":"https://api.github.com/repos/mcschatz/sales_engine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mcschatz/sales_engine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mcschatz/sales_engine/git/refs{/sha}","trees_url":"https://api.github.com/repos/mcschatz/sales_engine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mcschatz/sales_engine/statuses/{sha}","languages_url":"https://api.github.com/repos/mcschatz/sales_engine/languages","stargazers_url":"https://api.github.com/repos/mcschatz/sales_engine/stargazers","contributors_url":"https://api.github.com/repos/mcschatz/sales_engine/contributors","subscribers_url":"https://api.github.com/repos/mcschatz/sales_engine/subscribers","subscription_url":"https://api.github.com/repos/mcschatz/sales_engine/subscription","commits_url":"https://api.github.com/repos/mcschatz/sales_engine/commits{/sha}","git_commits_url":"https://api.github.com/repos/mcschatz/sales_engine/git/commits{/sha}","comments_url":"https://api.github.com/repos/mcschatz/sales_engine/comments{/number}","issue_comment_url":"https://api.github.com/repos/mcschatz/sales_engine/issues/comments{/number}","contents_url":"https://api.github.com/repos/mcschatz/sales_engine/contents/{+path}","compare_url":"https://api.github.com/repos/mcschatz/sales_engine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mcschatz/sales_engine/merges","archive_url":"https://api.github.com/repos/mcschatz/sales_engine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mcschatz/sales_engine/downloads","issues_url":"https://api.github.com/repos/mcschatz/sales_engine/issues{/number}","pulls_url":"https://api.github.com/repos/mcschatz/sales_engine/pulls{/number}","milestones_url":"https://api.github.com/repos/mcschatz/sales_engine/milestones{/number}","notifications_url":"https://api.github.com/repos/mcschatz/sales_engine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mcschatz/sales_engine/labels{/name}","releases_url":"https://api.github.com/repos/mcschatz/sales_engine/releases{/id}","created_at":"2015-08-03T20:55:19Z","updated_at":"2015-08-06T18:40:34Z","pushed_at":"2015-08-08T19:07:01Z","git_url":"git://github.com/mcschatz/sales_engine.git","ssh_url":"git@github.com:mcschatz/sales_engine.git","clone_url":"https://github.com/mcschatz/sales_engine.git","svn_url":"https://github.com/mcschatz/sales_engine","homepage":null,"size":0,"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":"mcschatz:master","ref":"master","sha":"9bbcb8c3bde9cd7f150e62a0f1156a7764284ed6","user":{"login":"mcschatz","id":8889575,"avatar_url":"https://avatars.githubusercontent.com/u/8889575?v=3","gravatar_id":"","url":"https://api.github.com/users/mcschatz","html_url":"https://github.com/mcschatz","followers_url":"https://api.github.com/users/mcschatz/followers","following_url":"https://api.github.com/users/mcschatz/following{/other_user}","gists_url":"https://api.github.com/users/mcschatz/gists{/gist_id}","starred_url":"https://api.github.com/users/mcschatz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcschatz/subscriptions","organizations_url":"https://api.github.com/users/mcschatz/orgs","repos_url":"https://api.github.com/users/mcschatz/repos","events_url":"https://api.github.com/users/mcschatz/events{/privacy}","received_events_url":"https://api.github.com/users/mcschatz/received_events","type":"User","site_admin":false},"repo":{"id":40147496,"name":"sales_engine","full_name":"mcschatz/sales_engine","owner":{"login":"mcschatz","id":8889575,"avatar_url":"https://avatars.githubusercontent.com/u/8889575?v=3","gravatar_id":"","url":"https://api.github.com/users/mcschatz","html_url":"https://github.com/mcschatz","followers_url":"https://api.github.com/users/mcschatz/followers","following_url":"https://api.github.com/users/mcschatz/following{/other_user}","gists_url":"https://api.github.com/users/mcschatz/gists{/gist_id}","starred_url":"https://api.github.com/users/mcschatz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcschatz/subscriptions","organizations_url":"https://api.github.com/users/mcschatz/orgs","repos_url":"https://api.github.com/users/mcschatz/repos","events_url":"https://api.github.com/users/mcschatz/events{/privacy}","received_events_url":"https://api.github.com/users/mcschatz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mcschatz/sales_engine","description":"Module 1: sales_engine","fork":false,"url":"https://api.github.com/repos/mcschatz/sales_engine","forks_url":"https://api.github.com/repos/mcschatz/sales_engine/forks","keys_url":"https://api.github.com/repos/mcschatz/sales_engine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mcschatz/sales_engine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mcschatz/sales_engine/teams","hooks_url":"https://api.github.com/repos/mcschatz/sales_engine/hooks","issue_events_url":"https://api.github.com/repos/mcschatz/sales_engine/issues/events{/number}","events_url":"https://api.github.com/repos/mcschatz/sales_engine/events","assignees_url":"https://api.github.com/repos/mcschatz/sales_engine/assignees{/user}","branches_url":"https://api.github.com/repos/mcschatz/sales_engine/branches{/branch}","tags_url":"https://api.github.com/repos/mcschatz/sales_engine/tags","blobs_url":"https://api.github.com/repos/mcschatz/sales_engine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mcschatz/sales_engine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mcschatz/sales_engine/git/refs{/sha}","trees_url":"https://api.github.com/repos/mcschatz/sales_engine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mcschatz/sales_engine/statuses/{sha}","languages_url":"https://api.github.com/repos/mcschatz/sales_engine/languages","stargazers_url":"https://api.github.com/repos/mcschatz/sales_engine/stargazers","contributors_url":"https://api.github.com/repos/mcschatz/sales_engine/contributors","subscribers_url":"https://api.github.com/repos/mcschatz/sales_engine/subscribers","subscription_url":"https://api.github.com/repos/mcschatz/sales_engine/subscription","commits_url":"https://api.github.com/repos/mcschatz/sales_engine/commits{/sha}","git_commits_url":"https://api.github.com/repos/mcschatz/sales_engine/git/commits{/sha}","comments_url":"https://api.github.com/repos/mcschatz/sales_engine/comments{/number}","issue_comment_url":"https://api.github.com/repos/mcschatz/sales_engine/issues/comments{/number}","contents_url":"https://api.github.com/repos/mcschatz/sales_engine/contents/{+path}","compare_url":"https://api.github.com/repos/mcschatz/sales_engine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mcschatz/sales_engine/merges","archive_url":"https://api.github.com/repos/mcschatz/sales_engine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mcschatz/sales_engine/downloads","issues_url":"https://api.github.com/repos/mcschatz/sales_engine/issues{/number}","pulls_url":"https://api.github.com/repos/mcschatz/sales_engine/pulls{/number}","milestones_url":"https://api.github.com/repos/mcschatz/sales_engine/milestones{/number}","notifications_url":"https://api.github.com/repos/mcschatz/sales_engine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mcschatz/sales_engine/labels{/name}","releases_url":"https://api.github.com/repos/mcschatz/sales_engine/releases{/id}","created_at":"2015-08-03T20:55:19Z","updated_at":"2015-08-06T18:40:34Z","pushed_at":"2015-08-08T19:07:01Z","git_url":"git://github.com/mcschatz/sales_engine.git","ssh_url":"git@github.com:mcschatz/sales_engine.git","clone_url":"https://github.com/mcschatz/sales_engine.git","svn_url":"https://github.com/mcschatz/sales_engine","homepage":null,"size":0,"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/mcschatz/sales_engine/pulls/12"},"html":{"href":"https://github.com/mcschatz/sales_engine/pull/12"},"issue":{"href":"https://api.github.com/repos/mcschatz/sales_engine/issues/12"},"comments":{"href":"https://api.github.com/repos/mcschatz/sales_engine/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/mcschatz/sales_engine/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/mcschatz/sales_engine/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mcschatz/sales_engine/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/mcschatz/sales_engine/statuses/3c5305ef6cf4993656607e372959adb6318a857a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":27,"deletions":0,"changed_files":4}}