From bf1ab30658f48e3b5393fdf417a8eefa88043932 Mon Sep 17 00:00:00 2001 From: David Yozie Date: Fri, 10 Jul 2026 08:04:54 -0700 Subject: [PATCH] docs: fix segment key in FileData example (includes -> included) The FileData docstring example used "includes" for the segment's list of context keys, but the segment model deserializes "included" (and "excluded"). A key under "includes" is silently ignored, so the context is never actually added to the segment. Correct the example so it works as written. Co-Authored-By: Claude Opus 4.8 (1M context) --- lib/ldclient-rb/integrations/file_data.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ldclient-rb/integrations/file_data.rb b/lib/ldclient-rb/integrations/file_data.rb index e371a8f9..1f4662e1 100644 --- a/lib/ldclient-rb/integrations/file_data.rb +++ b/lib/ldclient-rb/integrations/file_data.rb @@ -50,7 +50,7 @@ module Integrations # "segments": { # "segment-key-1": { # "key": "segment-key-1", - # "includes": [ "user-key-1" ] + # "included": [ "user-key-1" ] # } # } # }