Class: Azure::Blob::Blob
- Inherits:
-
Object
- Object
- Azure::Blob::Blob
- Defined in:
- lib/azure/blob/blob.rb
Instance Attribute Summary collapse
-
#metadata ⇒ Object
Returns the value of attribute metadata.
-
#name ⇒ Object
Returns the value of attribute name.
-
#properties ⇒ Object
Returns the value of attribute properties.
-
#snapshot ⇒ Object
Returns the value of attribute snapshot.
Instance Method Summary collapse
-
#initialize {|_self| ... } ⇒ Blob
constructor
A new instance of Blob.
Constructor Details
#initialize {|_self| ... } ⇒ Blob
Returns a new instance of Blob.
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
#metadata ⇒ Object
Returns the value of attribute metadata.
29 30 31 |
# File 'lib/azure/blob/blob.rb', line 29 def @metadata end |
#name ⇒ Object
Returns the value of attribute name.
26 27 28 |
# File 'lib/azure/blob/blob.rb', line 26 def name @name end |
#properties ⇒ Object
Returns the value of attribute properties.
28 29 30 |
# File 'lib/azure/blob/blob.rb', line 28 def properties @properties end |
#snapshot ⇒ Object
Returns the value of attribute snapshot.
27 28 29 |
# File 'lib/azure/blob/blob.rb', line 27 def snapshot @snapshot end |