app/lib/actions/entry_action.rb in foreman-tasks-0.8.6 vs app/lib/actions/entry_action.rb in foreman-tasks-0.9.0
- old
+ new
@@ -1,7 +1,6 @@
module Actions
-
class EntryAction < Actions::Base
include Helpers::ArgsSerialization
include Helpers::Lock
# what locks to use on the resource? All by default, can be overriden.
@@ -55,14 +54,13 @@
def self.all_action_names
subclasses.map { |k| k.allocate.humanized_name }
end
def delay(_schedule_options, *args)
- self.serializer_class.new args
+ serializer_class.new args
end
def self.serializer_class
Serializers::ActiveRecordSerializer
end
-
end
end