Method: AzureBlob::Blob#initialize

Defined in:
lib/azure_blob/blob.rb

#initialize(response) ⇒ Blob

You should not instanciate this object directly, but obtain one when calling relevant methods of AzureBlob::Client.

Expects a Net::HTTPResponse object from a HEAD or GET request to a blob uri.



11
12
13
# File 'lib/azure_blob/blob.rb', line 11

def initialize(response)
  @response = response
end