From 81b0902378197c75f0203954e9dc3529a54a6108 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Mon, 2 May 2016 13:38:20 -0400 Subject: [PATCH] Update qbo_estimate.rb --- app/models/qbo_estimate.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/qbo_estimate.rb b/app/models/qbo_estimate.rb index 26dee21..ff52b60 100644 --- a/app/models/qbo_estimate.rb +++ b/app/models/qbo_estimate.rb @@ -14,11 +14,11 @@ class QboEstimate < ActiveRecord::Base attr_accessible :doc_number validates_presence_of :id, :doc_number - def get_base + def self.get_base Qbo.get_base(:estimate) end - def sync + def self.sync estimates = get_base.service.all # Update the item table