Class: CloudWaba::Models::Templates::HeaderTextComponent
- Inherits:
-
T::Struct
- Object
- T::Struct
- CloudWaba::Models::Templates::HeaderTextComponent
- Defined in:
- lib/cloud_waba/models/templates/header_text_component.rb
Instance Method Summary collapse
Instance Method Details
#serialize ⇒ Object
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 |