Class: RubyCord::User::Activity::Secrets

Inherits:
DiscordModel show all
Defined in:
lib/rubycord/user/activity.rb

Overview

Represents a secrets of an activity.

Instance Attribute Summary collapse

Method Summary

Methods inherited from DiscordModel

#==, #eql?, #inspect

Instance Attribute Details

#joinString (readonly)

Returns The join secret of the activity.

Returns:

  • (String)

    The join secret of the activity.



208
209
210
# File 'lib/rubycord/user/activity.rb', line 208

def join
  @join
end

#matchString (readonly)

Returns The match secret of the activity.

Returns:

  • (String)

    The match secret of the activity.



212
213
214
# File 'lib/rubycord/user/activity.rb', line 212

def match
  @match
end

#spectateString (readonly)

Returns The spectate secret of the activity.

Returns:

  • (String)

    The spectate secret of the activity.



210
211
212
# File 'lib/rubycord/user/activity.rb', line 210

def spectate
  @spectate
end