Class: Azure::Storage::Blob::Blob

Inherits:
Object
  • Object
show all
Defined in:
blob/lib/azure/storage/blob/blob.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize {|_self| ... } ⇒ Blob

Returns a new instance of Blob.

Yields:

  • (_self)

Yield Parameters:



32
33
34
35
36
# File 'blob/lib/azure/storage/blob/blob.rb', line 32

def initialize
  @properties = {}
  @metadata = {}
  yield self if block_given?
end

Instance Attribute Details

#encryptedObject

Returns the value of attribute encrypted.



42
43
44
# File 'blob/lib/azure/storage/blob/blob.rb', line 42

def encrypted
  @encrypted
end

#metadataObject

Returns the value of attribute metadata.



41
42
43
# File 'blob/lib/azure/storage/blob/blob.rb', line 41

def 
  @metadata
end

#nameObject

Returns the value of attribute name.



38
39
40
# File 'blob/lib/azure/storage/blob/blob.rb', line 38

def name
  @name
end

#propertiesObject

Returns the value of attribute properties.



40
41
42
# File 'blob/lib/azure/storage/blob/blob.rb', line 40

def properties
  @properties
end

#snapshotObject

Returns the value of attribute snapshot.



39
40
41
# File 'blob/lib/azure/storage/blob/blob.rb', line 39

def snapshot
  @snapshot
end