Class: Discorb::Presence::Activity::Secrets

Inherits:
DiscordModel show all
Defined in:
lib/discorb/presence.rb

Overview

Represents a secrets of an activity.

Instance Attribute Summary collapse

Method Summary

Methods inherited from DiscordModel

#==, #eql?, #hash

Instance Attribute Details

#join -> String (readonly)

Returns The join secret of the activity.

Returns:

  • (String)

    The join secret of the activity.



223
224
225
# File 'lib/discorb/presence.rb', line 223

def join
  @join
end

#match -> String (readonly)

Returns The match secret of the activity.

Returns:

  • (String)

    The match secret of the activity.



227
228
229
# File 'lib/discorb/presence.rb', line 227

def match
  @match
end

#spectate -> String (readonly)

Returns The spectate secret of the activity.

Returns:

  • (String)

    The spectate secret of the activity.



225
226
227
# File 'lib/discorb/presence.rb', line 225

def spectate
  @spectate
end