Method: TalonOne::ProductSkuUnitAnalytics#hash

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

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



138
139
140
# File 'lib/talon_one/models/product_sku_unit_analytics.rb', line 138

def hash
  [start_time, end_time, purchased_units, sku].hash
end