Method: MergeATSClient::RemoteResponse#==

Defined in:
lib/merge_ats_client/models/remote_response.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



149
150
151
152
153
154
155
156
157
158
159
# File 'lib/merge_ats_client/models/remote_response.rb', line 149

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      method == o.method &&
      path == o.path &&
      status == o.status &&
      response == o.response &&
      response_headers == o.response_headers &&
      response_type == o.response_type &&
      headers == o.headers
end