Method: TalonOne::UpdateCoupon#hash
- Defined in:
- lib/talon_one/models/update_coupon.rb
#hash ⇒ Integer
Calculates hash code according to all attributes.
188 189 190 |
# File 'lib/talon_one/models/update_coupon.rb', line 188 def hash [usage_limit, discount_limit, start_date, expiry_date, recipient_integration_id, attributes].hash end |