Class: Trycourier::Models::BrandSettingsEmail::TemplateOverride

Inherits:
Trycourier::Models::BrandTemplate show all
Defined in:
lib/trycourier/models/brand_settings_email.rb

Overview

See Also:

Instance Attribute Summary collapse

Attributes inherited from Trycourier::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:

  • mjml (Trycourier::Models::BrandTemplate) (defaults to: )
  • footer_background_color (String, nil) (defaults to: nil)
  • footer_full_width (Boolean, nil) (defaults to: nil)


# File 'lib/trycourier/models/brand_settings_email.rb', line 55


Instance Attribute Details

Returns:

  • (String, nil)


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

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

Returns:

  • (Boolean, nil)


50
51
52
53
# File 'lib/trycourier/models/brand_settings_email.rb', line 50

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

#mjmlTrycourier::Models::BrandTemplate



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

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