Skip to content

Commit

Permalink
rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
tnicolas1 committed Oct 17, 2024
1 parent 30f7aaa commit 488465e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/asp/payment_request.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

module ASP
class PaymentRequest < ApplicationRecord # rubocop:disable Metrics/ClassLength
class PaymentRequest < ApplicationRecord
TRANSITION_CLASS = ASP::PaymentRequestTransition
STATE_MACHINE_CLASS = ASP::PaymentRequestStateMachine

Expand Down Expand Up @@ -133,5 +133,5 @@ def eligible_for_rejected_or_unpaid_auto_retry?
message = in_state?(:rejected) ? decorator.rejected_reason : decorator.unpaid_reason
%w[RIB BIC PAIEMENT].any? { |word| message.upcase.include?(word) }
end
end # rubocop:enable Metrics/ClassLength
end
end

0 comments on commit 488465e

Please sign in to comment.