Class: Discorb::Presence::Activity::Party
- Inherits:
- 
      DiscordModel
      
        - Object
- DiscordModel
- Discorb::Presence::Activity::Party
 
- Defined in:
- lib/discorb/presence.rb
Overview
Represents the party of an activity.
Instance Attribute Summary collapse
- 
  
    
      #current_size -> Integer 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    The current size of the party. 
- 
  
    
      #id -> String 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    The id of the party. 
- 
  
    
      #max_size -> Integer 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    The max size of the party. 
Method Summary
Methods inherited from DiscordModel
Instance Attribute Details
#current_size -> Integer (readonly)
Returns The current size of the party.
|  | # File 'lib/discorb/presence.rb', line 175
 | 
#id -> String (readonly)
Returns The id of the party.
| 173 174 175 | # File 'lib/discorb/presence.rb', line 173 def id @id end | 
#max_size -> Integer (readonly)
Returns The max size of the party.
|  | # File 'lib/discorb/presence.rb', line 175
 |