Class: SOAP::RPC::CGIStub::SOAPStdinRequest
- Inherits:
 - 
      SOAPRequest
      
        
- Object
 - SOAPRequest
 - SOAP::RPC::CGIStub::SOAPStdinRequest
 
 
- Defined in:
 - lib/soap/rpc/cgistub.rb
 
Instance Attribute Summary collapse
- 
  
    
      #body  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute body.
 
Instance Method Summary collapse
- #[](var) ⇒ Object
 - 
  
    
      #initialize(stream)  ⇒ SOAPStdinRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of SOAPStdinRequest.
 - #meta_vars ⇒ Object
 
Constructor Details
#initialize(stream) ⇒ SOAPStdinRequest
Returns a new instance of SOAPStdinRequest.
      42 43 44 45  | 
    
      # File 'lib/soap/rpc/cgistub.rb', line 42 def initialize(stream) size = ENV['CONTENT_LENGTH'].to_i || 0 @body = stream.read(size) end  | 
  
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
      40 41 42  | 
    
      # File 'lib/soap/rpc/cgistub.rb', line 40 def body @body end  |