Class: Azure::Storage::File::Directory::Directory

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of Directory.

Yields:

  • (_self)

Yield Parameters:



34
35
36
37
38
# File 'file/lib/azure/storage/file/directory.rb', line 34

def initialize
  @properties = {}
  @metadata = {}
  yield self if block_given?
end

Instance Attribute Details

#metadataObject

Returns the value of attribute metadata.



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

def 
  @metadata
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#propertiesObject

Returns the value of attribute properties.



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

def properties
  @properties
end