class Aws::Glacier::Plugins::ApiVersion::Handler

Public Instance Methods

call(context) click to toggle source
# File lib/aws-sdk-glacier/plugins/api_version.rb, line 11
def call(context)
  version = context.config.api.version
  context.http_request.headers['x-amz-glacier-version'] = version
  @handler.call(context)
end