Sha256: 54bd24c15100dce8f03ca7170f7a730e71f385773885caa93f31aa132c2fbd94
Contents?: true
Size: 477 Bytes
Versions: 1
Compression:
Stored size: 477 Bytes
Contents
module Momento # Low-level gRPC settings for communication with the Momento server class TransportStrategy attr_reader :grpc_configuration def self.with_grpc_configuration(grpc_configuration) return TransportStrategy.new(grpc_configuration) end def initialize(grpc_configuration) @grpc_configuration = grpc_configuration rescue StandardError raise Momento::Error::InvalidArgumentError, 'invalid gRPC configuration' end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
momento-0.4.9 | lib/momento/config/transport/transport_strategy.rb |