Class: Discorb::Sticker::Pack
- Inherits:
-
DiscordModel
- Object
- DiscordModel
- Discorb::Sticker::Pack
- Defined in:
- lib/discorb/sticker.rb
Overview
Represents a sticker pack.
Instance Attribute Summary collapse
-
#banner ⇒ Discorb::Asset
readonly
The banner of the pack.
-
#cover_sticker_id ⇒ Discorb::Snowflake
readonly
The cover sticker of the pack.
-
#description ⇒ String
readonly
The description of the pack.
-
#id ⇒ Discorb::Snowflake
readonly
The ID of the sticker pack.
-
#name ⇒ String
readonly
The name of the sticker pack.
-
#stickers ⇒ Array<Discorb::Sticker>
readonly
The stickers in the pack.
Method Summary
Methods inherited from DiscordModel
Instance Attribute Details
#banner ⇒ Discorb::Asset (readonly)
Returns The banner of the pack.
145 146 147 |
# File 'lib/discorb/sticker.rb', line 145 def @banner end |
#cover_sticker_id ⇒ Discorb::Snowflake (readonly)
Returns The cover sticker of the pack.
139 140 141 |
# File 'lib/discorb/sticker.rb', line 139 def cover_sticker_id @cover_sticker_id end |
#description ⇒ String (readonly)
Returns The description of the pack.
141 142 143 |
# File 'lib/discorb/sticker.rb', line 141 def description @description end |
#id ⇒ Discorb::Snowflake (readonly)
Returns The ID of the sticker pack.
135 136 137 |
# File 'lib/discorb/sticker.rb', line 135 def id @id end |
#name ⇒ String (readonly)
Returns The name of the sticker pack.
137 138 139 |
# File 'lib/discorb/sticker.rb', line 137 def name @name end |
#stickers ⇒ Array<Discorb::Sticker> (readonly)
Returns The stickers in the pack.
143 144 145 |
# File 'lib/discorb/sticker.rb', line 143 def stickers @stickers end |