You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Module: Aws::CloudFront::Signer

Included in:
CookieSigner, UrlSigner
Defined in:
gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/signer.rb

Instance Method Summary collapse

Instance Method Details

#initialize(options = {}) ⇒ Object

Parameters:

  • options (Hash) (defaults to: {})

    a customizable set of options

Options Hash (options):

  • :key_pair_id (String)
  • :private_key (String)
  • :private_key_path (String)


15
16
17
18
# File 'gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/signer.rb', line 15

def initialize(options = {})
  @key_pair_id = key_pair_id(options)
  @private_key = private_key(options)
end