Method: FormAPI::AuthenticationError#hash

Defined in:
lib/form_api/models/authentication_error.rb

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



123
124
125
# File 'lib/form_api/models/authentication_error.rb', line 123

def hash
  [status, error].hash
end