mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 08:54:23 -05:00
Update qbo.rb
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user