Class: Inspec::Resources::Http::Worker::Base
- Inherits:
- 
      Object
      
        - Object
- Inspec::Resources::Http::Worker::Base
 
- Defined in:
- lib/resources/http.rb
Instance Attribute Summary collapse
- 
  
    
      #http_method  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute http_method. 
- 
  
    
      #opts  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute opts. 
- 
  
    
      #url  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    Returns the value of attribute url. 
Instance Method Summary collapse
- 
  
    
      #initialize(http_method, url, opts)  ⇒ Base 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Base. 
Constructor Details
#initialize(http_method, url, opts) ⇒ Base
Returns a new instance of Base.
| 78 79 80 81 82 83 | # File 'lib/resources/http.rb', line 78 def initialize(http_method, url, opts) @http_method = http_method @url = url @opts = opts @response = nil end | 
Instance Attribute Details
#http_method ⇒ Object (readonly)
Returns the value of attribute http_method.
| 76 77 78 | # File 'lib/resources/http.rb', line 76 def http_method @http_method end | 
#opts ⇒ Object (readonly)
Returns the value of attribute opts.
| 76 77 78 | # File 'lib/resources/http.rb', line 76 def opts @opts end | 
#url ⇒ Object (readonly)
Returns the value of attribute url.
| 76 77 78 | # File 'lib/resources/http.rb', line 76 def url @url end |