Method: OryClient::GenericErrorContent#==

Defined in:
lib/ory-client/models/generic_error_content.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • to be compared



118
119
120
121
122
123
124
125
126
# File 'lib/ory-client/models/generic_error_content.rb', line 118

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      debug == o.debug &&
      error == o.error &&
      error_description == o.error_description &&
      message == o.message &&
      status_code == o.status_code
end