Class: Discorb::Webhook::FollowerWebhook::Guild
- Inherits:
-
DiscordModel
- Object
- DiscordModel
- Discorb::Webhook::FollowerWebhook::Guild
- Defined in:
- lib/discorb/webhook.rb
Overview
Represents a guild of follower webhook.
Instance Attribute Summary collapse
-
#icon -> Discorb::Asset
readonly
The icon of the guild.
-
#id -> Discorb::Snowflake
readonly
The ID of the guild.
-
#name -> String
readonly
The name of the guild.
Method Summary
Methods inherited from DiscordModel
Instance Attribute Details
#icon -> Discorb::Asset (readonly)
Returns The icon of the guild.
258 259 260 |
# File 'lib/discorb/webhook.rb', line 258 def icon @icon end |
#id -> Discorb::Snowflake (readonly)
Returns The ID of the guild.
254 255 256 |
# File 'lib/discorb/webhook.rb', line 254 def id @id end |
#name -> String (readonly)
Returns The name of the guild.
256 257 258 |
# File 'lib/discorb/webhook.rb', line 256 def name @name end |