{"action":"created","comment":{"url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/pulls/comments/79449882","id":79449882,"diff_hunk":"@@ -19,6 +19,60 @@ bundle\n bundle exec rails g solidus_subscriptions:install\n ```\n \n+Configuration\n+-----\n+This gem requires a gateway which supports credit cards in order to process\n+subscription orders. By default the gem will look for the first active gateway\n+with Spree::CreditCard as its `payment_source_class`.\n+\n+If you would like to specify the gateway used by the gem you can add this to\n+an initialzer.\n+\n+```ruby\n+  SolidusSubscriptions::Config.default_gateway = my_gateway\n+```\n+\n+Usage\n+-----\n+\n+### Purchasing Subscriptions\n+By default only Spree::Variants are subscribable. To subscribe to a variant, it\n+must have the `:subscribable` attrubute set to true.","path":"README.md","position":31,"original_position":31,"commit_id":"e1082f83864855b7452be65eb76fb7a6b3b3e489","original_commit_id":"e1082f83864855b7452be65eb76fb7a6b3b3e489","user":{"login":"brendandeere","id":6353433,"avatar_url":"https://avatars.githubusercontent.com/u/6353433?v=3","gravatar_id":"","url":"https://api.github.com/users/brendandeere","html_url":"https://github.com/brendandeere","followers_url":"https://api.github.com/users/brendandeere/followers","following_url":"https://api.github.com/users/brendandeere/following{/other_user}","gists_url":"https://api.github.com/users/brendandeere/gists{/gist_id}","starred_url":"https://api.github.com/users/brendandeere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendandeere/subscriptions","organizations_url":"https://api.github.com/users/brendandeere/orgs","repos_url":"https://api.github.com/users/brendandeere/repos","events_url":"https://api.github.com/users/brendandeere/events{/privacy}","received_events_url":"https://api.github.com/users/brendandeere/received_events","type":"User","site_admin":false},"body":"lol #auto-correct-for-vim ","created_at":"2016-09-19T17:54:34Z","updated_at":"2016-09-19T17:57:26Z","html_url":"https://github.com/brendandeere/solidus_subscriptions/pull/32#discussion_r79449882","pull_request_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/pulls/32","_links":{"self":{"href":"https://api.github.com/repos/brendandeere/solidus_subscriptions/pulls/comments/79449882"},"html":{"href":"https://github.com/brendandeere/solidus_subscriptions/pull/32#discussion_r79449882"},"pull_request":{"href":"https://api.github.com/repos/brendandeere/solidus_subscriptions/pulls/32"}}},"pull_request":{"url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/pulls/32","id":85834836,"html_url":"https://github.com/brendandeere/solidus_subscriptions/pull/32","diff_url":"https://github.com/brendandeere/solidus_subscriptions/pull/32.diff","patch_url":"https://github.com/brendandeere/solidus_subscriptions/pull/32.patch","issue_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/issues/32","number":32,"state":"open","locked":false,"title":"Update Readme with config and usage information","user":{"login":"brendandeere","id":6353433,"avatar_url":"https://avatars.githubusercontent.com/u/6353433?v=3","gravatar_id":"","url":"https://api.github.com/users/brendandeere","html_url":"https://github.com/brendandeere","followers_url":"https://api.github.com/users/brendandeere/followers","following_url":"https://api.github.com/users/brendandeere/following{/other_user}","gists_url":"https://api.github.com/users/brendandeere/gists{/gist_id}","starred_url":"https://api.github.com/users/brendandeere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendandeere/subscriptions","organizations_url":"https://api.github.com/users/brendandeere/orgs","repos_url":"https://api.github.com/users/brendandeere/repos","events_url":"https://api.github.com/users/brendandeere/events{/privacy}","received_events_url":"https://api.github.com/users/brendandeere/received_events","type":"User","site_admin":false},"body":"The readme now contains how to configure the gem and make/process a simple subscription ","created_at":"2016-09-19T17:24:42Z","updated_at":"2016-09-19T17:57:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"09a05f73e15c261554fe8b3e71a8f1fa4088a501","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/pulls/32/commits","review_comments_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/pulls/32/comments","review_comment_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/pulls/comments{/number}","comments_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/issues/32/comments","statuses_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/statuses/e1082f83864855b7452be65eb76fb7a6b3b3e489","head":{"label":"brendandeere:readme","ref":"readme","sha":"e1082f83864855b7452be65eb76fb7a6b3b3e489","user":{"login":"brendandeere","id":6353433,"avatar_url":"https://avatars.githubusercontent.com/u/6353433?v=3","gravatar_id":"","url":"https://api.github.com/users/brendandeere","html_url":"https://github.com/brendandeere","followers_url":"https://api.github.com/users/brendandeere/followers","following_url":"https://api.github.com/users/brendandeere/following{/other_user}","gists_url":"https://api.github.com/users/brendandeere/gists{/gist_id}","starred_url":"https://api.github.com/users/brendandeere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendandeere/subscriptions","organizations_url":"https://api.github.com/users/brendandeere/orgs","repos_url":"https://api.github.com/users/brendandeere/repos","events_url":"https://api.github.com/users/brendandeere/events{/privacy}","received_events_url":"https://api.github.com/users/brendandeere/received_events","type":"User","site_admin":false},"repo":{"id":66507144,"name":"solidus_subscriptions","full_name":"brendandeere/solidus_subscriptions","owner":{"login":"brendandeere","id":6353433,"avatar_url":"https://avatars.githubusercontent.com/u/6353433?v=3","gravatar_id":"","url":"https://api.github.com/users/brendandeere","html_url":"https://github.com/brendandeere","followers_url":"https://api.github.com/users/brendandeere/followers","following_url":"https://api.github.com/users/brendandeere/following{/other_user}","gists_url":"https://api.github.com/users/brendandeere/gists{/gist_id}","starred_url":"https://api.github.com/users/brendandeere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendandeere/subscriptions","organizations_url":"https://api.github.com/users/brendandeere/orgs","repos_url":"https://api.github.com/users/brendandeere/repos","events_url":"https://api.github.com/users/brendandeere/events{/privacy}","received_events_url":"https://api.github.com/users/brendandeere/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brendandeere/solidus_subscriptions","description":"A gem for adding subscription support to solidus","fork":false,"url":"https://api.github.com/repos/brendandeere/solidus_subscriptions","forks_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/forks","keys_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/teams","hooks_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/hooks","issue_events_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/issues/events{/number}","events_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/events","assignees_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/assignees{/user}","branches_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/branches{/branch}","tags_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/tags","blobs_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/git/refs{/sha}","trees_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/statuses/{sha}","languages_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/languages","stargazers_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/stargazers","contributors_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/contributors","subscribers_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/subscribers","subscription_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/subscription","commits_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/commits{/sha}","git_commits_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/git/commits{/sha}","comments_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/comments{/number}","issue_comment_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/issues/comments{/number}","contents_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/contents/{+path}","compare_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/merges","archive_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/downloads","issues_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/issues{/number}","pulls_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/pulls{/number}","milestones_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/milestones{/number}","notifications_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/labels{/name}","releases_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/releases{/id}","deployments_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/deployments","created_at":"2016-08-24T23:32:39Z","updated_at":"2016-08-24T23:33:43Z","pushed_at":"2016-09-19T17:24:42Z","git_url":"git://github.com/brendandeere/solidus_subscriptions.git","ssh_url":"git@github.com:brendandeere/solidus_subscriptions.git","clone_url":"https://github.com/brendandeere/solidus_subscriptions.git","svn_url":"https://github.com/brendandeere/solidus_subscriptions","homepage":null,"size":94,"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":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"brendandeere:master","ref":"master","sha":"e2a80269fe1de02dd8bedf867d05aadf6ce6b34b","user":{"login":"brendandeere","id":6353433,"avatar_url":"https://avatars.githubusercontent.com/u/6353433?v=3","gravatar_id":"","url":"https://api.github.com/users/brendandeere","html_url":"https://github.com/brendandeere","followers_url":"https://api.github.com/users/brendandeere/followers","following_url":"https://api.github.com/users/brendandeere/following{/other_user}","gists_url":"https://api.github.com/users/brendandeere/gists{/gist_id}","starred_url":"https://api.github.com/users/brendandeere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendandeere/subscriptions","organizations_url":"https://api.github.com/users/brendandeere/orgs","repos_url":"https://api.github.com/users/brendandeere/repos","events_url":"https://api.github.com/users/brendandeere/events{/privacy}","received_events_url":"https://api.github.com/users/brendandeere/received_events","type":"User","site_admin":false},"repo":{"id":66507144,"name":"solidus_subscriptions","full_name":"brendandeere/solidus_subscriptions","owner":{"login":"brendandeere","id":6353433,"avatar_url":"https://avatars.githubusercontent.com/u/6353433?v=3","gravatar_id":"","url":"https://api.github.com/users/brendandeere","html_url":"https://github.com/brendandeere","followers_url":"https://api.github.com/users/brendandeere/followers","following_url":"https://api.github.com/users/brendandeere/following{/other_user}","gists_url":"https://api.github.com/users/brendandeere/gists{/gist_id}","starred_url":"https://api.github.com/users/brendandeere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brendandeere/subscriptions","organizations_url":"https://api.github.com/users/brendandeere/orgs","repos_url":"https://api.github.com/users/brendandeere/repos","events_url":"https://api.github.com/users/brendandeere/events{/privacy}","received_events_url":"https://api.github.com/users/brendandeere/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brendandeere/solidus_subscriptions","description":"A gem for adding subscription support to solidus","fork":false,"url":"https://api.github.com/repos/brendandeere/solidus_subscriptions","forks_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/forks","keys_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/teams","hooks_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/hooks","issue_events_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/issues/events{/number}","events_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/events","assignees_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/assignees{/user}","branches_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/branches{/branch}","tags_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/tags","blobs_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/git/refs{/sha}","trees_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/statuses/{sha}","languages_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/languages","stargazers_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/stargazers","contributors_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/contributors","subscribers_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/subscribers","subscription_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/subscription","commits_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/commits{/sha}","git_commits_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/git/commits{/sha}","comments_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/comments{/number}","issue_comment_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/issues/comments{/number}","contents_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/contents/{+path}","compare_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/merges","archive_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/downloads","issues_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/issues{/number}","pulls_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/pulls{/number}","milestones_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/milestones{/number}","notifications_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/labels{/name}","releases_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/releases{/id}","deployments_url":"https://api.github.com/repos/brendandeere/solidus_subscriptions/deployments","created_at":"2016-08-24T23:32:39Z","updated_at":"2016-08-24T23:33:43Z","pushed_at":"2016-09-19T17:24:42Z","git_url":"git://github.com/brendandeere/solidus_subscriptions.git","ssh_url":"git@github.com:brendandeere/solidus_subscriptions.git","clone_url":"https://github.com/brendandeere/solidus_subscriptions.git","svn_url":"https://github.com/brendandeere/solidus_subscriptions","homepage":null,"size":94,"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":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/brendandeere/solidus_subscriptions/pulls/32"},"html":{"href":"https://github.com/brendandeere/solidus_subscriptions/pull/32"},"issue":{"href":"https://api.github.com/repos/brendandeere/solidus_subscriptions/issues/32"},"comments":{"href":"https://api.github.com/repos/brendandeere/solidus_subscriptions/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/brendandeere/solidus_subscriptions/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/brendandeere/solidus_subscriptions/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/brendandeere/solidus_subscriptions/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/brendandeere/solidus_subscriptions/statuses/e1082f83864855b7452be65eb76fb7a6b3b3e489"}}}}
{"actor":{"display_login":"brendandeere"}}