From fe433812687d42161a3f0292ea746871435d5b34 Mon Sep 17 00:00:00 2001 From: Elliot Anders Date: Wed, 7 Aug 2024 08:46:50 -0400 Subject: [PATCH] Use standard method definition --- .../match_decisions/route_thirteen_cancel_reasons.rb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/app/models/concerns/match_decisions/route_thirteen_cancel_reasons.rb b/app/models/concerns/match_decisions/route_thirteen_cancel_reasons.rb index 75e1d8369..92d5bf4f0 100644 --- a/app/models/concerns/match_decisions/route_thirteen_cancel_reasons.rb +++ b/app/models/concerns/match_decisions/route_thirteen_cancel_reasons.rb @@ -8,10 +8,12 @@ module MatchDecisions module RouteThirteenCancelReasons extend ActiveSupport::Concern - def pre_hsa_decision? = [ - 'MatchDecisions::Thirteen::ThirteenClientMatch', - 'MatchDecisions::Thirteen::ThirteenMatchAcknowledgement', - ].include?(type) + def pre_hsa_decision? + [ + 'MatchDecisions::Thirteen::ThirteenClientMatch', + 'MatchDecisions::Thirteen::ThirteenMatchAcknowledgement', + ].include?(type) + end def match_success_decision? type == 'MatchDecisions::Thirteen::ThirteenConfirmMatchSuccess'