Method: ESI::ErrorLimited#==

Defined in:
lib/esi-client-bvv/models/error_limited.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



70
71
72
73
74
# File 'lib/esi-client-bvv/models/error_limited.rb', line 70

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      error == o.error
end