Method: Notifo::LogEntryDto#hash

Defined in:
lib/notifo/models/log_entry_dto.rb

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



138
139
140
# File 'lib/notifo/models/log_entry_dto.rb', line 138

def hash
  [message, first_seen, last_seen, count].hash
end