lib/advanced_sneakers_activejob.rb in advanced-sneakers-activejob-0.3.5 vs lib/advanced_sneakers_activejob.rb in advanced-sneakers-activejob-0.3.6
- old
+ new
@@ -52,14 +52,14 @@
klass
end
def publisher
- @publisher ||= AdvancedSneakersActiveJob::Publisher.new(config.publisher_config)
+ @publisher ||= AdvancedSneakersActiveJob::Publisher.new(**config.publisher_config)
end
def delayed_publisher
- @delayed_publisher ||= AdvancedSneakersActiveJob::DelayedPublisher.new(config.publisher_config)
+ @delayed_publisher ||= AdvancedSneakersActiveJob::DelayedPublisher.new(**config.publisher_config)
end
# Based on ActiveSupport::Inflector#parameterize
def consumer_name(queue_name:)
# replace accented chars with their ascii equivalents