Method: Daily::BatchProcessorError#==

Defined in:
lib/daily-ruby/models/batch_processor_error.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



143
144
145
146
147
148
149
150
# File 'lib/daily-ruby/models/batch_processor_error.rb', line 143

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      version == o.version &&
      type == o.type &&
      event_ts == o.event_ts &&
      payload == o.payload
end