Method: Propertyware::WorkOrder#hash

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

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • Hash code



486
487
488
# File 'lib/propertyware/models/work_order.rb', line 486

def hash
  [age, approved, approved_date, assigned_vendors, authorize_enter, building_id, category, completed_date, contract_number, cost_estimate, created_by, created_date_time, custom_fields, date_to_enter, description, hour_estimate, id, last_modified_by, last_modified_date_time, lease, location, maintenance_notice, managed_by, number, portfolio_id, priority, requested_by, required_materials, scheduled_end_date, search_tag, source, specific_location, start_date, status, type].hash
end