class SOAP::RPC::CGIStub::SOAPStdinRequest
Attributes
body[R]
Public Class Methods
new(stream)
click to toggle source
# File lib/soap/rpc/cgistub.rb, line 49 def initialize(stream) size = ENV['CONTENT_LENGTH'].to_i || 0 @body = stream.read(size) end
Public Instance Methods
[](var)
click to toggle source
# File lib/soap/rpc/cgistub.rb, line 54 def [](var) ENV[var.gsub(/-/, '_').upcase] end
meta_vars()
click to toggle source
# File lib/soap/rpc/cgistub.rb, line 58 def meta_vars { 'HTTP_SOAPACTION' => ENV['HTTP_SOAPAction'] } end
user()
click to toggle source
# File lib/soap/rpc/cgistub.rb, line 72 def user ENV['REMOTE_USER'] end