Class: Knockapi::Models::Recipients::SlackChannelData::Token
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Knockapi::Models::Recipients::SlackChannelData::Token
- Defined in:
- lib/knockapi/models/recipients/slack_channel_data.rb,
sig/knockapi/models/recipients/slack_channel_data.rbs
Overview
Instance Attribute Summary collapse
-
#access_token ⇒ String?
A Slack access token.
Instance Method Summary collapse
-
#initialize(access_token:) ⇒ Token
constructor
A Slack connection token.
- #to_hash ⇒ { access_token: String? }
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(access_token:) ⇒ Token
A Slack connection token.
|
|
# File 'lib/knockapi/models/recipients/slack_channel_data.rb', line 106
|
Instance Attribute Details
#access_token ⇒ String?
A Slack access token.
104 |
# File 'lib/knockapi/models/recipients/slack_channel_data.rb', line 104 required :access_token, String, nil?: true |
Instance Method Details
#to_hash ⇒ { access_token: String? }
92 |
# File 'sig/knockapi/models/recipients/slack_channel_data.rbs', line 92
def to_hash: -> { access_token: String? }
|