Sha256: f281b8e62d2217d2fc5f7125d9d6c1499603f186c05bc73ddf849022905c2a2f

Contents?: true

Size: 386 Bytes

Versions: 1

Compression:

Stored size: 386 Bytes

Contents

module Momento
  module Cache
    # Configuration options for Momento CacheClient
    class Configuration
      attr_reader :transport_strategy

      def self.with_transport_strategy(transport_strategy)
        return Configuration.new(transport_strategy)
      end

      def initialize(transport_strategy)
        @transport_strategy = transport_strategy
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
momento-0.4.9 lib/momento/config/configuration.rb