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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of File.

Yields:

  • (_self)

Yield Parameters:



32
33
34
35
36
# File 'file/lib/azure/storage/file/file.rb', line 32

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

Instance Attribute Details

#metadataObject

Returns the value of attribute metadata.



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

def 
  @metadata
end

#nameObject

Returns the value of attribute name.



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

def name
  @name
end

#propertiesObject

Returns the value of attribute properties.



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

def properties
  @properties
end