lib/nimbu-api/errors/service_error.rb in nimbu-api-0.0.2 vs lib/nimbu-api/errors/service_error.rb in nimbu-api-0.1
- old
+ new
@@ -7,9 +7,10 @@
module Error
class ServiceError < NimbuError
include ::Nimbu::Utils::Json
attr_reader :http_headers
+ attr_reader :http_body
def initialize(response)
@http_headers = response[:response_headers]
message = parse_response(response)
super(message)