class Aws::Plugins::ApiKey::ApiKeyHandler
@api private
Public Instance Methods
Source
# File lib/aws-sdk-core/plugins/api_key.rb, line 41 def call(context) if context[:api_key] apply_api_key(context) end @handler.call(context) end
Private Instance Methods
Source
# File lib/aws-sdk-core/plugins/api_key.rb, line 50 def apply_api_key(context) context.http_request.headers['x-api-key'] = context[:api_key] end