lib/dropbox-sign/models/error_response.rb in dropbox-sign-1.6.0 vs lib/dropbox-sign/models/error_response.rb in dropbox-sign-1.6.1

- old
+ new

@@ -63,11 +63,11 @@ # Attempt to instantiate and hydrate a new instance of this class # @param [Object] data Data to be converted # @return [ErrorResponse] def self.init(data) - return ApiClient.default.convert_to_type( + ApiClient.default.convert_to_type( data, "ErrorResponse" ) || ErrorResponse.new end @@ -244,9 +244,7 @@ value.to_hash(include_nil) else value end end - end - end