Class: SOAP::RPC::CGIStub::SOAPFCGIRequest
- Inherits:
-
SOAPRequest
- Object
- SOAPRequest
- SOAP::RPC::CGIStub::SOAPFCGIRequest
- Defined in:
- lib/action_web_service/soap/rpc/cgistub.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
Instance Method Summary collapse
- #[](var) ⇒ Object
-
#initialize(request) ⇒ SOAPFCGIRequest
constructor
A new instance of SOAPFCGIRequest.
- #meta_vars ⇒ Object
Constructor Details
#initialize(request) ⇒ SOAPFCGIRequest
Returns a new instance of SOAPFCGIRequest.
61 62 63 64 |
# File 'lib/action_web_service/soap/rpc/cgistub.rb', line 61 def initialize(request) @request = request @body = @request.in.read end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
59 60 61 |
# File 'lib/action_web_service/soap/rpc/cgistub.rb', line 59 def body @body end |
Instance Method Details
#[](var) ⇒ Object
66 67 68 |
# File 'lib/action_web_service/soap/rpc/cgistub.rb', line 66 def [](var) @request.env[var.gsub(/-/, '_').upcase] end |
#meta_vars ⇒ Object
70 71 72 73 74 |
# File 'lib/action_web_service/soap/rpc/cgistub.rb', line 70 def { 'HTTP_SOAPACTION' => @request.env['HTTP_SOAPAction'] } end |