Method: DocSpring::ErrorResponse#hash

Defined in:
lib/docspring/models/error_response.rb

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



153
154
155
# File 'lib/docspring/models/error_response.rb', line 153

def hash
  [status, error].hash
end