Sha256: cef4923168d5e67b6eea97bedf26cb7c59244ac56e7d25621b32deaee6f4791a

Contents?: true

Size: 226 Bytes

Versions: 19

Compression:

Stored size: 226 Bytes

Contents

# frozen_string_literal: true

module Alchemy
  class PublishPageJob < BaseJob
    queue_as :default

    def perform(page, public_on:)
      Alchemy::Page::Publisher.new(page).publish!(public_on: public_on)
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
alchemy_cms-6.0.5 app/jobs/alchemy/publish_page_job.rb
alchemy_cms-6.0.4 app/jobs/alchemy/publish_page_job.rb
alchemy_cms-6.0.3 app/jobs/alchemy/publish_page_job.rb
alchemy_cms-6.0.2 app/jobs/alchemy/publish_page_job.rb
alchemy_cms-6.0.1 app/jobs/alchemy/publish_page_job.rb
alchemy_cms-6.0.0 app/jobs/alchemy/publish_page_job.rb
alchemy_cms-6.0.0.pre.rc7 app/jobs/alchemy/publish_page_job.rb
alchemy_cms-6.0.0.pre.rc6 app/jobs/alchemy/publish_page_job.rb
alchemy_cms-6.0.0.pre.rc5 app/jobs/alchemy/publish_page_job.rb
alchemy_cms-6.0.0.pre.rc4 app/jobs/alchemy/publish_page_job.rb
alchemy_cms-6.0.0.pre.rc3 app/jobs/alchemy/publish_page_job.rb
alchemy_cms-6.0.0.pre.rc2 app/jobs/alchemy/publish_page_job.rb
alchemy_cms-6.0.0.pre.rc1 app/jobs/alchemy/publish_page_job.rb
alchemy_cms-6.0.0.pre.b6 app/jobs/alchemy/publish_page_job.rb
alchemy_cms-6.0.0.pre.b5 app/jobs/alchemy/publish_page_job.rb
alchemy_cms-6.0.0.pre.b4 app/jobs/alchemy/publish_page_job.rb
alchemy_cms-6.0.0.b3 app/jobs/alchemy/publish_page_job.rb
alchemy_cms-6.0.0.b2 app/jobs/alchemy/publish_page_job.rb
alchemy_cms-6.0.0.b1 app/jobs/alchemy/publish_page_job.rb