lib/api_client/errors.rb in api_client-0.5.7 vs lib/api_client/errors.rb in api_client-0.5.9
- old
+ new
@@ -1,9 +1,9 @@
module ApiClient
module Errors
class ApiClientError < StandardError
- def initialize(message=nil, request, response)
+ def initialize(message = nil, request = nil, response = nil)
super(message)
@request = request
@response = response
end