class Azure::SAS::BLOB
Public Class Methods
new(*)
click to toggle source
Calls superclass method
Azure::SAS::new
# File lib/azure/sas.rb, line 17 def initialize(*) super @options.signedresource = BLOB_RESOURCE end
Public Instance Methods
signature()
click to toggle source
# File lib/azure/sas.rb, line 22 def signature canonicalized_resource = CanonicalizedResource.new(@storage_account, @uri, blob: true).generate body = StringToSign::V20120212::Blob.new(canonicalized_resource, @options).generate Sign.new(@storage_access_key, body).perform end