lib/workarea/afterpay.rb in workarea-afterpay-2.0.2 vs lib/workarea/afterpay.rb in workarea-afterpay-2.1.0

- old
+ new

@@ -12,10 +12,12 @@ require "faraday" module Workarea module Afterpay - def self.credentials + RETRY_ERROR_STATUSES = 500..599 + + def self.credentials (Rails.application.secrets.afterpay || {}).deep_symbolize_keys end def self.config Workarea.config.afterpay