lib/determinator.rb in determinator-2.3.1 vs lib/determinator.rb in determinator-2.4.0

- old
+ new

@@ -4,10 +4,11 @@ require 'determinator/target_group' require 'determinator/cache/fetch_wrapper' require 'determinator/serializers/json' require 'determinator/missing_response' require 'determinator/error_response' +require 'determinator/tracking' module Determinator class << self attr_reader :feature_cache, :retrieval @@ -81,9 +82,10 @@ @missing_feature_logger.call(name) end def notice_determination(id, guid, feature, determination) + Determinator::Tracking.track(id, guid, feature, determination) return unless @determination_callback @determination_callback.call(id, guid, feature, determination) end # Allows access to the chosen caching mechanism for any retrieval plugin.