Method: Propertyware::LeaseContact#hash

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

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



186
187
188
# File 'lib/propertyware/models/lease_contact.rb', line 186

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