lib/contrast/components/sampling.rb in contrast-agent-4.13.1 vs lib/contrast/components/sampling.rb in contrast-agent-4.14.0

- old
+ new

@@ -12,11 +12,11 @@ DEFAULT_SAMPLING_REQUEST_FREQUENCY = 5 DEFAULT_SAMPLING_RESPONSE_FREQUENCY = 25 DEFAULT_SAMPLING_WINDOW_MS = 180_000 end - module ClassMethods #:nodoc: + module ClassMethods # :nodoc: include Contrast::Components::ComponentBase include Constants def sampling_enabled? sampling_control[:enabled] @@ -88,10 +88,10 @@ def window config_settings, settings [config_settings&.window_ms, settings&.window_ms, DEFAULT_SAMPLING_WINDOW_MS].map(&:to_i).find(&:positive?) end end - module InstanceMethods #:nodoc: + module InstanceMethods # :nodoc: include Contrast::Components::ComponentBase include Constants include ClassMethods end end