Sha256: ca89523864d48fead87a8f331aee07dcf76c19404e40b51de700aac97656ca05

Contents?: true

Size: 460 Bytes

Versions: 3

Compression:

Stored size: 460 Bytes

Contents

# frozen_string_literal: true

module Alchemy
  module Dragonfly
    module S3
      class Engine < ::Rails::Engine
        engine_name "alchemy_dragonfly_s3"

        config.after_initialize do
          Alchemy::Attachment.url_class = Alchemy::Attachment::S3Url
          Alchemy::Picture.url_class = Alchemy::Picture::S3Url
          Alchemy::PictureThumb.generator_class = Alchemy::Dragonfly::S3::CreatePictureThumb
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
alchemy-dragonfly-s3-5.1.5 lib/alchemy/dragonfly/s3/engine.rb
alchemy-dragonfly-s3-5.1.4 lib/alchemy/dragonfly/s3/engine.rb
alchemy-dragonfly-s3-5.1.3 lib/alchemy/dragonfly/s3/engine.rb