class Aws::Plugins::ApiKey::OptionHandler
@api private
Public Instance Methods
call(context)
click to toggle source
# File lib/aws-sdk-core/plugins/api_key.rb, line 24 def call(context) if context.operation.require_apikey if context.params.is_a?(Hash) && context.params[:api_key] api_key = context.params.delete(:api_key) end api_key = context.config.api_key if api_key.nil? context[:api_key] = api_key end @handler.call(context) end