Sha256: a8b4441d1a108eb721e68347627f2bb0d43753b3bf70de14f44f5a673bd097e0

Contents?: true

Size: 440 Bytes

Versions: 42

Compression:

Stored size: 440 Bytes

Contents

module Aws
  module Glacier
    module Plugins
      # @api private
      class ApiVersion < Seahorse::Client::Plugin

        class Handler < Seahorse::Client::Handler

          def call(context)
            version = context.config.api.version
            context.http_request.headers['x-amz-glacier-version'] = version
            @handler.call(context)
          end

        end

        handler(Handler)

      end
    end
  end
end

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
aws-sdk-glacier-1.0.0.rc2 lib/aws-sdk-glacier/plugins/api_version.rb
aws-sdk-glacier-1.0.0.rc1 lib/aws-sdk-glacier/plugins/api_version.rb