Class: Azure::Storage::File::Share::Share

Inherits:
Object
  • Object
show all
Defined in:
file/lib/azure/storage/file/share.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize {|_self| ... } ⇒ Share

Returns a new instance of Share.

Yields:

  • (_self)

Yield Parameters:



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

#metadataObject

Returns the value of attribute metadata.



41
42
43
# File 'file/lib/azure/storage/file/share.rb', line 41

def 
  @metadata
end

#nameObject

Returns the value of attribute name.



39
40
41
# File 'file/lib/azure/storage/file/share.rb', line 39

def name
  @name
end

#propertiesObject

Returns the value of attribute properties.



40
41
42
# File 'file/lib/azure/storage/file/share.rb', line 40

def properties
  @properties
end

#quotaObject

Returns the value of attribute quota.



42
43
44
# File 'file/lib/azure/storage/file/share.rb', line 42

def quota
  @quota
end

#usageObject

Returns the value of attribute usage.



43
44
45
# File 'file/lib/azure/storage/file/share.rb', line 43

def usage
  @usage
end