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