Class: Azure::Storage::Table::Entity

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of Entity.

Yields:

  • (_self)

Yield Parameters:



30
31
32
33
# File 'table/lib/azure/storage/table/entity.rb', line 30

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

Instance Attribute Details

#etagObject

Returns the value of attribute etag.



35
36
37
# File 'table/lib/azure/storage/table/entity.rb', line 35

def etag
  @etag
end

#propertiesObject

Returns the value of attribute properties.



36
37
38
# File 'table/lib/azure/storage/table/entity.rb', line 36

def properties
  @properties
end