Class: Courier::Models::SlackRecipient
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Courier::Models::SlackRecipient
- Defined in:
- lib/courier/models/slack_recipient.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(slack:) ⇒ Object
constructor
Send via Slack (channel, email, or user_id).
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(slack:) ⇒ Object
Send via Slack (channel, email, or user_id)
|
|
# File 'lib/courier/models/slack_recipient.rb', line 11
|
Instance Attribute Details
#slack ⇒ Courier::Models::SendToSlackChannel, ...
9 |
# File 'lib/courier/models/slack_recipient.rb', line 9 required :slack, union: -> { Courier::Slack } |