Class: CloudWaba::Models::Templates::BodyComponent
- Inherits:
-
T::Struct
- Object
- T::Struct
- CloudWaba::Models::Templates::BodyComponent
- Defined in:
- lib/cloud_waba/models/templates/body_component.rb
Instance Method Summary collapse
Instance Method Details
#serialize ⇒ Object
12 13 14 15 16 17 18 |
# File 'lib/cloud_waba/models/templates/body_component.rb', line 12 def serialize { type: type.serialize, text: text, example: { body_text: [ example.values ] } } end |