Method: Kickflow::Role#hash

Defined in:
lib/kickflow/models/role.rb

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



228
229
230
# File 'lib/kickflow/models/role.rb', line 228

def hash
  [id, name, editable, users_count, created_at, updated_at].hash
end