Class: Inttegro::MessageTemplate::Envelope

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

Overview

Typed representation of the envelope 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 ⇒ Inttegro::MessageTemplate (readonly)

Value of the message_template field in the Inttegro API payload.

Required in the API payload. Wire name: message_template.



24
25
26
# File 'lib/inttegro/message_template/envelope.rb', line 24

class Envelope < T::Struct
  const :message_template, Inttegro::MessageTemplate
end