Method: TalonOne::PatchItemCatalogAction#hash

Defined in:
lib/talon_one/models/patch_item_catalog_action.rb

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



136
137
138
# File 'lib/talon_one/models/patch_item_catalog_action.rb', line 136

def hash
  [sku, price, attributes, product, create_if_not_exists].hash
end