Class: WsdlMapper::Runtime::Response
- Inherits:
-
Object
- Object
- WsdlMapper::Runtime::Response
- Defined in:
- lib/wsdl_mapper/runtime/response.rb
Instance Attribute Summary (collapse)
- - (String) body
-
- (WsdlMapper::SvcDesc::Envelope) envelope
The deserialized body.
- - (Hash) http_headers
- - (Fixnum) status
Instance Method Summary (collapse)
-
- (Response) initialize(status, body, http_headers)
constructor
A new instance of Response.
Constructor Details
- (Response) initialize(status, body, http_headers)
Returns a new instance of Response
19 20 21 22 23 |
# File 'lib/wsdl_mapper/runtime/response.rb', line 19 def initialize(status, body, http_headers) @status = status @body = body @http_headers = http_headers end |
Instance Attribute Details
- (String) body
7 8 9 |
# File 'lib/wsdl_mapper/runtime/response.rb', line 7 def body @body end |
- (WsdlMapper::SvcDesc::Envelope) envelope
Returns The deserialized body
7 8 9 |
# File 'lib/wsdl_mapper/runtime/response.rb', line 7 def envelope @envelope end |
- (Hash) http_headers
7 8 9 |
# File 'lib/wsdl_mapper/runtime/response.rb', line 7 def http_headers @http_headers end |
- (Fixnum) status
7 8 9 |
# File 'lib/wsdl_mapper/runtime/response.rb', line 7 def status @status end |