Method: FormAPI::Error#hash

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

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



128
129
130
# File 'lib/form_api/models/error.rb', line 128

def hash
  [status, error].hash
end