Method: SematextCloud::GenericApiResponse#==

Defined in:
lib/SematextCloud/models/generic_api_response.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



89
90
91
92
93
94
95
96
# File 'lib/SematextCloud/models/generic_api_response.rb', line 89

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      data == o.data &&
      errors == o.errors &&
      message == o.message &&
      success == o.success
end