Method: Propertyware::SaveContact#hash

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

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



607
608
609
# File 'lib/propertyware/models/save_contact.rb', line 607

def hash
  [address, allow_e_signature, alt_email, birth_date, category, comments, company, email, fax, first_name, gender, home_phone, job_title, last_name, middle_name, mobile_phone, name_on_check, named_on_lease, other_phone, salutation, search_tag, suffix, work_phone].hash
end