Skip to content

Commit

Permalink
Use standard method definition
Browse files Browse the repository at this point in the history
  • Loading branch information
eanders committed Aug 7, 2024
1 parent 409dd7b commit fe43381
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit fe43381

Please sign in to comment.