Oauth2 Upgrade

This commit is contained in:
2020-01-04 15:41:15 -05:00
committed by GitHub
parent f65eea2820
commit 3483efa100

View File

@@ -56,6 +56,8 @@ class Qbo < ActiveRecord::Base
return Quickbooks::Service::Invoice.new(:company_id => qbo.company_id, :access_token => access_token)
when :estimate
return Quickbooks::Service::Estimate.new(:company_id => qbo.company_id, :access_token => access_token)
when :account
return Quickbooks::Service::Account.new(:company_id => qbo.company_id, :access_token => access_token)
else
return access_token
end