Method: Kickflow::GeneralMasterItem#hash

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

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



269
270
271
# File 'lib/kickflow/models/general_master_item.rb', line 269

def hash
  [id, code, name, description, created_at, updated_at, starts_on, ends_on, inputs].hash
end