Update qbo.rb

This commit is contained in:
2016-05-25 09:09:22 -04:00
parent a760ddc7c1
commit a81e6b9b66

View File

@@ -25,10 +25,14 @@ class Qbo < ActiveRecord::Base
# Configure quickbooks-ruby-base to access our database # Configure quickbooks-ruby-base to access our database
Quickbooks::Base.configure do |c| Quickbooks::Base.configure do |c|
c.persistent_token = 'qb_token' c.persistent_token = 'qb_token'
c.persistent_secret = 'qb_secret' c.persistent_secret = 'qb_secret'
c.persistent_company_id = 'company_id' c.persistent_company_id = 'company_id'
end end
def self.get_oauth_consumer
return $qb_oauth_consumer
end
# Get a quickbooks base object for type # Get a quickbooks base object for type
# @params type of base # @params type of base