Class: Discordrb::Activity::Secrets
- Inherits:
-
Object
- Object
- Discordrb::Activity::Secrets
- Defined in:
- lib/discordrb/data/activity.rb
Overview
Contains secrets used for rich presence
Instance Attribute Summary collapse
-
#join ⇒ String?
readonly
Secret for joining a party.
-
#match ⇒ String?
readonly
Secret for a specific instanced match.
-
#spectate ⇒ String?
readonly
Secret for spectating.
Instance Attribute Details
#join ⇒ String? (readonly)
Returns secret for joining a party.
143 144 145 |
# File 'lib/discordrb/data/activity.rb', line 143 def join @join end |
#match ⇒ String? (readonly)
Returns secret for a specific instanced match.
149 150 151 |
# File 'lib/discordrb/data/activity.rb', line 149 def match @match end |
#spectate ⇒ String? (readonly)
Returns secret for spectating.
146 147 148 |
# File 'lib/discordrb/data/activity.rb', line 146 def spectate @spectate end |