Method: Propertyware::ProspectContact#hash

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

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



156
157
158
# File 'lib/propertyware/models/prospect_contact.rb', line 156

def hash
  [email, first_name, home_phone, id, last_name, mobile_phone, work_phone].hash
end