Class: Courier::Models::BrandSettingsEmail::TemplateOverride
Overview
Instance Attribute Summary collapse
#background_color, #blocks_background_color, #enabled, #footer, #head, #header, #width
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
#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
|
# File 'lib/courier/models/brand_settings_email.rb', line 52
|
Instance Attribute Details
45
|
# File 'lib/courier/models/brand_settings_email.rb', line 45
optional :footer_background_color, String, api_name: :footerBackgroundColor, nil?: true
|
50
|
# File 'lib/courier/models/brand_settings_email.rb', line 50
optional :footer_full_width, Courier::Internal::Type::Boolean, api_name: :footerFullWidth, nil?: true
|
40
|
# File 'lib/courier/models/brand_settings_email.rb', line 40
required :mjml, -> { Courier::BrandTemplate }
|
Instance Method Details
#to_hash ⇒ {
60
|
# File 'sig/courier/models/brand_settings_email.rbs', line 60
def to_hash: -> {
|