Sha256: c5daea637f64c657e563b7efd4a01b3f650a2ad8133000b3e1aafd7355f8392d

Contents?: true

Size: 299 Bytes

Versions: 1

Compression:

Stored size: 299 Bytes

Contents

module Pageflow
  module LinkmapPage
    class ProcessSourceImageFileJob
      @queue = :resizing

      extend StateMachineJob

      def self.perform_with_result(file, _options)
        file.attachment = file.source_image_file.attachment
        file.save!
        :ok
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pageflow-linkmap-page-1.5.0 app/jobs/pageflow/linkmap_page/process_source_image_file_job.rb