mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-04 09:10:43 -04:00
Setter for email
This commit is contained in:
1 parent
aac442ab55
commit
f8a9ffbe15
1 file changed
+7
@@ -36,6 +36,13 @@ class Customer < ActiveRecord::Base
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Convenience Method
|
||||||
|
# Sets the email
|
||||||
|
def email=(s)
|
||||||
|
pull unless @details
|
||||||
|
@details.email_address = s
|
||||||
|
end
|
||||||
|
|
||||||
# Convenience Method
|
# Convenience Method
|
||||||
# returns the customer's primary phone
|
# returns the customer's primary phone
|
||||||
def primary_phone
|
def primary_phone
|
||||||
|
|||||||
Reference in new issue
Block a user