Method: Phrase::Account#hash

Defined in:
lib/phrase/models/account.rb

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



130
131
132
# File 'lib/phrase/models/account.rb', line 130

def hash
  [id, name, slug, company, created_at, updated_at, company_logo_url].hash
end