Sha256: 4083ce4434e6c87a1e1132ace5af4e46a0c7f2252a1abbd6aa483a46abf84395

Contents?: true

Size: 292 Bytes

Versions: 1

Compression:

Stored size: 292 Bytes

Contents

# frozen_string_literal: true

class SlideCoverUploader < PublicAclUploader
  process quality: 90

  version :cover do
    process resize_to_fill: [1920, 576]
  end

  version :thumb do
    process resize_to_fill: [50, 50]
  end

  def extension_white_list
    %w[jpg jpeg gif png]
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
translation_cms-0.1.5 app/uploaders/slide_cover_uploader.rb