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