Method: PulpRpmClient::ImageResponse#==

Defined in:
lib/pulp_rpm_client/models/image_response.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



134
135
136
137
138
139
140
141
# File 'lib/pulp_rpm_client/models/image_response.rb', line 134

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      name == o.name &&
      path == o.path &&
      platforms == o.platforms &&
      artifact == o.artifact
end