Sha256: e56961e8b7b813067f756bc83b19fc6cbcbcb7d4d13223cc7ba53c3a34198595

Contents?: true

Size: 232 Bytes

Versions: 2

Compression:

Stored size: 232 Bytes

Contents

module Attachs
  module Jobs
    class DeleteJob < Base

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

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
attachs-4.0.0.1 lib/attachs/jobs/delete_job.rb
attachs-4.0.0.0 lib/attachs/jobs/delete_job.rb