Class: Inttegro::Chime::Settings
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Chime::Settings
- 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
-
#email ⇒ Inttegro::Chime::EmailSettings
readonly
Value of the
emailfield in the Inttegro API payload. -
#sms ⇒ Inttegro::Chime::SMSSettings
readonly
Value of the
smsfield in the Inttegro API payload.
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 |