class Azure::Core::SignedService
A base class for Service
implementations
Attributes
account_name[RW]
signer[RW]
Public Class Methods
new(signer=Core::Auth::SharedKey.new, account_name=Azure.config.storage_account_name)
click to toggle source
Create a new instance of the SignedService
signer - Azure::Core::Auth::Signer
. An implementation of Signer used for signing requests. (optional, Default=Azure::Core::Auth::SharedKey.new) account_name
- String
. The account name (optional, Default=Azure.config.storage_account_name)
Calls superclass method
Azure::Core::FilteredService::new
# File lib/azure/core/signed_service.rb, line 28 def initialize(signer=Core::Auth::SharedKey.new, account_name=Azure.config.storage_account_name) super() @account_name = account_name @signer = signer filters.unshift Core::Http::SignerFilter.new(signer) if signer end
Public Instance Methods
call(method, uri, body=nil, headers=nil)
click to toggle source
Calls superclass method
Azure::Core::FilteredService#call
# File lib/azure/core/signed_service.rb, line 38 def call(method, uri, body=nil, headers=nil) super(method, uri, body, headers) end