Method: ElasticEmail::NewApiKey#hash
- Defined in:
- lib/ElasticEmail/models/new_api_key.rb
#hash ⇒ Integer
Calculates hash code according to all attributes.
164 165 166 |
# File 'lib/ElasticEmail/models/new_api_key.rb', line 164 def hash [token, access_level, name, date_created, last_use, expires, restrict_access_to_ip_range].hash end |