Class: Discorb::Presence::Activity::Party

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

Overview

Represents the party of an activity.

Instance Attribute Summary collapse

Method Summary

Methods inherited from DiscordModel

#==, #eql?, #inspect

Instance Attribute Details

#current_sizeInteger (readonly)

Returns The current size of the party.

Returns:

  • (Integer)

    The current size of the party.



# File 'lib/discorb/presence.rb', line 183

#idString (readonly)

Returns The id of the party.

Returns:

  • (String)

    The id of the party.



181
182
183
# File 'lib/discorb/presence.rb', line 181

def id
  @id
end

#max_sizeInteger (readonly)

Returns The max size of the party.

Returns:

  • (Integer)

    The max size of the party.



# File 'lib/discorb/presence.rb', line 183