Class: WebServiceUser
- Inherits:
- 
      Irc::User
      
        - Object
- Irc::Netmask
- Irc::User
- WebServiceUser
 
- Defined in:
- /home/apoc/projects/ruby/rbot/lib/rbot/core/webservice.rb
Overview
Irc
Instance Attribute Summary (collapse)
- 
  
    
      - (Object) botuser 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute botuser. 
- 
  
    
      - (Object) response 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Returns the value of attribute response. 
Attributes inherited from Irc::User
#idle_since, #real_name, #signon
Attributes inherited from Irc::Netmask
Attributes included from Irc::ServerOrCasemap
Instance Method Summary (collapse)
- 
  
    
      - (WebServiceUser) initialize(str, botuser, opts = {}) 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of WebServiceUser. 
Methods inherited from Irc::User
#away=, #away?, #botdata, #channels, #delete_botdata, #host=, #is_op?, #is_voice?, #known?, #modes_on, #nick=, #replace, #set_botdata, #to_irc_user, #user=, #with_botdata
Methods inherited from Irc::Netmask
#<=>, #==, #===, #downcased, #full_downcase, #full_irc_downcase, #fullform, #generalize, #has_irc_glob?, #inspect, #matches?, #replace, #to_irc_netmask, #to_irc_user, #to_s
Methods included from Irc::ServerOrCasemap
#casemap, #downcase, #fits_with_server_and_casemap?, #init_server_or_casemap, #irc_downcase, #irc_upcase, #server_and_casemap, #upcase
Constructor Details
- (WebServiceUser) initialize(str, botuser, opts = {})
Returns a new instance of WebServiceUser
| 335 336 337 338 339 | # File '/home/apoc/projects/ruby/rbot/lib/rbot/core/webservice.rb', line 335 def initialize(str, botuser, opts={}) super(str, opts) @botuser = botuser @response = [] end | 
Instance Attribute Details
- (Object) botuser (readonly)
Returns the value of attribute botuser
| 340 341 342 | # File '/home/apoc/projects/ruby/rbot/lib/rbot/core/webservice.rb', line 340 def botuser @botuser end | 
- (Object) response
Returns the value of attribute response
| 341 342 343 | # File '/home/apoc/projects/ruby/rbot/lib/rbot/core/webservice.rb', line 341 def response @response end |