Method: TalonOne::Attribute#hash
- Defined in:
- lib/talon_one/models/attribute.rb
#hash ⇒ Integer
Calculates hash code according to all attributes.
398 399 400 |
# File 'lib/talon_one/models/attribute.rb', line 398 def hash [id, created, account_id, entity, event_type, name, title, type, description, suggestions, has_allowed_list, restricted_by_suggestions, editable, subscribed_applications_ids, subscribed_catalogs_ids, allowed_subscriptions, event_type_id].hash end |