Sha256: abcd51a4ed444806fbfd6fa5435708c7fb9cc65334be38ee62ee4c878015fa94

Contents?: true

Size: 299 Bytes

Versions: 5

Compression:

Stored size: 299 Bytes

Contents

# frozen_string_literal: true

module SolidusSubscriptions
  class CreateSubscriptionJob < ApplicationJob
    queue_as { SolidusSubscriptions.configuration.processing_queue }

    def perform(order)
      SolidusSubscriptions.configuration.subscription_generator_class.call(order)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
solidus_subscriptions-2.0.2 app/jobs/solidus_subscriptions/create_subscription_job.rb
solidus_subscriptions-2.0.1 app/jobs/solidus_subscriptions/create_subscription_job.rb
solidus_subscriptions-2.0.0 app/jobs/solidus_subscriptions/create_subscription_job.rb
solidus_subscriptions-1.1.0 app/jobs/solidus_subscriptions/create_subscription_job.rb
solidus_subscriptions-1.0.1 app/jobs/solidus_subscriptions/create_subscription_job.rb