Removed extra white spaces

This commit is contained in:
ricky committed 2022-03-09 22:53:03 -05:00
1 parent 09c497ff96
commit a75f1abd71
20 files changed
+58 -60

No files matched your search

+5 -5
View File
@@ -69,20 +69,20 @@ class Estimate < ActiveRecord::Base
# Magic Method
# Maps Get/Set methods to QBO estimate object
def method_missing(sym, *arguments)
def method_missing(sym, *arguments)
# Check to see if the method exists
if Quickbooks::Model::Estimate.method_defined?(sym)
# download details if required
pull unless @details
method_name = sym.to_s
# Setter
if method_name[-1, 1] == "="
@details.method(method_name).call(arguments[0])
if method_name[-1, 1] == "="
@details.method(method_name).call(arguments[0])
# Getter
else
else
return @details.method(method_name).call
end
end
end
end
private