Class: Azure::Storage::File::File
- Inherits:
-
Object
- Object
- Azure::Storage::File::File
- Defined in:
- lib/azure/storage/file/file.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.
Instance Method Summary collapse
-
#initialize {|_self| ... } ⇒ File
constructor
A new instance of File.
Constructor Details
#initialize {|_self| ... } ⇒ File
Returns a new instance of File.
32 33 34 35 36 |
# File 'lib/azure/storage/file/file.rb', line 32 def initialize @properties = {} @metadata = {} yield self if block_given? end |
Instance Attribute Details
#metadata ⇒ Object
Returns the value of attribute metadata.
40 41 42 |
# File 'lib/azure/storage/file/file.rb', line 40 def @metadata end |
#name ⇒ Object
Returns the value of attribute name.
38 39 40 |
# File 'lib/azure/storage/file/file.rb', line 38 def name @name end |
#properties ⇒ Object
Returns the value of attribute properties.
39 40 41 |
# File 'lib/azure/storage/file/file.rb', line 39 def properties @properties end |