Sha256: db0d5014331326c5ecb946befd177bec8a1ba6bd6ce2e5364342526136e11b20

Contents?: true

Size: 219 Bytes

Versions: 3

Compression:

Stored size: 219 Bytes

Contents

# frozen_string_literal: true

module Decidim
  module Antivirus
    module FileVirusScannable
      extend ActiveSupport::Concern

      included do
        validates :file, antivirus: true
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decidim-antivirus-0.19.0 lib/decidim/antivirus/file_virus_scannable.rb
decidim-antivirus-0.18.0 lib/decidim/antivirus/file_virus_scannable.rb
decidim-antivirus-0.17.0 lib/decidim/antivirus/file_virus_scannable.rb