{"action":"created","comment":{"url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/pulls/comments/51477136","id":51477136,"diff_hunk":"@@ -5,4 +5,5 @@\n   resources :books, only: [:index, :show]\n   devise_for :users, controllers: { registrations: \"registrations\" }\n   resources :pending_purchases, except: [:new]\n+  resources :charges","path":"config/routes.rb","position":4,"original_position":4,"commit_id":"d5916b8028b9d181c3717f591425ef1cc548bada","original_commit_id":"d5916b8028b9d181c3717f591425ef1cc548bada","user":{"login":"dkniffin","id":1680080,"avatar_url":"https://avatars.githubusercontent.com/u/1680080?v=3","gravatar_id":"","url":"https://api.github.com/users/dkniffin","html_url":"https://github.com/dkniffin","followers_url":"https://api.github.com/users/dkniffin/followers","following_url":"https://api.github.com/users/dkniffin/following{/other_user}","gists_url":"https://api.github.com/users/dkniffin/gists{/gist_id}","starred_url":"https://api.github.com/users/dkniffin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkniffin/subscriptions","organizations_url":"https://api.github.com/users/dkniffin/orgs","repos_url":"https://api.github.com/users/dkniffin/repos","events_url":"https://api.github.com/users/dkniffin/events{/privacy}","received_events_url":"https://api.github.com/users/dkniffin/received_events","type":"User","site_admin":false},"body":"I'm not sure, but I don't think you're using all of the endpoints (index, new, create, show, edit, update, delete). You should disable whichever ones you're not using.","created_at":"2016-02-01T20:40:25Z","updated_at":"2016-02-01T20:40:25Z","html_url":"https://github.com/smashingboxes/ruti-bookstore/pull/9#discussion_r51477136","pull_request_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/smashingboxes/ruti-bookstore/pulls/comments/51477136"},"html":{"href":"https://github.com/smashingboxes/ruti-bookstore/pull/9#discussion_r51477136"},"pull_request":{"href":"https://api.github.com/repos/smashingboxes/ruti-bookstore/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/pulls/9","id":57671690,"html_url":"https://github.com/smashingboxes/ruti-bookstore/pull/9","diff_url":"https://github.com/smashingboxes/ruti-bookstore/pull/9.diff","patch_url":"https://github.com/smashingboxes/ruti-bookstore/pull/9.patch","issue_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/issues/9","number":9,"state":"open","locked":false,"title":"Stripe integration","user":{"login":"Ru-T","id":12813762,"avatar_url":"https://avatars.githubusercontent.com/u/12813762?v=3","gravatar_id":"","url":"https://api.github.com/users/Ru-T","html_url":"https://github.com/Ru-T","followers_url":"https://api.github.com/users/Ru-T/followers","following_url":"https://api.github.com/users/Ru-T/following{/other_user}","gists_url":"https://api.github.com/users/Ru-T/gists{/gist_id}","starred_url":"https://api.github.com/users/Ru-T/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ru-T/subscriptions","organizations_url":"https://api.github.com/users/Ru-T/orgs","repos_url":"https://api.github.com/users/Ru-T/repos","events_url":"https://api.github.com/users/Ru-T/events{/privacy}","received_events_url":"https://api.github.com/users/Ru-T/received_events","type":"User","site_admin":false},"body":"## What Changed? \r\n* Configure Stripe checkout for purchasing books in the bookstore\r\n* Create charges controller to mark pending purchase as purchased and charge customer\r\n* Only show purchases that are still pending in user's cart\r\n\r\n## Why? \r\n* So users can buy books and get smarter!","created_at":"2016-01-29T16:46:35Z","updated_at":"2016-02-01T20:40:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f545125d5e4912eaaf28b967ce110501f1242976","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/pulls/9/commits","review_comments_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/pulls/9/comments","review_comment_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/pulls/comments{/number}","comments_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/issues/9/comments","statuses_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/statuses/d5916b8028b9d181c3717f591425ef1cc548bada","head":{"label":"smashingboxes:stripe_integration","ref":"stripe_integration","sha":"d5916b8028b9d181c3717f591425ef1cc548bada","user":{"login":"smashingboxes","id":784473,"avatar_url":"https://avatars.githubusercontent.com/u/784473?v=3","gravatar_id":"","url":"https://api.github.com/users/smashingboxes","html_url":"https://github.com/smashingboxes","followers_url":"https://api.github.com/users/smashingboxes/followers","following_url":"https://api.github.com/users/smashingboxes/following{/other_user}","gists_url":"https://api.github.com/users/smashingboxes/gists{/gist_id}","starred_url":"https://api.github.com/users/smashingboxes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smashingboxes/subscriptions","organizations_url":"https://api.github.com/users/smashingboxes/orgs","repos_url":"https://api.github.com/users/smashingboxes/repos","events_url":"https://api.github.com/users/smashingboxes/events{/privacy}","received_events_url":"https://api.github.com/users/smashingboxes/received_events","type":"Organization","site_admin":false},"repo":{"id":50459758,"name":"ruti-bookstore","full_name":"smashingboxes/ruti-bookstore","owner":{"login":"smashingboxes","id":784473,"avatar_url":"https://avatars.githubusercontent.com/u/784473?v=3","gravatar_id":"","url":"https://api.github.com/users/smashingboxes","html_url":"https://github.com/smashingboxes","followers_url":"https://api.github.com/users/smashingboxes/followers","following_url":"https://api.github.com/users/smashingboxes/following{/other_user}","gists_url":"https://api.github.com/users/smashingboxes/gists{/gist_id}","starred_url":"https://api.github.com/users/smashingboxes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smashingboxes/subscriptions","organizations_url":"https://api.github.com/users/smashingboxes/orgs","repos_url":"https://api.github.com/users/smashingboxes/repos","events_url":"https://api.github.com/users/smashingboxes/events{/privacy}","received_events_url":"https://api.github.com/users/smashingboxes/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/smashingboxes/ruti-bookstore","description":"","fork":false,"url":"https://api.github.com/repos/smashingboxes/ruti-bookstore","forks_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/forks","keys_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/teams","hooks_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/hooks","issue_events_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/issues/events{/number}","events_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/events","assignees_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/assignees{/user}","branches_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/branches{/branch}","tags_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/tags","blobs_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/git/refs{/sha}","trees_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/statuses/{sha}","languages_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/languages","stargazers_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/stargazers","contributors_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/contributors","subscribers_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/subscribers","subscription_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/subscription","commits_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/commits{/sha}","git_commits_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/git/commits{/sha}","comments_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/comments{/number}","issue_comment_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/issues/comments{/number}","contents_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/contents/{+path}","compare_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/merges","archive_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/downloads","issues_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/issues{/number}","pulls_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/pulls{/number}","milestones_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/milestones{/number}","notifications_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/labels{/name}","releases_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/releases{/id}","deployments_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/deployments","created_at":"2016-01-26T21:15:18Z","updated_at":"2016-01-26T21:16:20Z","pushed_at":"2016-02-01T18:50:03Z","git_url":"git://github.com/smashingboxes/ruti-bookstore.git","ssh_url":"git@github.com:smashingboxes/ruti-bookstore.git","clone_url":"https://github.com/smashingboxes/ruti-bookstore.git","svn_url":"https://github.com/smashingboxes/ruti-bookstore","homepage":null,"size":158,"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":"smashingboxes:master","ref":"master","sha":"141ad61b66ad891938a903154a961416b7cef50f","user":{"login":"smashingboxes","id":784473,"avatar_url":"https://avatars.githubusercontent.com/u/784473?v=3","gravatar_id":"","url":"https://api.github.com/users/smashingboxes","html_url":"https://github.com/smashingboxes","followers_url":"https://api.github.com/users/smashingboxes/followers","following_url":"https://api.github.com/users/smashingboxes/following{/other_user}","gists_url":"https://api.github.com/users/smashingboxes/gists{/gist_id}","starred_url":"https://api.github.com/users/smashingboxes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smashingboxes/subscriptions","organizations_url":"https://api.github.com/users/smashingboxes/orgs","repos_url":"https://api.github.com/users/smashingboxes/repos","events_url":"https://api.github.com/users/smashingboxes/events{/privacy}","received_events_url":"https://api.github.com/users/smashingboxes/received_events","type":"Organization","site_admin":false},"repo":{"id":50459758,"name":"ruti-bookstore","full_name":"smashingboxes/ruti-bookstore","owner":{"login":"smashingboxes","id":784473,"avatar_url":"https://avatars.githubusercontent.com/u/784473?v=3","gravatar_id":"","url":"https://api.github.com/users/smashingboxes","html_url":"https://github.com/smashingboxes","followers_url":"https://api.github.com/users/smashingboxes/followers","following_url":"https://api.github.com/users/smashingboxes/following{/other_user}","gists_url":"https://api.github.com/users/smashingboxes/gists{/gist_id}","starred_url":"https://api.github.com/users/smashingboxes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smashingboxes/subscriptions","organizations_url":"https://api.github.com/users/smashingboxes/orgs","repos_url":"https://api.github.com/users/smashingboxes/repos","events_url":"https://api.github.com/users/smashingboxes/events{/privacy}","received_events_url":"https://api.github.com/users/smashingboxes/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/smashingboxes/ruti-bookstore","description":"","fork":false,"url":"https://api.github.com/repos/smashingboxes/ruti-bookstore","forks_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/forks","keys_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/teams","hooks_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/hooks","issue_events_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/issues/events{/number}","events_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/events","assignees_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/assignees{/user}","branches_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/branches{/branch}","tags_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/tags","blobs_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/git/refs{/sha}","trees_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/statuses/{sha}","languages_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/languages","stargazers_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/stargazers","contributors_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/contributors","subscribers_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/subscribers","subscription_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/subscription","commits_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/commits{/sha}","git_commits_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/git/commits{/sha}","comments_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/comments{/number}","issue_comment_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/issues/comments{/number}","contents_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/contents/{+path}","compare_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/merges","archive_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/downloads","issues_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/issues{/number}","pulls_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/pulls{/number}","milestones_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/milestones{/number}","notifications_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/labels{/name}","releases_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/releases{/id}","deployments_url":"https://api.github.com/repos/smashingboxes/ruti-bookstore/deployments","created_at":"2016-01-26T21:15:18Z","updated_at":"2016-01-26T21:16:20Z","pushed_at":"2016-02-01T18:50:03Z","git_url":"git://github.com/smashingboxes/ruti-bookstore.git","ssh_url":"git@github.com:smashingboxes/ruti-bookstore.git","clone_url":"https://github.com/smashingboxes/ruti-bookstore.git","svn_url":"https://github.com/smashingboxes/ruti-bookstore","homepage":null,"size":158,"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/smashingboxes/ruti-bookstore/pulls/9"},"html":{"href":"https://github.com/smashingboxes/ruti-bookstore/pull/9"},"issue":{"href":"https://api.github.com/repos/smashingboxes/ruti-bookstore/issues/9"},"comments":{"href":"https://api.github.com/repos/smashingboxes/ruti-bookstore/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/smashingboxes/ruti-bookstore/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/smashingboxes/ruti-bookstore/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/smashingboxes/ruti-bookstore/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/smashingboxes/ruti-bookstore/statuses/d5916b8028b9d181c3717f591425ef1cc548bada"}}}}