class Discorb::Presence::Activity::Secrets
Represents a secrets of an activity.
Attributes
join[R]
@return [String] The join secret of the activity.
match[R]
@return [String] The match secret of the activity.
spectate[R]
@return [String] The spectate secret of the activity.
Public Class Methods
new(data)
click to toggle source
@!visibility private
# File lib/discorb/presence.rb, line 230 def initialize(data) @join = data[:join] @spectate = data[:spectate] @match = data[:match] end