Sha256: a812b68a2782138797e26b6e027b3c8816ec8fda6c7d0d12d513c7acf2f022b0

Contents?: true

Size: 197 Bytes

Versions: 2

Compression:

Stored size: 197 Bytes

Contents

# frozen_string_literal: true

module Alchemy
  class Attachment < ActiveRecord::Base
    class S3Url
      def self.call(attachment)
        attachment.file.remote_url
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
alchemy-dragonfly-s3-3.6.6 app/models/alchemy/attachment/s3_url.rb
alchemy-dragonfly-s3-3.6.5 app/models/alchemy/attachment/s3_url.rb