Sha256: 3b344364fa5a922c3a908f96aa2baa4b1bb9298264ecd90c81fdfa4b535e155b

Contents?: true

Size: 872 Bytes

Versions: 10

Compression:

Stored size: 872 Bytes

Contents

module Aws
  module Sigv4
    class Signature

      # @api private
      def initialize(options)
        options.each_pair do |attr_name, attr_value|
          send("#{attr_name}=", attr_value)
        end
      end

      # @return [Hash<String,String>] A hash of headers that should
      #   be applied to the HTTP request. Header keys are lower
      #   cased strings and may include the following:
      #
      #   * 'host'
      #   * 'x-amz-date'
      #   * 'x-amz-security-token'
      #   * 'x-amz-content-sha256'
      #   * 'authorization'
      #
      attr_accessor :headers

      # @return [String] For debugging purposes.
      attr_accessor :canonical_request

      # @return [String] For debugging purposes.
      attr_accessor :string_to_sign

      # @return [String] For debugging purposes.
      attr_accessor :content_sha256

    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
aws-sigv4-1.2.0 lib/aws-sigv4/signature.rb
aws-sigv4-1.1.4 lib/aws-sigv4/signature.rb
aws-sigv4-1.1.3 lib/aws-sigv4/signature.rb
aws-sigv4-1.1.2 lib/aws-sigv4/signature.rb
aws-sigv4-1.1.1 lib/aws-sigv4/signature.rb
aws-sigv4-1.1.0 lib/aws-sigv4/signature.rb
aws-sigv4-1.0.3 lib/aws-sigv4/signature.rb
aws-sigv4-1.0.2 lib/aws-sigv4/signature.rb
aws-sigv4-1.0.1 lib/aws-sigv4/signature.rb
aws-sigv4-1.0.0 lib/aws-sigv4/signature.rb