Class: Azure::Blob::Blob

Inherits:
Object
  • Object
show all
Defined in:
lib/azure/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:



20
21
22
23
24
# File 'lib/azure/blob/blob.rb', line 20

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

Instance Attribute Details

#metadataObject

Returns the value of attribute metadata.



29
30
31
# File 'lib/azure/blob/blob.rb', line 29

def 
  @metadata
end

#nameObject

Returns the value of attribute name.



26
27
28
# File 'lib/azure/blob/blob.rb', line 26

def name
  @name
end

#propertiesObject

Returns the value of attribute properties.



28
29
30
# File 'lib/azure/blob/blob.rb', line 28

def properties
  @properties
end

#snapshotObject

Returns the value of attribute snapshot.



27
28
29
# File 'lib/azure/blob/blob.rb', line 27

def snapshot
  @snapshot
end