lib/ezclient/errors.rb in ezclient-1.5.1 vs lib/ezclient/errors.rb in ezclient-1.6.0
- old
+ new
@@ -4,9 +4,10 @@
class ResponseStatusError < StandardError
attr_accessor :response
def initialize(response)
self.response = response
+ super
end
def message
"Bad response code: #{response.code}"
end