Class: Inttegro::Chime::Settings

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

Overview

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

#email ⇒ Inttegro::Chime::EmailSettings (readonly)

Value of the email field in the Inttegro API payload.

Required in the API payload. Wire name: email.



31
32
33
34
# File 'lib/inttegro/chime/settings.rb', line 31

class Settings < T::Struct
  const :sms, Inttegro::Chime::SMSSettings
  const :email, Inttegro::Chime::EmailSettings
end

#sms ⇒ Inttegro::Chime::SMSSettings (readonly)

Value of the sms field in the Inttegro API payload.

Required in the API payload. Wire name: sms.



31
32
33
34
# File 'lib/inttegro/chime/settings.rb', line 31

class Settings < T::Struct
  const :sms, Inttegro::Chime::SMSSettings
  const :email, Inttegro::Chime::EmailSettings
end