Class: AzureClient::TableEntity
- Inherits:
-
Object
- Object
- AzureClient::TableEntity
- Defined in:
- lib/azure_client/table_entity.rb
Instance Attribute Summary collapse
-
#content_hash ⇒ Object
Returns the value of attribute content_hash.
-
#partition_key ⇒ Object
Returns the value of attribute partition_key.
-
#row_key ⇒ Object
Returns the value of attribute row_key.
Instance Method Summary collapse
-
#initialize(partition_key, row_key, timestamp = nil, content_hash) ⇒ TableEntity
constructor
A new instance of TableEntity.
Constructor Details
#initialize(partition_key, row_key, timestamp = nil, content_hash) ⇒ TableEntity
Returns a new instance of TableEntity.
5 6 7 8 9 10 |
# File 'lib/azure_client/table_entity.rb', line 5 def initialize(partition_key, row_key, = nil, content_hash) @partition_key = partition_key @row_key = row_key @timestamp = @content_hash = content_hash end |
Instance Attribute Details
#content_hash ⇒ Object
Returns the value of attribute content_hash.
3 4 5 |
# File 'lib/azure_client/table_entity.rb', line 3 def content_hash @content_hash end |
#partition_key ⇒ Object
Returns the value of attribute partition_key.
3 4 5 |
# File 'lib/azure_client/table_entity.rb', line 3 def partition_key @partition_key end |
#row_key ⇒ Object
Returns the value of attribute row_key.
3 4 5 |
# File 'lib/azure_client/table_entity.rb', line 3 def row_key @row_key end |