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