[{"data":1,"prerenderedAt":2699},["ShallowReactive",2],{"navigation_docs":3,"-sdks-openfeature-ruby":362,"-sdks-openfeature-ruby-surround":2693},[4,10,71,97,267,343],{"title":5,"path":6,"stem":7,"icon":8,"exact":9},"Introduction","\u002F","0.index","i-lucide-book-open",true,{"title":11,"icon":12,"modifiedAt":13,"path":14,"stem":15,"children":16,"page":12},"Getting Started",false,"2026-04-30T19:15:33.000Z","\u002Fgetting-started","1.getting-started",[17,22,27,32,37,42,47,61,66],{"title":18,"path":19,"stem":20,"icon":21},"Quickstart","\u002Fgetting-started\u002Fquickstart","1.getting-started\u002F1.quickstart","i-lucide-fast-forward",{"title":23,"path":24,"stem":25,"icon":26},"Core Concepts","\u002Fgetting-started\u002Fcore-concepts","1.getting-started\u002F2.core-concepts","i-lucide-workflow",{"title":28,"path":29,"stem":30,"icon":31},"Configs Anatomy","\u002Fgetting-started\u002Fconfigs","1.getting-started\u002F3.configs","i-lucide-file-cog",{"title":33,"path":34,"stem":35,"icon":36},"Architecture","\u002Fgetting-started\u002Farchitecture","1.getting-started\u002F4.architecture","i-lucide-layers",{"title":38,"path":39,"stem":40,"icon":41},"JSON Schema Validation","\u002Fgetting-started\u002Fjson-schema-validation","1.getting-started\u002F5.json-schema-validation","i-lucide-braces",{"title":43,"path":44,"stem":45,"icon":46},"Testing Rules","\u002Fgetting-started\u002Ftesting-targeting-rules","1.getting-started\u002F6.testing-targeting-rules","i-lucide-flask-conical",{"title":48,"modifiedAt":49,"icon":50,"defaultOpen":12,"path":51,"stem":52,"children":53},"Experiments","2026-11-10T01:16:18.000Z","i-lucide-flask-round","\u002Fgetting-started\u002Fexperiments","1.getting-started\u002F7.experiments\u002Findex",[54,56],{"title":55,"path":51,"stem":52,"icon":8},"Overview",{"title":57,"path":58,"stem":59,"icon":60},"How results are computed","\u002Fgetting-started\u002Fexperiments\u002Fhow-results-are-computed","1.getting-started\u002F7.experiments\u002F1.how-results-are-computed","i-lucide-sigma",{"title":62,"path":63,"stem":64,"icon":65},"Segments","\u002Fgetting-started\u002Fsegments","1.getting-started\u002F8.segments","i-lucide-squares-intersect",{"title":67,"path":68,"stem":69,"icon":70},"Pricing & Billing","\u002Fgetting-started\u002Fpricing-and-billing","1.getting-started\u002F9.pricing-and-billing","i-lucide-credit-card",{"title":72,"modifiedAt":73,"defaultOpen":9,"path":74,"stem":75,"children":76,"page":12},"Monitoring","2026-09-24T23:33:20.000Z","\u002Fmonitoring","2.monitoring",[77,82,87,92],{"title":78,"path":79,"stem":80,"icon":81},"Activity","\u002Fmonitoring\u002Factivity","2.monitoring\u002F1.activity","i-lucide-activity",{"title":83,"path":84,"stem":85,"icon":86},"Lifecycle","\u002Fmonitoring\u002Flifecycle","2.monitoring\u002F2.lifecycle","i-lucide-recycle",{"title":88,"path":89,"stem":90,"icon":91},"Alerts","\u002Fmonitoring\u002Falerts","2.monitoring\u002F3.alerts","i-lucide-bell",{"title":93,"path":94,"stem":95,"icon":96},"Dynamic Detection","\u002Fmonitoring\u002Fdynamic-detection","2.monitoring\u002F4.dynamic-detection","i-lucide-hat-glasses",{"title":98,"modifiedAt":73,"defaultOpen":9,"path":99,"stem":100,"children":101,"page":12},"SDKs","\u002Fsdks","3.sdks",[102,107,128,153,169,210,262],{"title":103,"path":104,"stem":105,"icon":106},"Available SDKs","\u002Fsdks\u002Favailable-sdks","3.sdks\u002F1.available-sdks","i-lucide-list",{"title":108,"modifiedAt":73,"icon":109,"defaultOpen":12,"path":110,"stem":111,"children":112,"page":12},"Browser SDKs","i-lucide-monitor","\u002Fsdks\u002Fbrowser","3.sdks\u002F2.browser",[113,118,123],{"title":114,"path":115,"stem":116,"icon":117},"Javascript","\u002Fsdks\u002Fbrowser\u002Fjavascript","3.sdks\u002F2.browser\u002F1.javascript","cd-logos-javascript",{"title":119,"path":120,"stem":121,"icon":122},"React","\u002Fsdks\u002Fbrowser\u002Freact","3.sdks\u002F2.browser\u002F2.react","cd-logos-react-light",{"title":124,"path":125,"stem":126,"icon":127},"Vue","\u002Fsdks\u002Fbrowser\u002Fvue","3.sdks\u002F2.browser\u002F3.vue","cd-logos-vue",{"title":129,"modifiedAt":73,"icon":130,"defaultOpen":12,"path":131,"stem":132,"children":133,"page":12},"Mobile SDKs","i-lucide-smartphone","\u002Fsdks\u002Fmobile","3.sdks\u002F3.mobile",[134,138,143,148],{"title":135,"path":136,"stem":137,"icon":122},"React Native","\u002Fsdks\u002Fmobile\u002Freact-native","3.sdks\u002F3.mobile\u002F1.react-native",{"title":139,"path":140,"stem":141,"icon":142},"Flutter","\u002Fsdks\u002Fmobile\u002Fflutter","3.sdks\u002F3.mobile\u002F2.flutter","cd-logos-flutter",{"title":144,"path":145,"stem":146,"icon":147},"Swift","\u002Fsdks\u002Fmobile\u002Fswift","3.sdks\u002F3.mobile\u002F3.swift","cd-logos-swift",{"title":149,"path":150,"stem":151,"icon":152},"Android","\u002Fsdks\u002Fmobile\u002Fandroid","3.sdks\u002F3.mobile\u002F4.android","cd-logos-android",{"title":154,"modifiedAt":73,"icon":155,"defaultOpen":12,"path":156,"stem":157,"children":158,"page":12},"Meta-framework SDKs","i-lucide-monitor-smartphone","\u002Fsdks\u002Fmeta","3.sdks\u002F4.meta",[159,164],{"title":160,"path":161,"stem":162,"icon":163},"Next.js","\u002Fsdks\u002Fmeta\u002Fnextjs","3.sdks\u002F4.meta\u002F1.nextjs","cd-logos-nextjs",{"title":165,"path":166,"stem":167,"icon":168},"Nuxt","\u002Fsdks\u002Fmeta\u002Fnuxt","3.sdks\u002F4.meta\u002F2.nuxt","cd-logos-nuxt",{"title":170,"modifiedAt":73,"icon":171,"defaultOpen":12,"path":172,"stem":173,"children":174,"page":12},"Server SDKs","i-lucide-server","\u002Fsdks\u002Fserver","3.sdks\u002F5.server",[175,180,185,190,195,200,205],{"title":176,"path":177,"stem":178,"icon":179},"Node.js","\u002Fsdks\u002Fserver\u002Fnode-js","3.sdks\u002F5.server\u002F1.node-js","cd-logos-nodejs",{"title":181,"path":182,"stem":183,"icon":184},"Python","\u002Fsdks\u002Fserver\u002Fpython","3.sdks\u002F5.server\u002F2.python","cd-logos-python",{"title":186,"path":187,"stem":188,"icon":189},"Java","\u002Fsdks\u002Fserver\u002Fjava","3.sdks\u002F5.server\u002F3.java","cd-logos-java",{"title":191,"path":192,"stem":193,"icon":194},".NET","\u002Fsdks\u002Fserver\u002Fdotnet","3.sdks\u002F5.server\u002F4.dotnet","cd-logos-dotnet",{"title":196,"path":197,"stem":198,"icon":199},"Go","\u002Fsdks\u002Fserver\u002Fgo","3.sdks\u002F5.server\u002F5.go","cd-logos-go",{"title":201,"path":202,"stem":203,"icon":204},"PHP","\u002Fsdks\u002Fserver\u002Fphp","3.sdks\u002F5.server\u002F6.php","cd-logos-php",{"title":206,"path":207,"stem":208,"icon":209},"Ruby","\u002Fsdks\u002Fserver\u002Fruby","3.sdks\u002F5.server\u002F7.ruby","cd-logos-ruby",{"title":211,"modifiedAt":73,"icon":212,"defaultOpen":12,"path":213,"stem":214,"children":215},"OpenFeature Providers","cd-logos-openfeature","\u002Fsdks\u002Fopenfeature","3.sdks\u002F6.openfeature\u002Findex",[216,217,222,226,230,234,238,242,246,250,254,258],{"title":55,"path":213,"stem":214,"icon":212},{"title":218,"path":219,"stem":220,"icon":212,"icons":221},"Web","\u002Fsdks\u002Fopenfeature\u002Fweb","3.sdks\u002F6.openfeature\u002F1.web",[212,117],{"title":144,"path":223,"stem":224,"icon":212,"icons":225},"\u002Fsdks\u002Fopenfeature\u002Fswift","3.sdks\u002F6.openfeature\u002F2.swift",[212,147],{"title":149,"path":227,"stem":228,"icon":212,"icons":229},"\u002Fsdks\u002Fopenfeature\u002Fandroid","3.sdks\u002F6.openfeature\u002F3.android",[212,152],{"title":139,"path":231,"stem":232,"icon":212,"icons":233},"\u002Fsdks\u002Fopenfeature\u002Fflutter","3.sdks\u002F6.openfeature\u002F4.flutter",[212,142],{"title":176,"path":235,"stem":236,"icon":212,"icons":237},"\u002Fsdks\u002Fopenfeature\u002Fnode-js","3.sdks\u002F6.openfeature\u002F5.node-js",[212,179],{"title":181,"path":239,"stem":240,"icon":212,"icons":241},"\u002Fsdks\u002Fopenfeature\u002Fpython","3.sdks\u002F6.openfeature\u002F6.python",[212,184],{"title":186,"path":243,"stem":244,"icon":212,"icons":245},"\u002Fsdks\u002Fopenfeature\u002Fjava","3.sdks\u002F6.openfeature\u002F7.java",[212,189],{"title":191,"path":247,"stem":248,"icon":212,"icons":249},"\u002Fsdks\u002Fopenfeature\u002Fdotnet","3.sdks\u002F6.openfeature\u002F8.dotnet",[212,194],{"title":196,"path":251,"stem":252,"icon":212,"icons":253},"\u002Fsdks\u002Fopenfeature\u002Fgo","3.sdks\u002F6.openfeature\u002F9.go",[212,199],{"title":201,"path":255,"stem":256,"icon":212,"icons":257},"\u002Fsdks\u002Fopenfeature\u002Fphp","3.sdks\u002F6.openfeature\u002F90.php",[212,204],{"title":206,"path":259,"stem":260,"icon":212,"icons":261},"\u002Fsdks\u002Fopenfeature\u002Fruby","3.sdks\u002F6.openfeature\u002F91.ruby",[212,209],{"title":263,"path":264,"stem":265,"icon":266},"Maven Repository","\u002Fsdks\u002Fmaven-repository","3.sdks\u002F7.maven-repository","i-lucide-package",{"title":268,"modifiedAt":73,"defaultOpen":9,"path":269,"stem":270,"children":271,"page":12},"Integrations","\u002Fintegrations","4.integrations",[272,277,282,287,292,296,301,338],{"title":273,"path":274,"stem":275,"icon":276},"MCP","\u002Fintegrations\u002Fmcp","4.integrations\u002F1.mcp","cd-logos-mcp",{"title":278,"path":279,"stem":280,"icon":281},"Agent Skills","\u002Fintegrations\u002Fagents","4.integrations\u002F2.agents","i-lucide-bot",{"title":283,"path":284,"stem":285,"icon":286},"CLI","\u002Fintegrations\u002Fcli","4.integrations\u002F3.cli","cd-logos-cli",{"title":288,"path":289,"stem":290,"icon":291},"Terraform","\u002Fintegrations\u002Fterraform","4.integrations\u002F4.terraform","cd-logos-terraform",{"title":293,"path":294,"stem":295,"icon":41},"Admin API","\u002Fintegrations\u002Fadmin-api","4.integrations\u002F5.admin-api",{"title":297,"path":298,"stem":299,"icon":300},"Webhooks","\u002Fintegrations\u002Fwebhooks","4.integrations\u002F6.webhooks","i-lucide-webhook",{"title":302,"modifiedAt":303,"icon":304,"defaultOpen":12,"path":305,"stem":306,"children":307},"Analytics","2026-11-08T17:10:01.000Z","i-lucide-chart-line","\u002Fintegrations\u002Fanalytics","4.integrations\u002F7.analytics\u002Findex",[308,310,314,318,322,326,330,334],{"title":55,"path":305,"stem":306,"icon":309},"i-lucide-blocks",{"title":311,"path":312,"stem":313,"icon":304},"Amplitude","\u002Fintegrations\u002Fanalytics\u002Famplitude","4.integrations\u002F7.analytics\u002F1.amplitude",{"title":315,"path":316,"stem":317,"icon":304},"Datadog","\u002Fintegrations\u002Fanalytics\u002Fdatadog","4.integrations\u002F7.analytics\u002F2.datadog",{"title":319,"path":320,"stem":321,"icon":304},"Google Analytics 4","\u002Fintegrations\u002Fanalytics\u002Fga4","4.integrations\u002F7.analytics\u002F3.ga4",{"title":323,"path":324,"stem":325,"icon":304},"Grafana","\u002Fintegrations\u002Fanalytics\u002Fgrafana","4.integrations\u002F7.analytics\u002F4.grafana",{"title":327,"path":328,"stem":329,"icon":304},"Mixpanel","\u002Fintegrations\u002Fanalytics\u002Fmixpanel","4.integrations\u002F7.analytics\u002F5.mixpanel",{"title":331,"path":332,"stem":333,"icon":304},"PostHog","\u002Fintegrations\u002Fanalytics\u002Fposthog","4.integrations\u002F7.analytics\u002F6.posthog",{"title":335,"path":336,"stem":337,"icon":304},"Segment","\u002Fintegrations\u002Fanalytics\u002Fsegment","4.integrations\u002F7.analytics\u002F7.segment",{"title":339,"path":340,"stem":341,"icon":342},"Slack","\u002Fintegrations\u002Fslack","4.integrations\u002F8.slack","i-simple-icons-slack",{"title":344,"modifiedAt":345,"defaultOpen":9,"path":346,"stem":347,"children":348,"page":12},"Migration Guides","2026-10-16T17:57:49.000Z","\u002Fmigration-guides","5.migration-guides",[349,354,358],{"title":350,"path":351,"stem":352,"icon":353},"From LaunchDarkly","\u002Fmigration-guides\u002Flaunchdarkly","5.migration-guides\u002F1.launchdarkly","i-lucide-baggage-claim",{"title":355,"path":356,"stem":357,"icon":353},"From Firebase Remote Config","\u002Fmigration-guides\u002Ffirebase-remote-config","5.migration-guides\u002F2.firebase-remote-config",{"title":359,"path":360,"stem":361,"icon":353},"From Firebase A\u002FB Testing","\u002Fmigration-guides\u002Ffirebase-ab-testing","5.migration-guides\u002F3.firebase-ab-testing",{"id":363,"title":364,"body":365,"description":2684,"extension":2685,"links":2686,"meta":2687,"navigation":2689,"path":259,"seo":2691,"stem":260,"__hash__":2692},"docs\u002F3.sdks\u002F6.openfeature\u002F91.ruby.md","OpenFeature Ruby Provider",{"type":366,"value":367,"toc":2668},"minimark",[368,372,378,382,399,402,406,412,420,427,456,460,477,480,800,804,811,816,855,862,911,925,929,935,942,1026,1059,1079,1083,1086,1110,1114,1117,1120,1208,1211,1275,1286,1295,1341,1348,1352,1359,1467,1478,1549,1563,1567,1574,1685,1692,1801,1817,1820,1895,1927,1939,1944,1947,1954,2040,2049,2053,2064,2165,2176,2182,2191,2195,2202,2476,2492,2502,2664],[369,370],"div",{"hidden":9,"dataTitleIcon":371},"openfeature-ruby",[373,374],"external-badges",{"package-url":375,"registry":376,"repo":377},"https:\u002F\u002Frubygems.org\u002Fgems\u002Fconfigdirector-openfeature-server-provider","rubygems","ruby-sdks\u002Ftree\u002Fmain\u002Fconfigdirector-openfeature-server-provider",[379,380,5],"h2",{"id":381},"introduction",[383,384,385,386,394,395,398],"p",{},"The OpenFeature Ruby Provider is intended to be used in combination with the ",[387,388,393],"a",{"href":389,"rel":390,"target":392},"https:\u002F\u002Fopenfeature.dev\u002Fdocs\u002Freference\u002Fsdks\u002Fserver\u002Fruby\u002F",[391],"noopener","_blank","OpenFeature Ruby SDK",". The provider wraps the ConfigDirector ",[387,396,397],{"href":207},"Ruby SDK",".",[383,400,401],{},"The provider is thread safe. Register one per process the first time the process reads a flag, and shut OpenFeature down when the process exits. Evaluations read config state the provider already holds in memory, so they make no network calls on the request path.",[379,403,405],{"id":404},"installation","Installation",[383,407,408,409],{},"The provider can be installed with Bundler. Its gem page is on RubyGems: ",[387,410,375],{"href":375,"rel":411,"target":392},[391],[383,413,414,415,419],{},"The minimum Ruby version supported is ",[416,417,418],"code",{},"3.4",", because the OpenFeature Ruby SDK requires it.",[383,421,422,423,426],{},"The OpenFeature Ruby SDK (",[416,424,425],{},"openfeature-sdk",") and the ConfigDirector Ruby SDK are included as dependencies.",[428,429,430],"code-group",{},[431,432,438],"pre",{"className":433,"code":434,"filename":435,"language":436,"meta":437,"style":437},"language-bash shiki shiki-themes github-light-high-contrast github-light github-dark","bundle add configdirector-openfeature-server-provider\n","bundler","bash","",[416,439,440],{"__ignoreMap":437},[441,442,445,449,453],"span",{"class":443,"line":444},"line",1,[441,446,448],{"class":447},"sA9AF","bundle",[441,450,452],{"class":451},"suztq"," add",[441,454,455],{"class":451}," configdirector-openfeature-server-provider\n",[379,457,459],{"id":458},"configure-and-initialize-the-client","Configure and initialize the client",[461,462,463,471,474],"ol",{},[464,465,466,467,470],"li",{},"Create an instance of the provider using your server SDK key. You can retrieve a server SDK key for each environment under ",[416,468,469],{},"SDK keys"," in the dashboard's navigation panel. Creating the provider makes no network call.",[464,472,473],{},"Set the OpenFeature provider and wait for it to connect.",[464,475,476],{},"Get a client instance from OpenFeature.",[383,478,479],{},"The example registers the provider the first time a process reads a flag, and returns the same OpenFeature client to every later read in the process:",[431,481,486],{"className":482,"code":483,"filename":484,"language":485,"meta":437,"style":437},"language-ruby shiki shiki-themes github-light-high-contrast github-light github-dark","require \"configdirector\u002Fopenfeature\"\n\n# Registers the provider the first time a process reads a flag, and returns the same client afterwards.\nmodule OpenFeatureClientPerProcess\n  @lock = Mutex.new\n  @client = nil\n\n  def self.client\n    @lock.synchronize { @client ||= client_after_registering_the_provider }\n  end\n\n  def self.client_after_registering_the_provider\n    # IMPORTANT: Do not commit the server SDK key to your source code, it is a secret value.\n    provider = ConfigDirector::OpenFeature::ConfigDirectorProvider.new(ENV.fetch(\"CONFIGDIRECTOR_SERVER_KEY\"))\n    begin\n      OpenFeature::SDK.set_provider_and_wait(provider)\n    rescue OpenFeature::SDK::ProviderInitializationError => e\n      warn(\"Starting on in-code default values until ConfigDirector sends config: #{e.message}\")\n    end\n    at_exit { OpenFeature::SDK.shutdown }\n    OpenFeature::SDK.build_client\n  end\n\n  private_class_method :client_after_registering_the_provider\nend\n","lib\u002Fopen_feature_client_per_process.rb","ruby",[416,487,488,497,503,510,519,538,549,554,564,582,588,593,601,607,655,661,680,701,731,737,760,775,780,785,794],{"__ignoreMap":437},[441,489,490,494],{"class":443,"line":444},[441,491,493],{"class":492},"sLDKn","require",[441,495,496],{"class":451}," \"configdirector\u002Fopenfeature\"\n",[441,498,500],{"class":443,"line":499},2,[441,501,502],{"emptyLinePlaceholder":9},"\n",[441,504,506],{"class":443,"line":505},3,[441,507,509],{"class":508},"sM45V","# Registers the provider the first time a process reads a flag, and returns the same client afterwards.\n",[441,511,513,516],{"class":443,"line":512},4,[441,514,515],{"class":492},"module",[441,517,518],{"class":447}," OpenFeatureClientPerProcess\n",[441,520,522,526,529,533,535],{"class":443,"line":521},5,[441,523,525],{"class":524},"sbRM4","  @lock ",[441,527,528],{"class":492},"=",[441,530,532],{"class":531},"sxMNI"," Mutex",[441,534,398],{"class":524},[441,536,537],{"class":492},"new\n",[441,539,541,544,546],{"class":443,"line":540},6,[441,542,543],{"class":524},"  @client ",[441,545,528],{"class":492},[441,547,548],{"class":531}," nil\n",[441,550,552],{"class":443,"line":551},7,[441,553,502],{"emptyLinePlaceholder":9},[441,555,557,560],{"class":443,"line":556},8,[441,558,559],{"class":492},"  def",[441,561,563],{"class":562},"sEIia"," self.client\n",[441,565,567,570,573,576,579],{"class":443,"line":566},9,[441,568,569],{"class":524},"    @lock.",[441,571,572],{"class":562},"synchronize",[441,574,575],{"class":524}," { @client ",[441,577,578],{"class":492},"||=",[441,580,581],{"class":524}," client_after_registering_the_provider }\n",[441,583,585],{"class":443,"line":584},10,[441,586,587],{"class":492},"  end\n",[441,589,591],{"class":443,"line":590},11,[441,592,502],{"emptyLinePlaceholder":9},[441,594,596,598],{"class":443,"line":595},12,[441,597,559],{"class":492},[441,599,600],{"class":562}," self.client_after_registering_the_provider\n",[441,602,604],{"class":443,"line":603},13,[441,605,606],{"class":508},"    # IMPORTANT: Do not commit the server SDK key to your source code, it is a secret value.\n",[441,608,610,614,617,620,623,626,628,631,633,636,639,642,644,647,649,652],{"class":443,"line":609},14,[441,611,613],{"class":612},"syyZu","    provider",[441,615,616],{"class":492}," =",[441,618,619],{"class":531}," ConfigDirector",[441,621,622],{"class":524},"::",[441,624,625],{"class":531},"OpenFeature",[441,627,622],{"class":524},[441,629,630],{"class":531},"ConfigDirectorProvider",[441,632,398],{"class":524},[441,634,635],{"class":492},"new",[441,637,638],{"class":524},"(",[441,640,641],{"class":531},"ENV",[441,643,398],{"class":524},[441,645,646],{"class":562},"fetch",[441,648,638],{"class":524},[441,650,651],{"class":451},"\"CONFIGDIRECTOR_SERVER_KEY\"",[441,653,654],{"class":524},"))\n",[441,656,658],{"class":443,"line":657},15,[441,659,660],{"class":492},"    begin\n",[441,662,664,667,669,672,674,677],{"class":443,"line":663},16,[441,665,666],{"class":531},"      OpenFeature",[441,668,622],{"class":524},[441,670,671],{"class":531},"SDK",[441,673,398],{"class":524},[441,675,676],{"class":562},"set_provider_and_wait",[441,678,679],{"class":524},"(provider)\n",[441,681,683,686,689,691,693,695,698],{"class":443,"line":682},17,[441,684,685],{"class":492},"    rescue",[441,687,688],{"class":531}," OpenFeature",[441,690,622],{"class":524},[441,692,671],{"class":531},[441,694,622],{"class":524},[441,696,697],{"class":531},"ProviderInitializationError",[441,699,700],{"class":524}," => e\n",[441,702,704,707,709,712,716,719,722,725,728],{"class":443,"line":703},18,[441,705,706],{"class":531},"      warn",[441,708,638],{"class":524},[441,710,711],{"class":451},"\"Starting on in-code default values until ConfigDirector sends config: ",[441,713,715],{"class":714},"spee4","#{",[441,717,718],{"class":451},"e.",[441,720,721],{"class":562},"message",[441,723,724],{"class":714},"}",[441,726,727],{"class":451},"\"",[441,729,730],{"class":524},")\n",[441,732,734],{"class":443,"line":733},19,[441,735,736],{"class":492},"    end\n",[441,738,740,743,746,748,750,752,754,757],{"class":443,"line":739},20,[441,741,742],{"class":531},"    at_exit",[441,744,745],{"class":524}," { ",[441,747,625],{"class":531},[441,749,622],{"class":524},[441,751,671],{"class":531},[441,753,398],{"class":524},[441,755,756],{"class":562},"shutdown",[441,758,759],{"class":524}," }\n",[441,761,763,766,768,770,772],{"class":443,"line":762},21,[441,764,765],{"class":531},"    OpenFeature",[441,767,622],{"class":524},[441,769,671],{"class":531},[441,771,398],{"class":524},[441,773,774],{"class":562},"build_client\n",[441,776,778],{"class":443,"line":777},22,[441,779,587],{"class":492},[441,781,783],{"class":443,"line":782},23,[441,784,502],{"emptyLinePlaceholder":9},[441,786,788,791],{"class":443,"line":787},24,[441,789,790],{"class":492},"  private_class_method",[441,792,793],{"class":531}," :client_after_registering_the_provider\n",[441,795,797],{"class":443,"line":796},25,[441,798,799],{"class":492},"end\n",[801,802,803],"warning",{},"Server SDK keys are secret values. Do not commit them to your source code repository. Provide them at runtime via environment variables instead.",[383,805,806,807,398],{},"Each Ruby process holds its own provider and its own connection to ConfigDirector. Registering the provider on first use, rather than while the application boots, keeps the processes that never read a flag from connecting, such as the master process of Puma in cluster mode, a console session or an image build that has no server SDK key. A provider registered before the process forked keeps working in the forked process, with nothing to call. The Ruby SDK's page explains both in ",[387,808,810],{"href":809},"\u002Fsdks\u002Fserver\u002Fruby#servers-that-fork-their-workers","Servers that fork their workers",[812,813,815],"h3",{"id":814},"when-no-config-arrives-in-time","When no config arrives in time",[383,817,818,820,821,824,825,828,829,835,836,839,840,843,844,846,847,850,851,854],{},[416,819,676],{}," raises ",[416,822,823],{},"OpenFeature::SDK::ProviderInitializationError"," with the ",[416,826,827],{},"PROVIDER_NOT_READY"," error code when no config arrives from ConfigDirector within the connection timeout, which is 3 seconds unless you set the connection's ",[387,830,832],{"href":831},"\u002Fsdks\u002Fserver\u002Fruby#connection",[416,833,834],{},"timeout",", or when ConfigDirector rejects the server SDK key. The provider then reports the ",[416,837,838],{},"ERROR"," status, with a ",[416,841,842],{},"PROVIDER_ERROR"," event, and after a timeout it keeps connecting in the background. Until config arrives, flags resolve to their in-code default values with the ",[416,845,827],{}," error code. Once it arrives, the provider reports ",[416,848,849],{},"READY",", with one ",[416,852,853],{},"PROVIDER_READY"," event.",[383,856,857,858,861],{},"The example above rescues the error, prints it and starts on in-code default values. To start without waiting for ConfigDirector at all, set the provider with ",[416,859,860],{},"set_provider"," instead, which initializes it in the background:",[431,863,865],{"className":482,"code":864,"filename":484,"language":485,"meta":437,"style":437},"OpenFeature::SDK.set_provider(ConfigDirector::OpenFeature::ConfigDirectorProvider.new(ENV.fetch(\"CONFIGDIRECTOR_SERVER_KEY\")))\n",[416,866,867],{"__ignoreMap":437},[441,868,869,871,873,875,877,879,881,884,886,888,890,892,894,896,898,900,902,904,906,908],{"class":443,"line":444},[441,870,625],{"class":531},[441,872,622],{"class":524},[441,874,671],{"class":531},[441,876,398],{"class":524},[441,878,860],{"class":562},[441,880,638],{"class":524},[441,882,883],{"class":531},"ConfigDirector",[441,885,622],{"class":524},[441,887,625],{"class":531},[441,889,622],{"class":524},[441,891,630],{"class":531},[441,893,398],{"class":524},[441,895,635],{"class":492},[441,897,638],{"class":524},[441,899,641],{"class":531},[441,901,398],{"class":524},[441,903,646],{"class":562},[441,905,638],{"class":524},[441,907,651],{"class":451},[441,909,910],{"class":524},")))\n",[383,912,913,914,916,917,920,921,924],{},"A provider whose connection drops later stays ",[416,915,849],{}," and serves the values it has, so the provider never reports the ",[416,918,919],{},"STALE"," or ",[416,922,923],{},"FATAL"," status.",[812,926,928],{"id":927},"additional-configuration-options","Additional configuration options",[383,930,931,932,398],{},"Additional configuration options can be passed into the provider as keyword arguments of ",[416,933,934],{},"ConfigDirectorProvider.new",[383,936,937,938,941],{},"For example, the ",[416,939,940],{},"metadata"," can be provided like this:",[431,943,945],{"className":482,"code":944,"filename":484,"language":485,"meta":437,"style":437},"provider = ConfigDirector::OpenFeature::ConfigDirectorProvider.new(\n  ENV.fetch(\"CONFIGDIRECTOR_SERVER_KEY\"),\n  metadata: ConfigDirector::Metadata.new(app_name: \"YOUR-APP-NAME\", app_version: \"1.0.2\")\n)\n",[416,946,947,971,987,1022],{"__ignoreMap":437},[441,948,949,952,954,956,958,960,962,964,966,968],{"class":443,"line":444},[441,950,951],{"class":612},"provider",[441,953,616],{"class":492},[441,955,619],{"class":531},[441,957,622],{"class":524},[441,959,625],{"class":531},[441,961,622],{"class":524},[441,963,630],{"class":531},[441,965,398],{"class":524},[441,967,635],{"class":492},[441,969,970],{"class":524},"(\n",[441,972,973,976,978,980,982,984],{"class":443,"line":499},[441,974,975],{"class":531},"  ENV",[441,977,398],{"class":524},[441,979,646],{"class":562},[441,981,638],{"class":524},[441,983,651],{"class":451},[441,985,986],{"class":524},"),\n",[441,988,989,992,994,996,999,1001,1003,1005,1008,1011,1014,1017,1020],{"class":443,"line":505},[441,990,991],{"class":531},"  metadata:",[441,993,619],{"class":531},[441,995,622],{"class":524},[441,997,998],{"class":531},"Metadata",[441,1000,398],{"class":524},[441,1002,635],{"class":492},[441,1004,638],{"class":524},[441,1006,1007],{"class":531},"app_name:",[441,1009,1010],{"class":451}," \"YOUR-APP-NAME\"",[441,1012,1013],{"class":524},", ",[441,1015,1016],{"class":531},"app_version:",[441,1018,1019],{"class":451}," \"1.0.2\"",[441,1021,730],{"class":524},[441,1023,1024],{"class":443,"line":512},[441,1025,730],{"class":524},[383,1027,1028,1029,1013,1031,1013,1034,1013,1037,1040,1041,1044,1045,1049,1050,1053,1054,1058],{},"The provider accepts the same ",[416,1030,940],{},[416,1032,1033],{},"connection",[416,1035,1036],{},"logger",[416,1038,1039],{},"log_level"," and ",[416,1042,1043],{},"telemetry"," options as the Ruby SDK client, ",[387,1046,1048],{"href":1047},"\u002Fsdks\u002Fserver\u002Fruby#additional-configuration-options","refer to the additional configuration options section of the Ruby SDK for a full list",". It does not take the client's ",[416,1051,1052],{},"hooks"," option: listen to the OpenFeature ",[387,1055,1057],{"href":1056},"#events","events"," instead.",[383,1060,1061,1062,1066,1067,1070,1071,820,1073,824,1075,1078],{},"That includes ",[387,1063,1065],{"href":1064},"\u002Fsdks\u002Fserver\u002Fruby#run-without-a-connection","running without a connection",": created with ",[416,1068,1069],{},"connection: ConfigDirector::ConnectionOptions.new(mode: \"offline\", ...)"," and no server SDK key, the provider serves the values you give it without connecting to ConfigDirector, and ",[416,1072,676],{},[416,1074,823],{},[416,1076,1077],{},"GENERAL"," error code if those values cannot be loaded.",[812,1080,1082],{"id":1081},"shut-down","Shut down",[383,1084,1085],{},"Shutting OpenFeature down closes the provider, which closes its connection and reports any pending telemetry. The example above does it when the process exits:",[431,1087,1089],{"className":482,"code":1088,"filename":484,"language":485,"meta":437,"style":437},"at_exit { OpenFeature::SDK.shutdown }\n",[416,1090,1091],{"__ignoreMap":437},[441,1092,1093,1096,1098,1100,1102,1104,1106,1108],{"class":443,"line":444},[441,1094,1095],{"class":531},"at_exit",[441,1097,745],{"class":524},[441,1099,625],{"class":531},[441,1101,622],{"class":524},[441,1103,671],{"class":531},[441,1105,398],{"class":524},[441,1107,756],{"class":562},[441,1109,759],{"class":524},[379,1111,1113],{"id":1112},"retrieve-config-values","Retrieve config values",[383,1115,1116],{},"To retrieve config values, use the OpenFeature client:",[383,1118,1119],{},"Every getter takes the flag key and the in-code default value and, optionally, the evaluation context, as keyword arguments:",[431,1121,1124],{"className":482,"code":1122,"filename":1123,"language":485,"meta":437,"style":437},"client = OpenFeatureClientPerProcess.client\n\nboolean_value = client.fetch_boolean_value(flag_key: \"my-config-key\", default_value: false)\n\nstring_value = client.fetch_string_value(flag_key: \"my-string-config-key\", default_value: \"Default\")\n","main.rb",[416,1125,1126,1141,1145,1176,1180],{"__ignoreMap":437},[441,1127,1128,1131,1133,1136,1138],{"class":443,"line":444},[441,1129,1130],{"class":612},"client",[441,1132,616],{"class":492},[441,1134,1135],{"class":531}," OpenFeatureClientPerProcess",[441,1137,398],{"class":524},[441,1139,1140],{"class":562},"client\n",[441,1142,1143],{"class":443,"line":499},[441,1144,502],{"emptyLinePlaceholder":9},[441,1146,1147,1150,1152,1155,1158,1160,1163,1166,1168,1171,1174],{"class":443,"line":505},[441,1148,1149],{"class":612},"boolean_value",[441,1151,616],{"class":492},[441,1153,1154],{"class":524}," client.",[441,1156,1157],{"class":562},"fetch_boolean_value",[441,1159,638],{"class":524},[441,1161,1162],{"class":531},"flag_key:",[441,1164,1165],{"class":451}," \"my-config-key\"",[441,1167,1013],{"class":524},[441,1169,1170],{"class":531},"default_value:",[441,1172,1173],{"class":531}," false",[441,1175,730],{"class":524},[441,1177,1178],{"class":443,"line":512},[441,1179,502],{"emptyLinePlaceholder":9},[441,1181,1182,1185,1187,1189,1192,1194,1196,1199,1201,1203,1206],{"class":443,"line":521},[441,1183,1184],{"class":612},"string_value",[441,1186,616],{"class":492},[441,1188,1154],{"class":524},[441,1190,1191],{"class":562},"fetch_string_value",[441,1193,638],{"class":524},[441,1195,1162],{"class":531},[441,1197,1198],{"class":451}," \"my-string-config-key\"",[441,1200,1013],{"class":524},[441,1202,1170],{"class":531},[441,1204,1205],{"class":451}," \"Default\"",[441,1207,730],{"class":524},[383,1209,1210],{},"Each OpenFeature getter maps to a ConfigDirector config type:",[1212,1213,1214,1227],"table",{},[1215,1216,1217],"thead",{},[1218,1219,1220,1224],"tr",{},[1221,1222,1223],"th",{},"OpenFeature getter",[1221,1225,1226],{},"ConfigDirector config value",[1228,1229,1230,1240,1249,1265],"tbody",{},[1218,1231,1232,1237],{},[1233,1234,1235],"td",{},[416,1236,1157],{},[1233,1238,1239],{},"Boolean",[1218,1241,1242,1246],{},[1233,1243,1244],{},[416,1245,1191],{},[1233,1247,1248],{},"String or enum",[1218,1250,1251,1262],{},[1233,1252,1253,1013,1256,1013,1259],{},[416,1254,1255],{},"fetch_number_value",[416,1257,1258],{},"fetch_integer_value",[416,1260,1261],{},"fetch_float_value",[1233,1263,1264],{},"Number",[1218,1266,1267,1272],{},[1233,1268,1269],{},[416,1270,1271],{},"fetch_object_value",[1233,1273,1274],{},"JSON object or JSON array",[383,1276,1277,1279,1280,1282,1283,1285],{},[416,1278,1255],{}," reads any finite number, whatever the class of the in-code default value: a whole number comes back as an Integer and any other number as a Float. ",[416,1281,1258],{}," reads whole numbers only, and ",[416,1284,1261],{}," returns a Float.",[383,1287,1288,1290,1291,1294],{},[416,1289,1271],{}," returns the parsed JSON: with a Hash as the in-code default value it reads a JSON object, as a Hash with String keys, and with an Array it reads a JSON array. A JSON array read with a Hash, or a JSON object read with an Array, returns the in-code default value with ",[416,1292,1293],{},"TYPE_MISMATCH",":",[431,1296,1298],{"className":482,"code":1297,"filename":1123,"language":485,"meta":437,"style":437},"settings = client.fetch_object_value(flag_key: \"my-json-config-key\", default_value: {})\ntheme = settings[\"theme\"]\n",[416,1299,1300,1325],{"__ignoreMap":437},[441,1301,1302,1305,1307,1309,1311,1313,1315,1318,1320,1322],{"class":443,"line":444},[441,1303,1304],{"class":612},"settings",[441,1306,616],{"class":492},[441,1308,1154],{"class":524},[441,1310,1271],{"class":562},[441,1312,638],{"class":524},[441,1314,1162],{"class":531},[441,1316,1317],{"class":451}," \"my-json-config-key\"",[441,1319,1013],{"class":524},[441,1321,1170],{"class":531},[441,1323,1324],{"class":524}," {})\n",[441,1326,1327,1330,1332,1335,1338],{"class":443,"line":499},[441,1328,1329],{"class":612},"theme",[441,1331,616],{"class":492},[441,1333,1334],{"class":524}," settings[",[441,1336,1337],{"class":451},"\"theme\"",[441,1339,1340],{"class":524},"]\n",[383,1342,1343,1344,398],{},"For additional information regarding the OpenFeature client ",[387,1345,1347],{"href":389,"rel":1346,"target":392},[391],"refer to the OpenFeature Ruby SDK documentation",[812,1349,1351],{"id":1350},"evaluation-details","Evaluation details",[383,1353,1354,1355,1358],{},"The detailed getters of the OpenFeature client, such as ",[416,1356,1357],{},"fetch_boolean_details",", report why an evaluation produced the value that it did:",[1212,1360,1361,1377],{},[1215,1362,1363],{},[1218,1364,1365,1368,1371,1374],{},[1221,1366,1367],{},"Outcome",[1221,1369,1370],{},"Reason",[1221,1372,1373],{},"Error code",[1221,1375,1376],{},"Variant",[1228,1378,1379,1394,1408,1421,1437,1452],{},[1218,1380,1381,1384,1389,1391],{},[1233,1382,1383],{},"A value was found",[1233,1385,1386],{},[416,1387,1388],{},"TARGETING_MATCH",[1233,1390],{},[1233,1392,1393],{},"The variation name, or the value ID",[1218,1395,1396,1399,1404,1406],{},[1233,1397,1398],{},"A percentage rollout was skipped for a context without a targeting key",[1233,1400,1401],{},[416,1402,1403],{},"DEFAULT",[1233,1405],{},[1233,1407,1393],{},[1218,1409,1410,1413,1417,1419],{},[1233,1411,1412],{},"The config carries no value",[1233,1414,1415],{},[416,1416,1403],{},[1233,1418],{},[1233,1420],{},[1218,1422,1423,1426,1430,1435],{},[1233,1424,1425],{},"The config key is unknown",[1233,1427,1428],{},[416,1429,838],{},[1233,1431,1432],{},[416,1433,1434],{},"FLAG_NOT_FOUND",[1233,1436],{},[1218,1438,1439,1442,1446,1450],{},[1233,1440,1441],{},"No config state has arrived yet",[1233,1443,1444],{},[416,1445,838],{},[1233,1447,1448],{},[416,1449,827],{},[1233,1451],{},[1218,1453,1454,1457,1461,1465],{},[1233,1455,1456],{},"The value does not match the requested type",[1233,1458,1459],{},[416,1460,838],{},[1233,1462,1463],{},[416,1464,1293],{},[1233,1466],{},[383,1468,1469,1470,1473,1474,1477],{},"The ",[416,1471,1472],{},"variant"," is the name of the variation served, such as ",[416,1475,1476],{},"treatment",", when the config has variations and that variation has a name. Otherwise it is ConfigDirector's ID for the value served, a stable hash you can send to analytics in place of the value itself; values served in offline mode have none. In the cases without a variant, the in-code default value is returned. The details carry no flag metadata.",[431,1479,1481],{"className":482,"code":1480,"filename":1123,"language":485,"meta":437,"style":437},"details = client.fetch_boolean_details(flag_key: \"new-checkout\", default_value: false, evaluation_context: user)\nwarn(\"new-checkout fell back to its in-code default value: #{details.error_code}\") if details.error_code\n",[416,1482,1483,1515],{"__ignoreMap":437},[441,1484,1485,1488,1490,1492,1494,1496,1498,1501,1503,1505,1507,1509,1512],{"class":443,"line":444},[441,1486,1487],{"class":612},"details",[441,1489,616],{"class":492},[441,1491,1154],{"class":524},[441,1493,1357],{"class":562},[441,1495,638],{"class":524},[441,1497,1162],{"class":531},[441,1499,1500],{"class":451}," \"new-checkout\"",[441,1502,1013],{"class":524},[441,1504,1170],{"class":531},[441,1506,1173],{"class":531},[441,1508,1013],{"class":524},[441,1510,1511],{"class":531},"evaluation_context:",[441,1513,1514],{"class":524}," user)\n",[441,1516,1517,1520,1522,1525,1527,1530,1533,1535,1537,1540,1543,1546],{"class":443,"line":499},[441,1518,1519],{"class":531},"warn",[441,1521,638],{"class":524},[441,1523,1524],{"class":451},"\"new-checkout fell back to its in-code default value: ",[441,1526,715],{"class":714},[441,1528,1529],{"class":451},"details.",[441,1531,1532],{"class":562},"error_code",[441,1534,724],{"class":714},[441,1536,727],{"class":451},[441,1538,1539],{"class":524},") ",[441,1541,1542],{"class":492},"if",[441,1544,1545],{"class":524}," details.",[441,1547,1548],{"class":562},"error_code\n",[383,1550,1551,1552,1013,1554,1013,1556,1013,1558,920,1560,1562],{},"To report an experiment to an analytics tool, follow the page for ",[387,1553,311],{"href":312},[387,1555,327],{"href":328},[387,1557,319],{"href":320},[387,1559,335],{"href":336},[387,1561,331],{"href":332},", which names the event that tool reads.",[379,1564,1566],{"id":1565},"context","Context",[383,1568,1569,1570,1573],{},"The context is the ",[416,1571,1572],{},"evaluation_context"," argument of every getter of the OpenFeature client. The OpenFeature Ruby provider evaluates targeting rules locally without additional network calls for different contexts.",[431,1575,1577],{"className":482,"code":1576,"filename":1123,"language":485,"meta":437,"style":437},"user = OpenFeature::SDK::EvaluationContext.new(\n  targeting_key: \"12345\", # In OpenFeature, the targeting key represents the context's identifier\n  name: \"Example User\",\n  traits: { \"region\" => \"North America\" } # Any arbitrary traits which can be referenced in targeting rules\n)\n\nboolean_value = client.fetch_boolean_value(flag_key: \"my-config-key\", default_value: false, evaluation_context: user)\n",[416,1578,1579,1603,1616,1627,1649,1653,1657],{"__ignoreMap":437},[441,1580,1581,1584,1586,1588,1590,1592,1594,1597,1599,1601],{"class":443,"line":444},[441,1582,1583],{"class":612},"user",[441,1585,616],{"class":492},[441,1587,688],{"class":531},[441,1589,622],{"class":524},[441,1591,671],{"class":531},[441,1593,622],{"class":524},[441,1595,1596],{"class":531},"EvaluationContext",[441,1598,398],{"class":524},[441,1600,635],{"class":492},[441,1602,970],{"class":524},[441,1604,1605,1608,1611,1613],{"class":443,"line":499},[441,1606,1607],{"class":531},"  targeting_key:",[441,1609,1610],{"class":451}," \"12345\"",[441,1612,1013],{"class":524},[441,1614,1615],{"class":508},"# In OpenFeature, the targeting key represents the context's identifier\n",[441,1617,1618,1621,1624],{"class":443,"line":505},[441,1619,1620],{"class":531},"  name:",[441,1622,1623],{"class":451}," \"Example User\"",[441,1625,1626],{"class":524},",\n",[441,1628,1629,1632,1634,1637,1640,1643,1646],{"class":443,"line":512},[441,1630,1631],{"class":531},"  traits:",[441,1633,745],{"class":524},[441,1635,1636],{"class":451},"\"region\"",[441,1638,1639],{"class":524}," => ",[441,1641,1642],{"class":451},"\"North America\"",[441,1644,1645],{"class":524}," } ",[441,1647,1648],{"class":508},"# Any arbitrary traits which can be referenced in targeting rules\n",[441,1650,1651],{"class":443,"line":521},[441,1652,730],{"class":524},[441,1654,1655],{"class":443,"line":540},[441,1656,502],{"emptyLinePlaceholder":9},[441,1658,1659,1661,1663,1665,1667,1669,1671,1673,1675,1677,1679,1681,1683],{"class":443,"line":551},[441,1660,1149],{"class":612},[441,1662,616],{"class":492},[441,1664,1154],{"class":524},[441,1666,1157],{"class":562},[441,1668,638],{"class":524},[441,1670,1162],{"class":531},[441,1672,1165],{"class":451},[441,1674,1013],{"class":524},[441,1676,1170],{"class":531},[441,1678,1173],{"class":531},[441,1680,1013],{"class":524},[441,1682,1511],{"class":531},[441,1684,1514],{"class":524},[383,1686,1687,1688,1691],{},"To evaluate flags for an entity other than a user, such as a tenant, set the context kind with a top-level ",[416,1689,1690],{},"kind"," attribute:",[431,1693,1695],{"className":482,"code":1694,"filename":1123,"language":485,"meta":437,"style":437},"tenant = OpenFeature::SDK::EvaluationContext.new(\n  targeting_key: \"acme\",\n  kind: \"tenant\",\n  name: \"Acme Inc.\",\n  traits: { \"plan\" => \"enterprise\" }\n)\n\nboolean_value = client.fetch_boolean_value(flag_key: \"my-config-key\", default_value: false, evaluation_context: tenant)\n",[416,1696,1697,1720,1729,1739,1748,1764,1768,1772],{"__ignoreMap":437},[441,1698,1699,1702,1704,1706,1708,1710,1712,1714,1716,1718],{"class":443,"line":444},[441,1700,1701],{"class":612},"tenant",[441,1703,616],{"class":492},[441,1705,688],{"class":531},[441,1707,622],{"class":524},[441,1709,671],{"class":531},[441,1711,622],{"class":524},[441,1713,1596],{"class":531},[441,1715,398],{"class":524},[441,1717,635],{"class":492},[441,1719,970],{"class":524},[441,1721,1722,1724,1727],{"class":443,"line":499},[441,1723,1607],{"class":531},[441,1725,1726],{"class":451}," \"acme\"",[441,1728,1626],{"class":524},[441,1730,1731,1734,1737],{"class":443,"line":505},[441,1732,1733],{"class":531},"  kind:",[441,1735,1736],{"class":451}," \"tenant\"",[441,1738,1626],{"class":524},[441,1740,1741,1743,1746],{"class":443,"line":512},[441,1742,1620],{"class":531},[441,1744,1745],{"class":451}," \"Acme Inc.\"",[441,1747,1626],{"class":524},[441,1749,1750,1752,1754,1757,1759,1762],{"class":443,"line":521},[441,1751,1631],{"class":531},[441,1753,745],{"class":524},[441,1755,1756],{"class":451},"\"plan\"",[441,1758,1639],{"class":524},[441,1760,1761],{"class":451},"\"enterprise\"",[441,1763,759],{"class":524},[441,1765,1766],{"class":443,"line":540},[441,1767,730],{"class":524},[441,1769,1770],{"class":443,"line":551},[441,1771,502],{"emptyLinePlaceholder":9},[441,1773,1774,1776,1778,1780,1782,1784,1786,1788,1790,1792,1794,1796,1798],{"class":443,"line":556},[441,1775,1149],{"class":612},[441,1777,616],{"class":492},[441,1779,1154],{"class":524},[441,1781,1157],{"class":562},[441,1783,638],{"class":524},[441,1785,1162],{"class":531},[441,1787,1165],{"class":451},[441,1789,1013],{"class":524},[441,1791,1170],{"class":531},[441,1793,1173],{"class":531},[441,1795,1013],{"class":524},[441,1797,1511],{"class":531},[441,1799,1800],{"class":524}," tenant)\n",[383,1802,1803,1804,1806,1807,1809,1810,1812,1813,1816],{},"Leaving ",[416,1805,1690],{}," out means ",[416,1808,1583],{},". A ",[416,1811,1690],{}," inside ",[416,1814,1815],{},"traits"," is an ordinary trait, not the context kind. A context kind is 1 to 64 lowercase letters, digits, dashes, or underscores. A context with an invalid context kind is ignored: the SDK logs an error, and flags still resolve successfully, as if no context had been given.",[383,1818,1819],{},"The evaluation context maps onto the ConfigDirector context as follows:",[1212,1821,1822,1832],{},[1215,1823,1824],{},[1218,1825,1826,1829],{},[1221,1827,1828],{},"OpenFeature evaluation context",[1221,1830,1831],{},"ConfigDirector context",[1228,1833,1834,1847,1858,1869,1880],{},[1218,1835,1836,1843],{},[1233,1837,1838,1839,1842],{},"The targeting key, or otherwise an ",[416,1840,1841],{},"id"," attribute",[1233,1844,1845],{},[416,1846,1841],{},[1218,1848,1849,1854],{},[1233,1850,1851,1852,1842],{},"The top-level ",[416,1853,1690],{},[1233,1855,1856],{},[416,1857,1690],{},[1218,1859,1860,1865],{},[1233,1861,1469,1862,1842],{},[416,1863,1864],{},"name",[1233,1866,1867],{},[416,1868,1864],{},[1218,1870,1871,1876],{},[1233,1872,1469,1873,1875],{},[416,1874,1815],{}," attribute, a Hash",[1233,1877,1878],{},[416,1879,1815],{},[1218,1881,1882,1891],{},[1233,1883,1469,1884,1887,1888],{},[416,1885,1886],{},"anonymous"," attribute, when it is ",[416,1889,1890],{},"true",[1233,1892,1893],{},[416,1894,1886],{},[383,1896,1897,1898,920,1900,1903,1904,1907,1908,1911,1912,1915,1916,1919,1920,1923,1924,1926],{},"An id or a name given as a Symbol, ",[416,1899,1890],{},[416,1901,1902],{},"false",", an Integer, a Float or a date is read as text, and any other id or name is left out. A date, given as a ",[416,1905,1906],{},"Time",", a ",[416,1909,1910],{},"DateTime"," or a ",[416,1913,1914],{},"Date",", is written as UTC text such as ",[416,1917,1918],{},"2026-11-17T10:00:00.000Z",", or as ",[416,1921,1922],{},"2026-11-17"," for a ",[416,1925,1914],{},", inside the traits too, so date conditions can compare it.",[383,1928,1929,1930,1932,1933,1935,1936,1938],{},"An evaluation context with neither a targeting key nor an ",[416,1931,1841],{}," attribute skips percentage rollouts: a rollout does not apply to it, and the targeting rules after the rollout are tried, as they are after a conditional rule the context does not match. When none of them applies, the flag resolves to the default targeting rule value with the reason ",[416,1934,1403],{},"; a later rule that applies resolves with ",[416,1937,1388],{},". A rule that serves a single value still applies to it. To keep an anonymous visitor in a rollout, give the context a stable targeting key, such as a session ID.",[383,1940,1343,1941,398],{},[387,1942,1347],{"href":389,"rel":1943,"target":392},[391],[379,1945,1946],{"id":1057},"Events",[383,1948,1949,1950,1953],{},"The provider emits ",[416,1951,1952],{},"PROVIDER_CONFIGURATION_CHANGED"," whenever configs are updated on the dashboard or via the admin API, carrying the keys of the configs in the update followed by the keys of the configs it removed:",[431,1955,1957],{"className":482,"code":1956,"filename":1123,"language":485,"meta":437,"style":437},"OpenFeature::SDK.add_handler(\n  OpenFeature::SDK::ProviderEvent::PROVIDER_CONFIGURATION_CHANGED,\n  ->(event_details) { puts \"Configs updated: #{event_details[:flags_changed].join(\", \")}\" }\n)\n",[416,1958,1959,1974,1994,2036],{"__ignoreMap":437},[441,1960,1961,1963,1965,1967,1969,1972],{"class":443,"line":444},[441,1962,625],{"class":531},[441,1964,622],{"class":524},[441,1966,671],{"class":531},[441,1968,398],{"class":524},[441,1970,1971],{"class":562},"add_handler",[441,1973,970],{"class":524},[441,1975,1976,1979,1981,1983,1985,1988,1990,1992],{"class":443,"line":499},[441,1977,1978],{"class":531},"  OpenFeature",[441,1980,622],{"class":524},[441,1982,671],{"class":531},[441,1984,622],{"class":524},[441,1986,1987],{"class":531},"ProviderEvent",[441,1989,622],{"class":524},[441,1991,1952],{"class":531},[441,1993,1626],{"class":524},[441,1995,1996,1999,2002,2005,2008,2010,2013,2016,2019,2022,2024,2027,2030,2032,2034],{"class":443,"line":505},[441,1997,1998],{"class":531},"  ->",[441,2000,2001],{"class":524},"(event_details) { ",[441,2003,2004],{"class":531},"puts",[441,2006,2007],{"class":451}," \"Configs updated: ",[441,2009,715],{"class":714},[441,2011,2012],{"class":451},"event_details[",[441,2014,2015],{"class":531},":flags_changed",[441,2017,2018],{"class":451},"].",[441,2020,2021],{"class":562},"join",[441,2023,638],{"class":451},[441,2025,2026],{"class":451},"\", \"",[441,2028,2029],{"class":451},")",[441,2031,724],{"class":714},[441,2033,727],{"class":451},[441,2035,759],{"class":524},[441,2037,2038],{"class":443,"line":512},[441,2039,730],{"class":524},[383,2041,2042,2043,2045,2046,398],{},"When no config arrived in time at startup, the provider emits ",[416,2044,853],{}," once config arrives, as described in ",[387,2047,815],{"href":2048},"#when-no-config-arrives-in-time",[379,2050,2052],{"id":2051},"track-events","Track events",[383,2054,2055,2056,2059,2060,398],{},"The provider implements OpenFeature's tracking API. ",[416,2057,2058],{},"client.track"," reports to ConfigDirector that something happened in your application, such as a completed checkout, and ConfigDirector shows it on the Live feed and counts it for each variation of a running experiment; see ",[387,2061,2063],{"href":2062},"\u002Fmonitoring\u002Factivity#tracked-events","Tracked events",[431,2065,2067],{"className":482,"code":2066,"filename":1123,"language":485,"meta":437,"style":437},"client.track(\n  \"checkout-completed\",\n  evaluation_context: OpenFeature::SDK::EvaluationContext.new(targeting_key: \"user-123\"),\n  tracking_event_details: OpenFeature::SDK::TrackingEventDetails.new(value: 49.9, plan: \"pro\", seats: 3)\n)\n",[416,2068,2069,2079,2086,2115,2161],{"__ignoreMap":437},[441,2070,2071,2074,2077],{"class":443,"line":444},[441,2072,2073],{"class":524},"client.",[441,2075,2076],{"class":562},"track",[441,2078,970],{"class":524},[441,2080,2081,2084],{"class":443,"line":499},[441,2082,2083],{"class":451},"  \"checkout-completed\"",[441,2085,1626],{"class":524},[441,2087,2088,2091,2093,2095,2097,2099,2101,2103,2105,2107,2110,2113],{"class":443,"line":505},[441,2089,2090],{"class":531},"  evaluation_context:",[441,2092,688],{"class":531},[441,2094,622],{"class":524},[441,2096,671],{"class":531},[441,2098,622],{"class":524},[441,2100,1596],{"class":531},[441,2102,398],{"class":524},[441,2104,635],{"class":492},[441,2106,638],{"class":524},[441,2108,2109],{"class":531},"targeting_key:",[441,2111,2112],{"class":451}," \"user-123\"",[441,2114,986],{"class":524},[441,2116,2117,2120,2122,2124,2126,2128,2131,2133,2135,2137,2140,2143,2145,2148,2151,2153,2156,2159],{"class":443,"line":512},[441,2118,2119],{"class":531},"  tracking_event_details:",[441,2121,688],{"class":531},[441,2123,622],{"class":524},[441,2125,671],{"class":531},[441,2127,622],{"class":524},[441,2129,2130],{"class":531},"TrackingEventDetails",[441,2132,398],{"class":524},[441,2134,635],{"class":492},[441,2136,638],{"class":524},[441,2138,2139],{"class":531},"value:",[441,2141,2142],{"class":531}," 49.9",[441,2144,1013],{"class":524},[441,2146,2147],{"class":531},"plan:",[441,2149,2150],{"class":451}," \"pro\"",[441,2152,1013],{"class":524},[441,2154,2155],{"class":531},"seats:",[441,2157,2158],{"class":531}," 3",[441,2160,730],{"class":524},[441,2162,2163],{"class":443,"line":521},[441,2164,730],{"class":524},[383,2166,1469,2167,2170,2171,2173,2174,398],{},[416,2168,2169],{},"value"," of the tracking event details is sent as the event's value, and their other fields as the event's details. The context the event happened for is the merged evaluation context: its targeting key, or otherwise its ",[416,2172,1841],{}," attribute, and its ",[416,2175,1690],{},[383,2177,2178,2179,2181],{},"An event counts for an experiment only when its evaluation context has the targeting key the experiment's flag was evaluated with, so track with the context you evaluate with. Without one, the event is still reported and counts for no experiment. For a context marked ",[416,2180,1886],{},", the event is reported without the targeting key, so it counts for no experiment either.",[383,2183,2184,2186,2187,2190],{},[416,2185,2076],{}," never raises: an event the provider cannot pass on, for example because its evaluation context cannot be read, is logged as a warning and not reported. It does nothing in offline mode. The provider sends tracked events as the ",[387,2188,397],{"href":2189},"\u002Fsdks\u002Fserver\u002Fruby#track-events"," does, with the same limits.",[379,2192,2194],{"id":2193},"test-your-code","Test your code",[383,2196,2197,2198,2201],{},"Code that reads flags through OpenFeature is tested by swapping the provider, so it never has to change for a test and nothing from ConfigDirector is involved. The OpenFeature Ruby SDK ships an in-memory provider for that, ",[416,2199,2200],{},"OpenFeature::SDK::Provider::InMemoryProvider",", which serves the values your test sets:",[431,2203,2206],{"className":482,"code":2204,"filename":2205,"language":485,"meta":437,"style":437},"RSpec.describe \"the checkout\" do\n  after { OpenFeature::SDK.shutdown }\n\n  it \"shows the new checkout\" do\n    provider = OpenFeature::SDK::Provider::InMemoryProvider.new(\"new-checkout\" => true, \"max-items\" => 20)\n    OpenFeature::SDK.set_provider_and_wait(provider)\n    client = OpenFeature::SDK.build_client\n\n    expect(client.fetch_boolean_value(flag_key: \"new-checkout\", default_value: false)).to be(true)\n    expect(client.fetch_integer_value(flag_key: \"max-items\", default_value: 0)).to eq(20)\n\n    provider.add_flag(flag_key: \"new-checkout\", value: false)\n    expect(client.fetch_boolean_value(flag_key: \"new-checkout\", default_value: true)).to be(false)\n  end\nend\n","spec\u002Fcheckout_spec.rb",[416,2207,2208,2224,2241,2245,2255,2302,2316,2333,2337,2374,2409,2413,2435,2468,2472],{"__ignoreMap":437},[441,2209,2210,2213,2215,2218,2221],{"class":443,"line":444},[441,2211,2212],{"class":531},"RSpec",[441,2214,398],{"class":524},[441,2216,2217],{"class":562},"describe",[441,2219,2220],{"class":451}," \"the checkout\"",[441,2222,2223],{"class":492}," do\n",[441,2225,2226,2229,2231,2233,2235,2237,2239],{"class":443,"line":499},[441,2227,2228],{"class":524},"  after { ",[441,2230,625],{"class":531},[441,2232,622],{"class":524},[441,2234,671],{"class":531},[441,2236,398],{"class":524},[441,2238,756],{"class":562},[441,2240,759],{"class":524},[441,2242,2243],{"class":443,"line":505},[441,2244,502],{"emptyLinePlaceholder":9},[441,2246,2247,2250,2253],{"class":443,"line":512},[441,2248,2249],{"class":524},"  it ",[441,2251,2252],{"class":451},"\"shows the new checkout\"",[441,2254,2223],{"class":492},[441,2256,2257,2259,2261,2263,2265,2267,2269,2272,2274,2277,2279,2281,2283,2286,2288,2290,2292,2295,2297,2300],{"class":443,"line":521},[441,2258,613],{"class":612},[441,2260,616],{"class":492},[441,2262,688],{"class":531},[441,2264,622],{"class":524},[441,2266,671],{"class":531},[441,2268,622],{"class":524},[441,2270,2271],{"class":531},"Provider",[441,2273,622],{"class":524},[441,2275,2276],{"class":531},"InMemoryProvider",[441,2278,398],{"class":524},[441,2280,635],{"class":492},[441,2282,638],{"class":524},[441,2284,2285],{"class":451},"\"new-checkout\"",[441,2287,1639],{"class":524},[441,2289,1890],{"class":531},[441,2291,1013],{"class":524},[441,2293,2294],{"class":451},"\"max-items\"",[441,2296,1639],{"class":524},[441,2298,2299],{"class":531},"20",[441,2301,730],{"class":524},[441,2303,2304,2306,2308,2310,2312,2314],{"class":443,"line":540},[441,2305,765],{"class":531},[441,2307,622],{"class":524},[441,2309,671],{"class":531},[441,2311,398],{"class":524},[441,2313,676],{"class":562},[441,2315,679],{"class":524},[441,2317,2318,2321,2323,2325,2327,2329,2331],{"class":443,"line":551},[441,2319,2320],{"class":612},"    client",[441,2322,616],{"class":492},[441,2324,688],{"class":531},[441,2326,622],{"class":524},[441,2328,671],{"class":531},[441,2330,398],{"class":524},[441,2332,774],{"class":562},[441,2334,2335],{"class":443,"line":556},[441,2336,502],{"emptyLinePlaceholder":9},[441,2338,2339,2342,2345,2347,2349,2351,2353,2355,2357,2359,2362,2365,2368,2370,2372],{"class":443,"line":566},[441,2340,2341],{"class":562},"    expect",[441,2343,2344],{"class":524},"(client.",[441,2346,1157],{"class":562},[441,2348,638],{"class":524},[441,2350,1162],{"class":531},[441,2352,1500],{"class":451},[441,2354,1013],{"class":524},[441,2356,1170],{"class":531},[441,2358,1173],{"class":531},[441,2360,2361],{"class":524},")).",[441,2363,2364],{"class":562},"to",[441,2366,2367],{"class":562}," be",[441,2369,638],{"class":524},[441,2371,1890],{"class":531},[441,2373,730],{"class":524},[441,2375,2376,2378,2380,2382,2384,2386,2389,2391,2393,2396,2398,2400,2403,2405,2407],{"class":443,"line":584},[441,2377,2341],{"class":562},[441,2379,2344],{"class":524},[441,2381,1258],{"class":562},[441,2383,638],{"class":524},[441,2385,1162],{"class":531},[441,2387,2388],{"class":451}," \"max-items\"",[441,2390,1013],{"class":524},[441,2392,1170],{"class":531},[441,2394,2395],{"class":531}," 0",[441,2397,2361],{"class":524},[441,2399,2364],{"class":562},[441,2401,2402],{"class":562}," eq",[441,2404,638],{"class":524},[441,2406,2299],{"class":531},[441,2408,730],{"class":524},[441,2410,2411],{"class":443,"line":590},[441,2412,502],{"emptyLinePlaceholder":9},[441,2414,2415,2418,2421,2423,2425,2427,2429,2431,2433],{"class":443,"line":595},[441,2416,2417],{"class":524},"    provider.",[441,2419,2420],{"class":562},"add_flag",[441,2422,638],{"class":524},[441,2424,1162],{"class":531},[441,2426,1500],{"class":451},[441,2428,1013],{"class":524},[441,2430,2139],{"class":531},[441,2432,1173],{"class":531},[441,2434,730],{"class":524},[441,2436,2437,2439,2441,2443,2445,2447,2449,2451,2453,2456,2458,2460,2462,2464,2466],{"class":443,"line":603},[441,2438,2341],{"class":562},[441,2440,2344],{"class":524},[441,2442,1157],{"class":562},[441,2444,638],{"class":524},[441,2446,1162],{"class":531},[441,2448,1500],{"class":451},[441,2450,1013],{"class":524},[441,2452,1170],{"class":531},[441,2454,2455],{"class":531}," true",[441,2457,2361],{"class":524},[441,2459,2364],{"class":562},[441,2461,2367],{"class":562},[441,2463,638],{"class":524},[441,2465,1902],{"class":531},[441,2467,730],{"class":524},[441,2469,2470],{"class":443,"line":609},[441,2471,587],{"class":492},[441,2473,2474],{"class":443,"line":657},[441,2475,799],{"class":492},[383,2477,2478,2480,2481,2483,2484,2487,2488,2491],{},[416,2479,2420],{}," changes a value in the middle of a test and emits ",[416,2482,1952],{}," with the flag's key. The OpenFeature API is one global, so shut it down after each test with ",[416,2485,2486],{},"OpenFeature::SDK.shutdown",", as the ",[416,2489,2490],{},"after"," block above does, which lets the next test register its own provider.",[383,2493,2494,2495,2498,2499,2501],{},"When the provider is registered the first time a process reads a flag, as in ",[387,2496,459],{"href":2497},"#configure-and-initialize-the-client",", make ",[416,2500,934],{}," return the in-memory provider, so your application's own registration runs as it does in production, and forget the module's client after each example:",[431,2503,2506],{"className":482,"code":2504,"filename":2505,"language":485,"meta":437,"style":437},"RSpec.shared_context \"with an in-memory provider in place of the ConfigDirector provider\" do\n  let(:in_memory_provider) { OpenFeature::SDK::Provider::InMemoryProvider.new(\"new-checkout\" => true) }\n\n  before { allow(ConfigDirector::OpenFeature::ConfigDirectorProvider).to receive(:new).and_return(in_memory_provider) }\n\n  after do\n    OpenFeature::SDK.shutdown\n    OpenFeatureClientPerProcess.instance_variable_set(:@client, nil)\n  end\nend\n","spec\u002Fsupport\u002Fin_memory_provider_in_place_of_the_configdirector_provider.rb",[416,2507,2508,2522,2564,2568,2609,2613,2621,2634,2656,2660],{"__ignoreMap":437},[441,2509,2510,2512,2514,2517,2520],{"class":443,"line":444},[441,2511,2212],{"class":531},[441,2513,398],{"class":524},[441,2515,2516],{"class":562},"shared_context",[441,2518,2519],{"class":451}," \"with an in-memory provider in place of the ConfigDirector provider\"",[441,2521,2223],{"class":492},[441,2523,2524,2527,2529,2532,2535,2537,2539,2541,2543,2545,2547,2549,2551,2553,2555,2557,2559,2561],{"class":443,"line":499},[441,2525,2526],{"class":562},"  let",[441,2528,638],{"class":524},[441,2530,2531],{"class":531},":in_memory_provider",[441,2533,2534],{"class":524},") { ",[441,2536,625],{"class":531},[441,2538,622],{"class":524},[441,2540,671],{"class":531},[441,2542,622],{"class":524},[441,2544,2271],{"class":531},[441,2546,622],{"class":524},[441,2548,2276],{"class":531},[441,2550,398],{"class":524},[441,2552,635],{"class":492},[441,2554,638],{"class":524},[441,2556,2285],{"class":451},[441,2558,1639],{"class":524},[441,2560,1890],{"class":531},[441,2562,2563],{"class":524},") }\n",[441,2565,2566],{"class":443,"line":505},[441,2567,502],{"emptyLinePlaceholder":9},[441,2569,2570,2573,2576,2578,2580,2582,2584,2586,2588,2591,2593,2596,2598,2601,2603,2606],{"class":443,"line":512},[441,2571,2572],{"class":524},"  before { ",[441,2574,2575],{"class":562},"allow",[441,2577,638],{"class":524},[441,2579,883],{"class":531},[441,2581,622],{"class":524},[441,2583,625],{"class":531},[441,2585,622],{"class":524},[441,2587,630],{"class":531},[441,2589,2590],{"class":524},").",[441,2592,2364],{"class":562},[441,2594,2595],{"class":562}," receive",[441,2597,638],{"class":524},[441,2599,2600],{"class":531},":new",[441,2602,2590],{"class":524},[441,2604,2605],{"class":562},"and_return",[441,2607,2608],{"class":524},"(in_memory_provider) }\n",[441,2610,2611],{"class":443,"line":521},[441,2612,502],{"emptyLinePlaceholder":9},[441,2614,2615,2618],{"class":443,"line":540},[441,2616,2617],{"class":524},"  after ",[441,2619,2620],{"class":492},"do\n",[441,2622,2623,2625,2627,2629,2631],{"class":443,"line":551},[441,2624,765],{"class":531},[441,2626,622],{"class":524},[441,2628,671],{"class":531},[441,2630,398],{"class":524},[441,2632,2633],{"class":562},"shutdown\n",[441,2635,2636,2639,2641,2644,2646,2649,2651,2654],{"class":443,"line":556},[441,2637,2638],{"class":531},"    OpenFeatureClientPerProcess",[441,2640,398],{"class":524},[441,2642,2643],{"class":562},"instance_variable_set",[441,2645,638],{"class":524},[441,2647,2648],{"class":531},":@client",[441,2650,1013],{"class":524},[441,2652,2653],{"class":531},"nil",[441,2655,730],{"class":524},[441,2657,2658],{"class":443,"line":566},[441,2659,587],{"class":492},[441,2661,2662],{"class":443,"line":584},[441,2663,799],{"class":492},[2665,2666,2667],"style",{},"html pre.shiki code .sA9AF, html code.shiki .sA9AF{--shiki-light:#702C00;--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .suztq, html code.shiki .suztq{--shiki-light:#032563;--shiki-default:#032F62;--shiki-dark:#9ECBFF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sLDKn, html code.shiki .sLDKn{--shiki-light:#A0111F;--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sM45V, html code.shiki .sM45V{--shiki-light:#66707B;--shiki-default:#6A737D;--shiki-dark:#6A737D}html pre.shiki code .sbRM4, html code.shiki .sbRM4{--shiki-light:#0E1116;--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sxMNI, html code.shiki .sxMNI{--shiki-light:#023B95;--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sEIia, html code.shiki .sEIia{--shiki-light:#622CBC;--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .syyZu, html code.shiki .syyZu{--shiki-light:#702C00;--shiki-default:#E36209;--shiki-dark:#FFAB70}html pre.shiki code .spee4, html code.shiki .spee4{--shiki-light:#A0111F;--shiki-default:#032F62;--shiki-dark:#9ECBFF}",{"title":437,"searchDepth":499,"depth":499,"links":2669},[2670,2671,2672,2677,2680,2681,2682,2683],{"id":381,"depth":499,"text":5},{"id":404,"depth":499,"text":405},{"id":458,"depth":499,"text":459,"children":2673},[2674,2675,2676],{"id":814,"depth":505,"text":815},{"id":927,"depth":505,"text":928},{"id":1081,"depth":505,"text":1082},{"id":1112,"depth":499,"text":1113,"children":2678},[2679],{"id":1350,"depth":505,"text":1351},{"id":1565,"depth":499,"text":1566},{"id":1057,"depth":499,"text":1946},{"id":2051,"depth":499,"text":2052},{"id":2193,"depth":499,"text":2194},"ConfigDirector Provider for the OpenFeature Ruby SDK","md",null,{"modifiedAt":2688},"2026-11-19T18:10:37.000Z",{"title":206,"icon":212,"icons":2690},[212,209],{"title":364,"description":2684},"yJRN6aLNotWWEJ4WMM62KVseUJ38hu-Ymrz8Fm4cQRI",[2694,2697],{"title":201,"path":255,"stem":256,"description":2695,"icon":212,"icons":2696,"children":-1},"ConfigDirector Provider for the OpenFeature PHP SDK",[212,204],{"title":263,"path":264,"stem":265,"description":2698,"icon":266,"children":-1},"Add the ConfigDirector Maven repository to a Gradle or Maven build to install the Android and Java SDKs, and verify the files it serves",1795111949280]