lib/api-client/errors.rb in api-client-1.5.1 vs lib/api-client/errors.rb in api-client-1.5.2
- old
+ new
@@ -7,10 +7,9 @@
# @return [ApiClient::Errors] The Error object.
def add_errors(errors = {})
errors.each do |key, value|
self.set(key, value)
end
- self
end
# Create a hash of attributes with unique validation error messages.
#
# Example: