Method: EilamTest::UserCreate#hash

Defined in:
lib/eilam_test/models/user_create.rb

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



271
272
273
# File 'lib/eilam_test/models/user_create.rb', line 271

def hash
  [date_joined, email, first_name, is_active, is_staff, is_superuser, , last_name, password, username, uuid].hash
end