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

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

Instance Attribute Summary collapse

Method Summary

Methods inherited from DiscordModel

#==, #eql?, #hash

Instance Attribute Details

#current_size -> Integer (readonly)

Returns The current size of the party.

Returns:

  • (Integer)

    The current size of the party.



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

#id -> String (readonly)

Returns The id of the party.

Returns:

  • (String)

    The id of the party.



152
153
154
# File 'lib/discorb/presence.rb', line 152

def id
  @id
end

#max_size -> Integer (readonly)

Returns The max size of the party.

Returns:

  • (Integer)

    The max size of the party.



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