summaryrefslogtreecommitdiff
path: root/lib/solidus_subscriptions
diff options
context:
space:
mode:
authorIkraam Ghoor <ikraamghoor@nebulab.it>2021-03-26 10:59:20 +0200
committerIkraam Ghoor <ikraamghoor@nebulab.it>2021-03-26 10:59:28 +0200
commitb236da3317929f3735616262fe2a258c75428ffc (patch)
tree3e27d28e0a79b24a36af50961c0a22bb70566c22 /lib/solidus_subscriptions
parent28e9291ecdf010a4f87ee1cb8d2856d766ad0f75 (diff)
fixup! Skip ActiveJob retrying for ProcessInstallmentJob
Diffstat (limited to 'lib/solidus_subscriptions')
-rw-r--r--lib/solidus_subscriptions/configuration.rb8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/solidus_subscriptions/configuration.rb b/lib/solidus_subscriptions/configuration.rb
index 6e4479d..cbaec5c 100644
--- a/lib/solidus_subscriptions/configuration.rb
+++ b/lib/solidus_subscriptions/configuration.rb
@@ -4,14 +4,14 @@ module SolidusSubscriptions
class Configuration
attr_accessor(
:maximum_total_skips, :maximum_reprocessing_time, :churn_buster_account_id,
- :churn_buster_api_key, :clear_past_installments,
+ :churn_buster_api_key, :clear_past_installments, :processing_error_handler,
)
attr_writer(
:success_dispatcher_class, :failure_dispatcher_class, :payment_failed_dispatcher_class,
:out_of_stock_dispatcher, :maximum_successive_skips, :reprocessing_interval,
:minimum_cancellation_notice, :processing_queue, :subscription_line_item_attributes,
- :subscription_attributes, :subscribable_class, :process_job_error_handler,
+ :subscription_attributes, :subscribable_class,
)
def success_dispatcher_class
@@ -80,9 +80,5 @@ module SolidusSubscriptions
def churn_buster?
churn_buster_account_id.present? && churn_buster_api_key.present?
end
-
- def process_job_error_handler
- @process_job_error_handler ||= nil
- end
end
end