lib/datadog/notifications.rb in datadog-notifications-0.5.2 vs lib/datadog/notifications.rb in datadog-notifications-0.5.3

- old
+ new

@@ -66,12 +66,12 @@ ActiveSupport::Notifications.subscribe(pattern) do |*args| yield reporter, ActiveSupport::Notifications::Event.new(*args) end end + private + def reporter @reporter ||= config.send(:connect!) end - private :reporter - end end