Class: Azure::Storage::Blob::Blob
- Inherits:
-
Object
- Object
- Azure::Storage::Blob::Blob
- Defined in:
- blob/lib/azure/storage/blob/blob.rb
Instance Attribute Summary collapse
-
#encrypted ⇒ Object
Returns the value of attribute encrypted.
-
#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.
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
#encrypted ⇒ Object
Returns the value of attribute encrypted.
42 43 44 |
# File 'blob/lib/azure/storage/blob/blob.rb', line 42 def encrypted @encrypted end |
#metadata ⇒ Object
Returns the value of attribute metadata.
41 42 43 |
# File 'blob/lib/azure/storage/blob/blob.rb', line 41 def @metadata end |
#name ⇒ Object
Returns the value of attribute name.
38 39 40 |
# File 'blob/lib/azure/storage/blob/blob.rb', line 38 def name @name end |
#properties ⇒ Object
Returns the value of attribute properties.
40 41 42 |
# File 'blob/lib/azure/storage/blob/blob.rb', line 40 def properties @properties end |
#snapshot ⇒ Object
Returns the value of attribute snapshot.
39 40 41 |
# File 'blob/lib/azure/storage/blob/blob.rb', line 39 def snapshot @snapshot end |