class ElasticEmail::ContactHistEventType
Constants
- ACTIVATED
- ACTIVATION_SENT
- BOUNCED
- CLICKED
- COMPLAINED
- DELETED
- JOURNEY_FINISHED
- JOURNEY_STARTED
- JOURNEY_STEP_PROCESSED
- MANUAL_CONSENT_TRACKING_CHANGE
- MANUAL_STATUS_CHANGE
- OPENED
- TRANSACTIONAL_UNSUBSCRIBED
- UNSUBSCRIBED
Public Class Methods
build_from_hash(value)
click to toggle source
Builds the enum from string @param [String] The enum value in the form of the string @return [String] The enum value
# File lib/ElasticEmail/models/contact_hist_event_type.rb, line 36 def self.build_from_hash(value) new.build_from_hash(value) end
Public Instance Methods
build_from_hash(value)
click to toggle source
Builds the enum from string @param [String] The enum value in the form of the string @return [String] The enum value
# File lib/ElasticEmail/models/contact_hist_event_type.rb, line 43 def build_from_hash(value) constantValues = ContactHistEventType.constants.select { |c| ContactHistEventType::const_get(c) == value } raise "Invalid ENUM value #{value} for class #ContactHistEventType" if constantValues.empty? value end