Method: TalonOne::IntegrationStateV2#hash

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

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



238
239
240
# File 'lib/talon_one/models/integration_state_v2.rb', line 238

def hash
  [customer_session, customer_profile, event, loyalty, referral, coupons, triggered_campaigns, effects, rule_failure_reasons, created_coupons, created_referrals, awarded_giveaways, _return, previous_returns].hash
end