Class: Azure::Table::Entity

Inherits:
Object
  • Object
show all
Defined in:
lib/azure/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:



20
21
22
23
# File 'lib/azure/table/entity.rb', line 20

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

Instance Attribute Details

#etagObject

Returns the value of attribute etag.



27
28
29
# File 'lib/azure/table/entity.rb', line 27

def etag
  @etag
end

#propertiesObject

Returns the value of attribute properties.



28
29
30
# File 'lib/azure/table/entity.rb', line 28

def properties
  @properties
end

#tableObject

Returns the value of attribute table.



25
26
27
# File 'lib/azure/table/entity.rb', line 25

def table
  @table
end

#updatedObject

Returns the value of attribute updated.



26
27
28
# File 'lib/azure/table/entity.rb', line 26

def updated
  @updated
end