demarches-normaliennes/app/models/procedure_flipper_actor.rb

8 lines
227 B
Ruby
Raw Normal View History

# 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