Sha256: 3d1cb61a73f6917aa1c0243c7667d34a2cd2d9e60c88aef8e46a275d18e27edb

Contents?: true

Size: 359 Bytes

Versions: 38

Compression:

Stored size: 359 Bytes

Contents

# frozen_string_literal: true

module Decidim::Cw
  module Verifications
    # This class deals with uploading identity documents.
    class AttachmentUploader < Decidim::Cw::ImageUploader
      set_variants do
        {
          thumbnail: { resize_to_limit: [90, nil] },
          big: { resize_to_limit: [600, nil] }
        }
      end
    end
  end
end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
decidim-verifications-0.28.4 app/uploaders/decidim/cw/verifications/attachment_uploader.rb
decidim-verifications-0.27.9 app/uploaders/decidim/cw/verifications/attachment_uploader.rb
decidim-verifications-0.28.3 app/uploaders/decidim/cw/verifications/attachment_uploader.rb
decidim-verifications-0.27.8 app/uploaders/decidim/cw/verifications/attachment_uploader.rb
decidim-verifications-0.28.2 app/uploaders/decidim/cw/verifications/attachment_uploader.rb
decidim-verifications-0.27.7 app/uploaders/decidim/cw/verifications/attachment_uploader.rb
decidim-verifications-0.28.1 app/uploaders/decidim/cw/verifications/attachment_uploader.rb
decidim-verifications-0.27.6 app/uploaders/decidim/cw/verifications/attachment_uploader.rb
decidim-verifications-0.26.10 app/uploaders/decidim/cw/verifications/attachment_uploader.rb
decidim-verifications-0.26.9 app/uploaders/decidim/cw/verifications/attachment_uploader.rb
decidim-verifications-0.28.0 app/uploaders/decidim/cw/verifications/attachment_uploader.rb
decidim-verifications-0.27.5 app/uploaders/decidim/cw/verifications/attachment_uploader.rb
decidim-verifications-0.28.0.rc5 app/uploaders/decidim/cw/verifications/attachment_uploader.rb
decidim-verifications-0.28.0.rc4 app/uploaders/decidim/cw/verifications/attachment_uploader.rb
decidim-verifications-0.26.8 app/uploaders/decidim/cw/verifications/attachment_uploader.rb
decidim-verifications-0.27.4 app/uploaders/decidim/cw/verifications/attachment_uploader.rb
decidim-verifications-0.27.3 app/uploaders/decidim/cw/verifications/attachment_uploader.rb
decidim-verifications-0.26.7 app/uploaders/decidim/cw/verifications/attachment_uploader.rb
decidim-verifications-0.26.5 app/uploaders/decidim/cw/verifications/attachment_uploader.rb
decidim-verifications-0.27.2 app/uploaders/decidim/cw/verifications/attachment_uploader.rb