Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 1.04 KB

README.md

File metadata and controls

48 lines (34 loc) · 1.04 KB

SpreeQuickbooks

Introduction goes here.

Installation

Add spree_quickbooks to your Gemfile:

gem 'spree_quickbooks'

Bundle your dependencies and run the installation generator:

bundle
bundle exec rails g spree_quickbooks:install

Configuration

//spree.rb
SpreeQuickbooks::Config[:quickbooks_key]= 'Your App key'
SpreeQuickbooks::Config[:quickbooks_secret]= 'Your App secret key'
# SpreeQuickbooks::Config[:quickbooks_secret] = 'production' when it production app

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_quickbooks/factories'

Copyright (c) 2015 [name of extension creator], released under the New BSD License