mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 08:54:23 -05:00
Removed extra white spaces
This commit is contained in:
@@ -28,7 +28,6 @@ class Qbo < ActiveRecord::Base
|
|||||||
return OAuth2::Client.new(OAUTH_CONSUMER_KEY, OAUTH_CONSUMER_SECRET, oauth_params)
|
return OAuth2::Client.new(OAUTH_CONSUMER_KEY, OAUTH_CONSUMER_SECRET, oauth_params)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Getter for oauth consumer
|
# Getter for oauth consumer
|
||||||
#
|
#
|
||||||
@@ -74,7 +73,7 @@ class Qbo < ActiveRecord::Base
|
|||||||
when :account
|
when :account
|
||||||
return Quickbooks::Service::Account.new(:company_id => qbo.company_id, :access_token => access_token)
|
return Quickbooks::Service::Account.new(:company_id => qbo.company_id, :access_token => access_token)
|
||||||
when :employee
|
when :employee
|
||||||
return Quickbooks::Service:: Employee.new(:company_id => qbo.company_id, :access_token => access_token)
|
return Quickbooks::Service::Employee.new(:company_id => qbo.company_id, :access_token => access_token)
|
||||||
else
|
else
|
||||||
return access_token
|
return access_token
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -18,6 +18,5 @@ class DropQboPrefix < ActiveRecord::Migration[5.1]
|
|||||||
rename_column :issues, :qbo_estimate_id, :estimate_id
|
rename_column :issues, :qbo_estimate_id, :estimate_id
|
||||||
rename_column :users, :qbo_employee_id, :employee_id
|
rename_column :users, :qbo_employee_id, :employee_id
|
||||||
rename_column :invoices_issues, :qbo_invoice_id, :invoice_id
|
rename_column :invoices_issues, :qbo_invoice_id, :invoice_id
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user