Sha256: 46523843dd3a7d36b01f7dbf9fae458975011f850f03a2e537a8c433894eaeec

Contents?: true

Size: 320 Bytes

Versions: 2

Compression:

Stored size: 320 Bytes

Contents

# frozen_string_literal: true

module Alchemy
  module Dragonfly
    module S3
      class Store
        def self.call(variant, uid)
          # download and process the image
          image = variant.image
          # upload the processed image
          image.store(path: uid)
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
alchemy-dragonfly-s3-7.0.1 lib/alchemy/dragonfly/s3/store.rb
alchemy-dragonfly-s3-7.0.0 lib/alchemy/dragonfly/s3/store.rb