Update qbo_customer.rb

This commit is contained in:
ricky committed 2016-04-28 10:01:25 -04:00
1 parent 1103355cb7
commit dd8bf530c9
1 file changed
+1 -1
+1 -1
View File
@@ -34,7 +34,7 @@ class QboCustomer < ActiveRecord::Base
# returns the customer's email
def email
return @details.primary_email_address.email_address if @details
return @details.email_address if @details
end
# returns the customer's primary phone