Class: Trycourier::Models::BrandTemplate
Instance Attribute Summary collapse
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(enabled: , background_color: nil, blocks_background_color: nil, footer: nil, head: nil, header: nil, width: nil) ⇒ Object
|
# File 'lib/trycourier/models/brand_template.rb', line 41
|
Instance Attribute Details
#background_color ⇒ String?
14
|
# File 'lib/trycourier/models/brand_template.rb', line 14
optional :background_color, String, api_name: :backgroundColor, nil?: true
|
#blocks_background_color ⇒ String?
19
|
# File 'lib/trycourier/models/brand_template.rb', line 19
optional :blocks_background_color, String, api_name: :blocksBackgroundColor, nil?: true
|
24
|
# File 'lib/trycourier/models/brand_template.rb', line 24
optional :footer, String, nil?: true
|
#head ⇒ String?
29
|
# File 'lib/trycourier/models/brand_template.rb', line 29
optional :head, String, nil?: true
|
34
|
# File 'lib/trycourier/models/brand_template.rb', line 34
optional :header, String, nil?: true
|
#width ⇒ String?
39
|
# File 'lib/trycourier/models/brand_template.rb', line 39
optional :width, String, nil?: true
|