Class: ContextDev::Models::UtilityPrefetchParams::Identifier::UtilityPrefetchEmailIdentifier
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ContextDev::Models::UtilityPrefetchParams::Identifier::UtilityPrefetchEmailIdentifier
- Defined in:
- lib/context_dev/models/utility_prefetch_params.rb,
sig/context_dev/models/utility_prefetch_params.rbs
Instance Attribute Summary collapse
-
#email ⇒ String
Email address to prefetch brand data for.
Instance Method Summary collapse
-
#initialize ⇒ UtilityPrefetchEmailIdentifier
constructor
A new instance of UtilityPrefetchEmailIdentifier.
- #to_hash ⇒ { email: String }
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize ⇒ UtilityPrefetchEmailIdentifier
Returns a new instance of UtilityPrefetchEmailIdentifier.
59 |
# File 'sig/context_dev/models/utility_prefetch_params.rbs', line 59
def initialize: (email: String) -> void
|
Instance Attribute Details
#email ⇒ String
Email address to prefetch brand data for. The domain will be extracted from the email. Free email providers (gmail.com, yahoo.com, etc.) and disposable email addresses are not allowed.
72 |
# File 'lib/context_dev/models/utility_prefetch_params.rb', line 72 required :email, String |
Instance Method Details
#to_hash ⇒ { email: String }
61 |
# File 'sig/context_dev/models/utility_prefetch_params.rbs', line 61
def to_hash: -> { email: String }
|