demarches-normaliennes/app/models/procedure_flipper_actor.rb
2024-08-22 09:26:48 +02:00

9 lines
258 B
Ruby

# frozen_string_literal: true
# Use this when we want to check feature flags on a procedure whithout loading the all procedure
class ProcedureFlipperActor < Struct.new(:procedure_id) do
def flipper_id
"Procedure;#{procedure_id}"
end
end
end