class HelpScout::Customer::Email
Customer::Email
developer.helpscout.net/objects/customer/email/
Name Type Example Notes id Int 98131 Unique identifier value String vbear@mywork.com location String work Location for this email address. Defaults to LOCATION_WORK
Possible values for location include:
-
LOCATION_WORK
(Default)
Constants
- LOCATION_HOME
- LOCATION_OTHER
- LOCATION_WORK
Attributes
id[R]
location[R]
value[R]
Public Class Methods
new(object)
click to toggle source
Creates a new Customer::Email
object from a Hash of attributes
# File lib/helpscout/models.rb, line 711 def initialize(object) @id = object["id"] @value = object["value"] @location = object["location"] end