lib/acfs/resource/operational.rb in acfs-1.7.0 vs lib/acfs/resource/operational.rb in acfs-2.0.0

- old
+ new

@@ -10,17 +10,17 @@ # Should only be used internal. # module Operational extend ActiveSupport::Concern - def operation(*args, **kwargs, &block) - self.class.operation(*args, **kwargs, &block) + def operation(...) + self.class.operation(...) end module ClassMethods # Invoke CRUD operation. - def operation(action, **opts, &block) - Acfs.runner.process ::Acfs::Operation.new(self, action, **opts, &block) + def operation(...) + Acfs.runner.process ::Acfs::Operation.new(self, ...) end end end end