Class: RightScale::Response
- Defined in:
- lib/right_agent/http_exceptions.rb
Overview
Container for response so that access response headers in same fashion as RestClient
Instance Attribute Summary collapse
-
#headers ⇒ Object
readonly
Returns the value of attribute headers.
Instance Method Summary collapse
-
#initialize(headers) ⇒ Response
constructor
A new instance of Response.
Constructor Details
#initialize(headers) ⇒ Response
Returns a new instance of Response.
11 12 13 |
# File 'lib/right_agent/http_exceptions.rb', line 11 def initialize(headers) @headers = headers end |
Instance Attribute Details
#headers ⇒ Object (readonly)
Returns the value of attribute headers.
9 10 11 |
# File 'lib/right_agent/http_exceptions.rb', line 9 def headers @headers end |