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.4.27 app/services/workarea/direct_upload/asset.rb
workarea-core-3.5.4 app/services/workarea/direct_upload/asset.rb
workarea-core-3.4.26 app/services/workarea/direct_upload/asset.rb
workarea-core-3.5.3 app/services/workarea/direct_upload/asset.rb
workarea-core-3.4.25 app/services/workarea/direct_upload/asset.rb
workarea-core-3.5.2 app/services/workarea/direct_upload/asset.rb
workarea-core-3.4.24 app/services/workarea/direct_upload/asset.rb
workarea-core-3.5.1 app/services/workarea/direct_upload/asset.rb
workarea-core-3.4.23 app/services/workarea/direct_upload/asset.rb
workarea-core-3.4.22 app/services/workarea/direct_upload/asset.rb
workarea-core-3.5.0 app/services/workarea/direct_upload/asset.rb
workarea-core-3.4.21 app/services/workarea/direct_upload/asset.rb
workarea-core-3.5.0.beta.1 app/services/workarea/direct_upload/asset.rb
workarea-core-3.4.20 app/services/workarea/direct_upload/asset.rb
workarea-core-3.4.19 app/services/workarea/direct_upload/asset.rb
workarea-core-3.4.18 app/services/workarea/direct_upload/asset.rb
workarea-core-3.4.17 app/services/workarea/direct_upload/asset.rb
workarea-core-3.4.16 app/services/workarea/direct_upload/asset.rb
workarea-core-3.4.15 app/services/workarea/direct_upload/asset.rb
workarea-core-3.4.14 app/services/workarea/direct_upload/asset.rb