Class: Rubotium::CmdResult
- Inherits:
 - 
      Object
      
        
- Object
 - Rubotium::CmdResult
 
 
- Defined in:
 - lib/rubotium/cmd_result.rb
 
Instance Attribute Summary collapse
- 
  
    
      #result  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute result.
 - 
  
    
      #status_code  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute status_code.
 
Instance Method Summary collapse
- 
  
    
      #initialize(status_code, result)  ⇒ CmdResult 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of CmdResult.
 
Constructor Details
#initialize(status_code, result) ⇒ CmdResult
Returns a new instance of CmdResult.
      5 6 7 8  | 
    
      # File 'lib/rubotium/cmd_result.rb', line 5 def initialize(status_code, result) @status_code = status_code @result = result end  | 
  
Instance Attribute Details
#result ⇒ Object (readonly)
Returns the value of attribute result.
      3 4 5  | 
    
      # File 'lib/rubotium/cmd_result.rb', line 3 def result @result end  | 
  
#status_code ⇒ Object (readonly)
Returns the value of attribute status_code.
      3 4 5  | 
    
      # File 'lib/rubotium/cmd_result.rb', line 3 def status_code @status_code end  |