app/lib/actions/entry_action.rb in foreman-tasks-0.7.6 vs app/lib/actions/entry_action.rb in foreman-tasks-0.7.7

- old
+ new

@@ -55,10 +55,14 @@ def self.all_action_names subclasses.map { |k| k.allocate.humanized_name } end def delay(_schedule_options, *args) - Serializers::ActiveRecordSerializer.new args + self.serializer_class.new args + end + + def self.serializer_class + Serializers::ActiveRecordSerializer end end end