Method: OrderCloud::ProductAssignment#hash
- Defined in:
- lib/order_cloud/models/product_assignment.rb
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
116 117 118 |
# File 'lib/order_cloud/models/product_assignment.rb', line 116 def hash [product_id, buyer_id, user_group_id, price_schedule_id].hash end |