2024-04-29 00:17:15 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2023-08-28 14:25:45 +02:00
|
|
|
module ProcedureChorusConcern
|
|
|
|
extend ActiveSupport::Concern
|
|
|
|
|
|
|
|
included do
|
2023-08-29 09:22:58 +02:00
|
|
|
def chorus_configuration
|
|
|
|
@chorus_configuration ||= ChorusConfiguration.new(chorus)
|
|
|
|
end
|
|
|
|
|
2023-08-28 14:25:45 +02:00
|
|
|
def chorusable?
|
2023-10-23 08:58:50 +02:00
|
|
|
feature_enabled?(:engagement_juridique_type_de_champ)
|
2023-08-28 14:25:45 +02:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|