Method: Azure::Core::Auth::SharedKey#initialize

Defined in:
lib/azure/core/auth/shared_key.rb

#initialize(account_name = Azure.config.storage_account_name, access_key = Azure.config.storage_access_key) ⇒ SharedKey

Public: Initialize the Signer.

account_name - The account name. Defaults to the one in the

global configuration.

access_key - The access_key encoded in Base64. Defaults to the

one in the global configuration.


32
33
34
35
# File 'lib/azure/core/auth/shared_key.rb', line 32

def initialize(=Azure.config., access_key=Azure.config.storage_access_key)
  @account_name = 
  super(access_key)
end