Class: Momento::StaticTransportStrategy
- Inherits:
-
TransportStrategy
- Object
- TransportStrategy
- Momento::StaticTransportStrategy
- Defined in:
- lib/momento/config/transport/static_transport_strategy.rb
Overview
Predefined transport strategy for communicating with the Momento server
Instance Attribute Summary collapse
-
#grpc_configuration ⇒ Object
readonly
Returns the value of attribute grpc_configuration.
Instance Method Summary collapse
Methods inherited from TransportStrategy
Constructor Details
This class inherits a constructor from Momento::TransportStrategy
Instance Attribute Details
#grpc_configuration ⇒ Object (readonly)
Returns the value of attribute grpc_configuration.
6 7 8 |
# File 'lib/momento/config/transport/static_transport_strategy.rb', line 6 def grpc_configuration @grpc_configuration end |
Instance Method Details
#with_grpc_configuration(grpc_configuration) ⇒ Object
8 9 10 |
# File 'lib/momento/config/transport/static_transport_strategy.rb', line 8 def with_grpc_configuration(grpc_configuration) return StaticTransportStrategy.new(grpc_configuration) end |