Module: LaunchDarkly

Defined in:
lib/ldclient-rb/config.rb,
lib/ldclient-rb/events.rb,
lib/ldclient-rb/stream.rb,
lib/ldclient-rb/polling.rb,
lib/ldclient-rb/version.rb,
lib/ldclient-rb/ldclient.rb,
lib/ldclient-rb/newrelic.rb,
lib/ldclient-rb/requestor.rb,
lib/ldclient-rb/evaluation.rb,
lib/ldclient-rb/cache_store.rb,
lib/ldclient-rb/redis_store.rb,
lib/ldclient-rb/memoized_value.rb,
lib/ldclient-rb/in_memory_store.rb,
lib/ldclient-rb/event_serializer.rb

Defined Under Namespace

Modules: Evaluation Classes: Config, EventProcessor, EventSerializer, InMemoryFeatureStore, InvalidSDKKeyError, LDClient, LDNewRelic, MemoizedValue, PollingProcessor, RedisFeatureStore, Requestor, StreamProcessor, ThreadSafeMemoryStore

Constant Summary collapse

PUT =
:put
PATCH =
:patch
DELETE =
:delete
INDIRECT_PUT =
:'indirect/put'
INDIRECT_PATCH =
:'indirect/patch'
READ_TIMEOUT_SECONDS =

5 minutes; the stream should send a ping every 3 minutes

300
KEY_PATHS =
{
  FEATURES => "/flags/",
  SEGMENTS => "/segments/"
}
VERSION =
"3.0.2"
FEATURES =

These constants denote the types of data that can be stored in the feature store. If we add another storable data type in the future, as long as it follows the same pattern (having “key”, “version”, and “deleted” properties), we only need to add a corresponding constant here and the existing store should be able to handle it.

{
  namespace: "features"
}.freeze
SEGMENTS =
{
  namespace: "segments"
}.freeze