Method: ZipMoney::Shopper#hash

Defined in:
lib/zip_money/models/shopper.rb

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



229
230
231
# File 'lib/zip_money/models/shopper.rb', line 229

def hash
  [title, first_name, last_name, middle_name, phone, email, birth_date, gender, statistics, billing_address].hash
end