Class: Discorb::Presence::Activity::Secrets
- Inherits:
-
DiscordModel
- Object
- DiscordModel
- Discorb::Presence::Activity::Secrets
- Defined in:
- lib/discorb/presence.rb
Overview
Represents a secrets of an activity.
Instance Attribute Summary collapse
-
#join ⇒ String
readonly
The join secret of the activity.
-
#match ⇒ String
readonly
The match secret of the activity.
-
#spectate ⇒ String
readonly
The spectate secret of the activity.
Method Summary
Methods inherited from DiscordModel
Instance Attribute Details
#join ⇒ String (readonly)
Returns The join secret of the activity.
257 258 259 |
# File 'lib/discorb/presence.rb', line 257 def join @join end |
#match ⇒ String (readonly)
Returns The match secret of the activity.
261 262 263 |
# File 'lib/discorb/presence.rb', line 261 def match @match end |
#spectate ⇒ String (readonly)
Returns The spectate secret of the activity.
259 260 261 |
# File 'lib/discorb/presence.rb', line 259 def spectate @spectate end |