We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
EvaluationDetail.reason
1 parent d85a373 commit 0295938Copy full SHA for 0295938
lib/ldclient-rb/events.rb
@@ -513,13 +513,13 @@ def make_output_events(events, summary)
513
evaluation: {
514
key: event.key,
515
value: event.evaluation.value,
516
+ reason: event.evaluation.reason,
517
},
518
}
519
520
out[:evaluation][:version] = event.version unless event.version.nil?
521
out[:evaluation][:default] = event.default unless event.default.nil?
522
out[:evaluation][:variation] = event.evaluation.variation_index unless event.evaluation.variation_index.nil?
- out[:evaluation][:reason] = event.evaluation.reason unless event.evaluation.reason.nil?
523
out[:samplingRatio] = event.sampling_ratio unless event.sampling_ratio.nil? || event.sampling_ratio == 1
524
525
measurements = []
0 commit comments