Sha256: 4aad07c94562cff2435d672c86617ef4597a4090dc5377c5253320234bcfd5b6
Contents?: true
Size: 695 Bytes
Versions: 68
Compression:
Stored size: 695 Bytes
Contents
# frozen_string_literal: true module SplitIoClient module Cache module Senders class ImpressionsSenderAdapter extend Forwardable def_delegators :@sender, :record_uniques_key, :record_impressions_count def initialize(config, telemetry_api, impressions_api) @sender = case config.telemetry_adapter.class.to_s when 'SplitIoClient::Cache::Adapters::RedisAdapter' Cache::Senders::RedisImpressionsSender.new(config) else Cache::Senders::MemoryImpressionsSender.new(config, telemetry_api, impressions_api) end end end end end end
Version data entries
68 entries across 68 versions & 1 rubygems