class Aws::APIGateway::Plugins::ApplyContentTypeHeader::Handler

Public Instance Methods

call(context) click to toggle source
# File lib/aws-sdk-apigateway/plugins/apply_content_type_header.rb, line 11
def call(context)
  context.http_request.headers['Accept'] = 'application/json'
  @handler.call(context)
end