Class: Discorb::Webhook::FollowerWebhook::Channel
- Inherits:
-
DiscordModel
- Object
- DiscordModel
- Discorb::Webhook::FollowerWebhook::Channel
- Defined in:
- lib/discorb/webhook.rb
Overview
Represents a channel of follower webhook.
Instance Attribute Summary collapse
-
#id -> Discorb::Snowflake
readonly
The ID of the channel.
-
#name -> String
readonly
The name of the channel.
Instance Method Summary collapse
Methods inherited from DiscordModel
Instance Attribute Details
#id -> Discorb::Snowflake (readonly)
Returns The ID of the channel.
295 296 297 |
# File 'lib/discorb/webhook.rb', line 295 def id @id end |
#name -> String (readonly)
Returns The name of the channel.
297 298 299 |
# File 'lib/discorb/webhook.rb', line 297 def name @name end |
Instance Method Details
#inspect -> Object
310 311 312 |
# File 'lib/discorb/webhook.rb', line 310 def inspect "#<#{self.class.name} #{@id}: #{@name}>" end |