From 6e90548dbb72b26266143f19a4c1f916aa8ff7cb Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Sat, 28 Feb 2026 22:56:03 -0500 Subject: [PATCH] Removed unused method --- app/models/estimate.rb | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/app/models/estimate.rb b/app/models/estimate.rb index bcebdb9..1c62cbd 100644 --- a/app/models/estimate.rb +++ b/app/models/estimate.rb @@ -35,17 +35,6 @@ class Estimate < ActiveRecord::Base EstimateSyncJob.perform_later(doc_number: number) end - # download the pdf from quickbooks - def pdf - log "Downloading PDF for estimate ##{self.id}..." - qbo = Qbo.first - qbo.perform_authenticated_request do |access_token| - service = Quickbooks::Service::Estimate.new(company_id: qbo.realm_id, access_token: access_token) - estimate = service.fetch_by_id(id) - service.pdf(estimate) - end - end - # Magic Method # Maps Get/Set methods to QBO estimate object def method_missing(sym, *arguments)