Update customer.rb

This commit is contained in:
2016-05-24 12:34:16 -04:00
parent 3e0b327ea7
commit a760ddc7c1

View File

@@ -126,8 +126,8 @@ class Customer < ActiveRecord::Base
end end
# Push the updates # Push the updates
def self.save_with_push def save_with_push
self.save_without_push save_without_push
begin begin
#tries ||= 3 #tries ||= 3
@details = Qbo.get_base(:customer).service.update(@details) @details = Qbo.get_base(:customer).service.update(@details)