Method: UltracartClient::ItemContent#==

Defined in:
lib/ultracart_api/models/item_content.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
# File 'lib/ultracart_api/models/item_content.rb', line 237

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      assignments == o.assignments &&
      attributes == o.attributes &&
      custom_thank_you_url == o.custom_thank_you_url &&
      exclude_from_search == o.exclude_from_search &&
      exclude_from_sitemap == o.exclude_from_sitemap &&
      exclude_from_top_sellers == o.exclude_from_top_sellers &&
      extended_description == o.extended_description &&
      extended_description_translated_text_instance_oid == o.extended_description_translated_text_instance_oid &&
      meta_description == o.meta_description &&
      meta_keywords == o.meta_keywords &&
      meta_title == o.meta_title &&
      multimedia == o.multimedia &&
      new_item == o.new_item &&
      new_item_end == o.new_item_end &&
      new_item_start == o.new_item_start &&
      view_url == o.view_url
end