Class: Azure::Storage::Common::Core::Auth::AnonymousSigner

Inherits:
Core::Auth::Signer show all
Defined in:
lib/azure/storage/common/core/auth/anonymous_signer.rb

Instance Attribute Summary

Attributes inherited from Core::Auth::Signer

#access_key

Instance Method Summary collapse

Methods inherited from Core::Auth::Signer

#sign

Constructor Details

#initializeAnonymousSigner

Public: Initialize the Anonymous Signer



33
34
35
36
# File 'lib/azure/storage/common/core/auth/anonymous_signer.rb', line 33

def initialize()
  # Use mock key to initialize super class
  super(Base64.strict_encode64("accesskey"))
end

Instance Method Details

#sign_request(req) ⇒ Object



38
39
40
# File 'lib/azure/storage/common/core/auth/anonymous_signer.rb', line 38

def sign_request(req)
  # Do nothing.
end