Skip to content

Rails 4 QuickBooks API V3 barebone based on Christian Pelczarski(minimul) Tutorials and Screencasts

Notifications You must be signed in to change notification settings

Joseworks/QuickBooks-APIV3-Rails4-barebones

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

Rails 4 QuickBooks API V3 barebone based on Christian Pelczarski(minimul) Tutorials and Screencasts from minimul.com/integrating-rails-and-quickbooks-online-via-the-version-3-api-part-1.html

Things you need

  • A QB configuration file

config/initializers/quickbooks.rb

QB_KEY = "your_QB_KEY_HERE"
QB_SECRET = "your_QB_SECRET_KEY_HERE"

$qb_oauth_consumer = OAuth::Consumer.new(QB_KEY, QB_SECRET, {
    :site                 => "https://oauth.intuit.com",
    :request_token_path   => "/oauth/v1/get_request_token",
    :authorize_url        => "https://appcenter.intuit.com/Connect/Begin",
    :access_token_path    => "/oauth/v1/get_access_token"
})

Quickbooks.sandbox_mode = true
  • A secrets.yml file.

/config/secrets.yml

development:
  secret_key_base: your_secret_key_base

test:
  secret_key_base: your_secret_key_base_test

production:
  secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
  • Ruby version ruby-2.0.0-p353

  • Rails version 4.2.0

Please feel free to use a different markup language if you do not plan to run rake doc:app.

About

Rails 4 QuickBooks API V3 barebone based on Christian Pelczarski(minimul) Tutorials and Screencasts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published