Method: UltracartClient::ItemContent#hash

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

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



266
267
268
# File 'lib/ultracart_api/models/item_content.rb', line 266

def hash
  [assignments, attributes, custom_thank_you_url, exclude_from_search, exclude_from_sitemap, exclude_from_top_sellers, extended_description, extended_description_translated_text_instance_oid, meta_description, meta_keywords, meta_title, multimedia, new_item, new_item_end, new_item_start, view_url].hash
end