Method: UltracartClient::ItemRelated#hash

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

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



117
118
119
# File 'lib/ultracart_api/models/item_related.rb', line 117

def hash
  [no_system_calculated_related_items, not_relatable, related_items].hash
end