Class: Courier::Models::BrandSettingsEmail::TemplateOverride

Inherits:
Courier::Models::BrandTemplate show all
Defined in:
lib/courier/models/brand_settings_email.rb

Overview

See Also:

Instance Attribute Summary collapse

Attributes inherited from Courier::Models::BrandTemplate

#background_color, #blocks_background_color, #enabled, #footer, #head, #header, #width

Instance Method Summary collapse

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(mjml:, footer_background_color: nil, footer_full_width: nil) ⇒ Object

Parameters:



# File 'lib/courier/models/brand_settings_email.rb', line 52

Instance Attribute Details

Returns:

  • (String, nil)


45
# File 'lib/courier/models/brand_settings_email.rb', line 45

optional :footer_background_color, String, api_name: :footerBackgroundColor, nil?: true

Returns:

  • (Boolean, nil)


50
# File 'lib/courier/models/brand_settings_email.rb', line 50

optional :footer_full_width, Courier::Internal::Type::Boolean, api_name: :footerFullWidth, nil?: true

#mjmlCourier::Models::BrandTemplate



40
# File 'lib/courier/models/brand_settings_email.rb', line 40

required :mjml, -> { Courier::BrandTemplate }