Class: Inttegro::MessageTemplate::SMSContent

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/message_template/sms_content.rb

Overview

Typed representation of the sms content object in the Inttegro API.

This generated model is immutable. Construct it with .new, or decode a string-keyed API payload with .from_hash. #serialize produces a string-keyed hash using the original wire field names and serialized enum values.

Instance Attribute Summary collapse

Instance Attribute Details

#message_template ⇒ String (readonly)

SMS body template.

Required in the API payload. Wire name: message_template.

Returns:

  • (String)


23
24
25
# File 'lib/inttegro/message_template/sms_content.rb', line 23

class SMSContent < T::Struct
  const :message_template, String
end