Method: Propertyware::Adjustment#hash

Defined in:
lib/propertyware/models/adjustment.rb

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



216
217
218
# File 'lib/propertyware/models/adjustment.rb', line 216

def hash
  [amount, comments, created_by, created_date_time, date, , id, last_modified_by, last_modified_date_time, lease_id, portfolio_id, ref_no].hash
end