Sha256: ba40967928ad79b58505b258f6ea4bb69af4c2f570a7f4bcc648b4108e0ca287

Contents?: true

Size: 677 Bytes

Versions: 4

Compression:

Stored size: 677 Bytes

Contents

require 'simple_aws/api'
require 'simple_aws/call_types/action_param'
require 'simple_aws/signing/version2'

module SimpleAWS

  ##
  # Amazon's Security Token Service
  #
  # http://docs.amazonwebservices.com/STS/latest/APIReference/Welcome.html
  #
  # All requests are POST and always through HTTPS.
  #
  # @see SimpleAWS::CallTypes::ActionParam Calling rules
  # @see SimpleAWS::Response Response handling
  ##
  class STS < API
    endpoint "sts"
    use_https true
    version "2011-06-15"

    # STS only has one HTTP endpoint
    def initialize(key, secret)
      super(key, secret)
    end

    include CallTypes::ActionParam
    include Signing::Version2
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
simple_aws-1.2.3 lib/simple_aws/sts.rb
simple_aws-1.2.2 lib/simple_aws/sts.rb
simple_aws-1.2.1 lib/simple_aws/sts.rb
simple_aws-1.2.0 lib/simple_aws/sts.rb