Class: Azure::Table::Entity
- Inherits:
-
Object
- Object
- Azure::Table::Entity
- Defined in:
- lib/azure/table/entity.rb
Instance Attribute Summary collapse
-
#etag ⇒ Object
Returns the value of attribute etag.
-
#properties ⇒ Object
Returns the value of attribute properties.
-
#table ⇒ Object
Returns the value of attribute table.
-
#updated ⇒ Object
Returns the value of attribute updated.
Instance Method Summary collapse
-
#initialize {|_self| ... } ⇒ Entity
constructor
A new instance of Entity.
Constructor Details
#initialize {|_self| ... } ⇒ Entity
Returns a new instance of Entity.
20 21 22 23 |
# File 'lib/azure/table/entity.rb', line 20 def initialize @properties = {} yield self if block_given? end |
Instance Attribute Details
#etag ⇒ Object
Returns the value of attribute etag.
27 28 29 |
# File 'lib/azure/table/entity.rb', line 27 def etag @etag end |
#properties ⇒ Object
Returns the value of attribute properties.
28 29 30 |
# File 'lib/azure/table/entity.rb', line 28 def properties @properties end |
#table ⇒ Object
Returns the value of attribute table.
25 26 27 |
# File 'lib/azure/table/entity.rb', line 25 def table @table end |
#updated ⇒ Object
Returns the value of attribute updated.
26 27 28 |
# File 'lib/azure/table/entity.rb', line 26 def updated @updated end |