Method: OpenapiClient::HTTPValidationError#==

Defined in:
lib/openapi_client/models/http_validation_error.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



82
83
84
85
86
# File 'lib/openapi_client/models/http_validation_error.rb', line 82

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      detail == o.detail
end