lib/karafka/helpers/config_retriever.rb in karafka-1.1.2 vs lib/karafka/helpers/config_retriever.rb in karafka-1.2.0.beta1

- old
+ new

@@ -31,12 +31,12 @@ define_method attribute do current_value = instance_variable_get(:"@#{attribute}") return current_value unless current_value.nil? value = if Karafka::App.config.respond_to?(attribute) - Karafka::App.config.public_send(attribute) + Karafka::App.config.send(attribute) else - Karafka::App.config.kafka.public_send(attribute) + Karafka::App.config.kafka.send(attribute) end instance_variable_set(:"@#{attribute}", value) end end