91
92
93
94
95
96
97
98
|
# File 'lib/launchdarkly_api_helper/launchdarkly_api_helper_class.rb', line 91
def flag_variation_served(env, flag)
details_response = fetch_flag_details(env, flag)
toggle_status_response = fetch_flag_toggle_status(env, flag)
variation_index_response = feature_flag_variation_index(toggle_status_response, details_response) variation_value_response = feature_flag_variation_value(details_response, variation_index_response) variation_name_response = feature_flag_variation_name(details_response, variation_index_response)
[toggle_status_response, variation_index_response, variation_value_response, variation_name_response]
end
|