Class: Inttegro::Chime::EmailSettings

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/chime/email_settings.rb

Overview

Typed representation of the email settings 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

#allowed_from ⇒ Array<String> (readonly)

From addresses authorized for reusable message templates.

Required in the API payload. Wire name: allowed_from.

Returns:

  • (Array<String>)


29
30
31
32
# File 'lib/inttegro/chime/email_settings.rb', line 29

class EmailSettings < T::Struct
  const :default_from, String
  const :allowed_from, T::Array[String]
end

#default_from ⇒ String (readonly)

Platform fallback From address for email delivery.

Required in the API payload. Wire name: default_from.

Returns:

  • (String)


29
30
31
32
# File 'lib/inttegro/chime/email_settings.rb', line 29

class EmailSettings < T::Struct
  const :default_from, String
  const :allowed_from, T::Array[String]
end