Class: Discorb::Presence::ClientStatus
- Inherits:
 - 
      DiscordModel
      
        
- Object
 - DiscordModel
 - Discorb::Presence::ClientStatus
 
 
- Defined in:
 - lib/discorb/presence.rb
 
Overview
Represents a user's client status.
Instance Attribute Summary collapse
- 
  
    
      #desktop -> Symbol 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
The desktop status of the user.
 - 
  
    
      #desktop? -> Boolean 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Whether the user is not offline on desktop.
 - 
  
    
      #mobile -> Symbol 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
The mobile status of the user.
 - 
  
    
      #mobile? -> Boolean 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Whether the user is not offline on mobile.
 - 
  
    
      #web -> Symbol 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
The web status of the user.
 - 
  
    
      #web? -> Boolean 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Whether the user is not offline on web.
 
Method Summary
Methods inherited from DiscordModel
Instance Attribute Details
#desktop -> Symbol (readonly)
Returns The desktop status of the user.
      304 305 306  | 
    
      # File 'lib/discorb/presence.rb', line 304 def desktop @desktop end  | 
  
#desktop? -> Boolean (readonly)
Returns Whether the user is not offline on desktop.
| 
       | 
    
      # File 'lib/discorb/presence.rb', line 310
     | 
  
#mobile -> Symbol (readonly)
Returns The mobile status of the user.
      306 307 308  | 
    
      # File 'lib/discorb/presence.rb', line 306 def mobile @mobile end  | 
  
#mobile? -> Boolean (readonly)
Returns Whether the user is not offline on mobile.
| 
       | 
    
      # File 'lib/discorb/presence.rb', line 310
     | 
  
#web -> Symbol (readonly)
Returns The web status of the user.
      308 309 310  | 
    
      # File 'lib/discorb/presence.rb', line 308 def web @web end  | 
  
#web? -> Boolean (readonly)
Returns Whether the user is not offline on web.
| 
       | 
    
      # File 'lib/discorb/presence.rb', line 310
     |