#Uncomment this section if you would like to use the 'launchdarkly_api' gem (https://github.com/launchdarkly/api-client-ruby)
#This is NOT the gem for using the Ruby LaunchDarkly SDK (https://github.com/launchdarkly/ruby-server-sdk)
#Most people do not need to utilize the LaunchDarkly Rest API defined here : (https://apidocs.launchdarkly.com/reference), but
#instead just want to use the SDK to interact with the feature flags in their specific environment.
#If you would like to utilize the LaunchDarkly Rest Api make sure to install the gem besides uncommenting these lines.
access_token = ENV['LAUNCHDARKLY_ACCESS_TOKEN']
LaunchDarklyApi.configure do |config|
config.api_key['Authorization'] = access_token
##In order to utilize the LaunchDarkly Ruby SDK, you will need the specific SDK key
##In this example I'm setting up 'ld_client' under the Rails.configuration so it's accessible anywhere