Class: CloudWaba::Models::Templates::HeaderTextComponent

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/cloud_waba/models/templates/header_text_component.rb

Instance Method Summary collapse

Instance Method Details

#serializeObject



12
13
14
15
16
17
18
19
# File 'lib/cloud_waba/models/templates/header_text_component.rb', line 12

def serialize
  {
    type: type.serialize,
    format: "TEXT",
    text: text,
    example: { header_text: example.values }
  }
end