Sha256: 9a2f1005ad3b75cedc94ad482fd5a21550f10763859c3edff5d38d9295109454

Contents?: true

Size: 233 Bytes

Versions: 4

Compression:

Stored size: 233 Bytes

Contents

module Attachs
  module Jobs
    class DeleteJob < Base

      def perform(paths)
        paths.each do |path|
          if storage.exists?(path)
            storage.delete path
          end
        end
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
attachs-4.0.0.5 lib/attachs/jobs/delete_job.rb
attachs-4.0.0.4 lib/attachs/jobs/delete_job.rb
attachs-4.0.0.3 lib/attachs/jobs/delete_job.rb
attachs-4.0.0.2 lib/attachs/jobs/delete_job.rb