Class: Discorb::Guild::VanityInvite
- Inherits:
-
DiscordModel
- Object
- DiscordModel
- Discorb::Guild::VanityInvite
- Defined in:
- lib/discorb/guild.rb
Overview
Represents a vanity invite.
Instance Attribute Summary collapse
-
#code -> String
readonly
The vanity invite code.
-
#url -> String
readonly
The vanity URL.
-
#uses -> Integer
readonly
The number of uses.
Method Summary
Methods inherited from DiscordModel
Instance Attribute Details
#code -> String (readonly)
Returns The vanity invite code.
1017 1018 1019 |
# File 'lib/discorb/guild.rb', line 1017 def code @code end |
#url -> String (readonly)
Returns The vanity URL.
|
# File 'lib/discorb/guild.rb', line 1021
|
#uses -> Integer (readonly)
Returns The number of uses.
1019 1020 1021 |
# File 'lib/discorb/guild.rb', line 1019 def uses @uses end |