Class: Connect::Datasources::ConsulValueStore
- Inherits:
-
ConsulBase
- Object
- Base
- ConsulBase
- Connect::Datasources::ConsulValueStore
- Defined in:
- lib/connect/datasources/consul_value_store.rb
Overview
The data source that reads data from the Consul value store
Instance Method Summary collapse
Methods inherited from ConsulBase
Constructor Details
This class inherits a constructor from Connect::Datasources::ConsulBase
Instance Method Details
#lookup(key) ⇒ Object
12 13 14 |
# File 'lib/connect/datasources/consul_value_store.rb', line 12 def lookup(key) ::Diplomat::Kv.get(key) end |