Sha256: 1c27b5d38c6d29bf9edb85f5d128337e7887f2ed37b89eb660b4100e5c96e5dd

Contents?: true

Size: 246 Bytes

Versions: 62

Compression:

Stored size: 246 Bytes

Contents

module Workarea
  class DirectUpload
    class Asset
      include Processor

      def perform
        Content::Asset.create!(
          file: direct_upload.file,
          file_name: direct_upload.filename
        )
      end
    end
  end
end

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
workarea-core-3.5.27 app/services/workarea/direct_upload/asset.rb
workarea-core-3.5.26 app/services/workarea/direct_upload/asset.rb
workarea-core-3.4.45 app/services/workarea/direct_upload/asset.rb
workarea-core-3.5.25 app/services/workarea/direct_upload/asset.rb
workarea-core-3.5.23 app/services/workarea/direct_upload/asset.rb
workarea-core-3.4.44 app/services/workarea/direct_upload/asset.rb
workarea-core-3.5.22 app/services/workarea/direct_upload/asset.rb
workarea-core-3.4.43 app/services/workarea/direct_upload/asset.rb
workarea-core-3.5.21 app/services/workarea/direct_upload/asset.rb
workarea-core-3.4.42 app/services/workarea/direct_upload/asset.rb
workarea-core-3.5.20 app/services/workarea/direct_upload/asset.rb
workarea-core-3.4.41 app/services/workarea/direct_upload/asset.rb
workarea-core-3.5.19 app/services/workarea/direct_upload/asset.rb
workarea-core-3.4.40 app/services/workarea/direct_upload/asset.rb
workarea-core-3.5.18 app/services/workarea/direct_upload/asset.rb
workarea-core-3.4.39 app/services/workarea/direct_upload/asset.rb
workarea-core-3.5.17 app/services/workarea/direct_upload/asset.rb
workarea-core-3.4.38 app/services/workarea/direct_upload/asset.rb
workarea-core-3.5.16 app/services/workarea/direct_upload/asset.rb
workarea-core-3.4.37 app/services/workarea/direct_upload/asset.rb