Class: RubyCord::Guild::FollowerWebhook::Channel
- Inherits:
-
DiscordModel
- Object
- DiscordModel
- RubyCord::Guild::FollowerWebhook::Channel
- Defined in:
- lib/rubycord/guild/webhook/follower_webhook.rb
Overview
Represents a channel of follower webhook.
Instance Attribute Summary collapse
-
#id ⇒ RubyCord::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 ⇒ RubyCord::Snowflake (readonly)
Returns The ID of the channel.
68 69 70 |
# File 'lib/rubycord/guild/webhook/follower_webhook.rb', line 68 def id @id end |
#name ⇒ String (readonly)
Returns The name of the channel.
70 71 72 |
# File 'lib/rubycord/guild/webhook/follower_webhook.rb', line 70 def name @name end |
Instance Method Details
#inspect ⇒ Object
83 84 85 |
# File 'lib/rubycord/guild/webhook/follower_webhook.rb', line 83 def inspect "#<#{self.class.name} #{@id}: #{@name}>" end |