Method: AliseeksApi::ProductReview#==

Defined in:
lib/aliseeks_api/models/product_review.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.



155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
# File 'lib/aliseeks_api/models/product_review.rb', line 155

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      buyer_name == o.buyer_name &&
      buyer_country == o.buyer_country &&
      buyer_rating == o.buyer_rating &&
      review_date == o.review_date &&
      review == o.review &&
      translated_review == o.translated_review &&
      images == o.images &&
      shipping == o.shipping &&
      sku_information == o.sku_information &&
      down_votes == o.down_votes &&
      up_votes == o.up_votes
end