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.
145 146 147 |
# File 'lib/discordrb/data/activity.rb', line 145 def join @join end |
#match ⇒ String? (readonly)
Returns secret for a specific instanced match.
151 152 153 |
# File 'lib/discordrb/data/activity.rb', line 151 def match @match end |
#spectate ⇒ String? (readonly)
Returns secret for spectating.
148 149 150 |
# File 'lib/discordrb/data/activity.rb', line 148 def spectate @spectate end |