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.
-
#banner_asset_id -> Discorb::Store::SKU
readonly
The banner asset ID 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.
-
#sku_id -> Discorb::Snowflake
readonly
The ID of the SKU.
-
#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.
117 118 119 |
# File 'lib/discorb/sticker.rb', line 117 def @banner end |
#banner_asset_id -> Discorb::Store::SKU (readonly)
Returns The banner asset ID of the pack.
113 114 115 |
# File 'lib/discorb/sticker.rb', line 113 def @banner_asset_id end |
#cover_sticker_id -> Discorb::Snowflake (readonly)
Returns The cover sticker of the pack.
109 110 111 |
# File 'lib/discorb/sticker.rb', line 109 def cover_sticker_id @cover_sticker_id end |
#description -> String (readonly)
Returns The description of the pack.
111 112 113 |
# File 'lib/discorb/sticker.rb', line 111 def description @description end |
#id -> Discorb::Snowflake (readonly)
Returns The ID of the sticker pack.
103 104 105 |
# File 'lib/discorb/sticker.rb', line 103 def id @id end |
#name -> String (readonly)
Returns The name of the sticker pack.
105 106 107 |
# File 'lib/discorb/sticker.rb', line 105 def name @name end |
#sku_id -> Discorb::Snowflake (readonly)
Returns The ID of the SKU.
107 108 109 |
# File 'lib/discorb/sticker.rb', line 107 def sku_id @sku_id end |
#stickers -> Array<Discorb::Sticker> (readonly)
Returns The stickers in the pack.
115 116 117 |
# File 'lib/discorb/sticker.rb', line 115 def stickers @stickers end |