Skip to content

Framebridge/spree_affirm

 
 

Repository files navigation

SpreeAffirm

Installation

  1. Add this extension to your Gemfile with this line:

    gem 'spree_affirm', :github => "affirm/spree_affirm"

  2. Install the gem using Bundler:

     bundle install
    
  3. Copy & run migrations

     bundle exec rails g spree_affirm:install
    
  4. Restart your server

Documentation

https://docs.affirm.com/Spree

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature).
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Testing

Be sure to bundle your dependencies and then create a dummy test app for the specs to run against.

bundle
bundle exec rake test_app
bundle exec rspec spec

When testing your applications integration with this extension you may use its factories. Simply add this require statement to your spec_helper:

require 'spree_affirm/factories'

Copyright (c) 2019 Affirm, released under the New BSD License

Packages

No packages published

Languages

  • Ruby 85.6%
  • HTML 13.6%
  • Other 0.8%