Method: VoucherifySdk::PromotionStackBase#hash

Defined in:
lib/VoucherifySdk/models/promotion_stack_base.rb

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



101
102
103
# File 'lib/VoucherifySdk/models/promotion_stack_base.rb', line 101

def hash
  [name, tiers].hash
end