Skip to content

isabellaSantos/spree_iugu_bank_slip

 
 

Repository files navigation

Spree Iugu BankSlip Build Status

Add to Spree Commerce the payment by Iugu Bank Slip.

Installation

Add spree_iugu_bank_slip to your Gemfile:

gem 'spree_iugu_bank_slip'

Bundle your dependencies and run the installation generator:

bundle
bundle exec rails g spree_iugu_bank_slip:install

Settings

To configure the settings, you can go to admin/bank_slip_settings page, or in an initialize file you can modify the settings like that:

Spree::BankSlipConfig[:iugu_api_token] = 'ABC1234'

Testing

First bundle your dependencies, then run rake. rake will default to building the dummy app if it does not exist, then it will run specs. The dummy app can be regenerated by using rake test_app.

bundle
bundle exec rake

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

require 'spree_iugu_bank_slip/factories'

Copyright (c) 2016 [Zaez Comunicação Digital], released under the New BSD License

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 86.9%
  • HTML 11.8%
  • Other 1.3%