Class: AzureClient::TableEntity

Inherits:
Object
  • Object
show all
Defined in:
lib/azure_client/table_entity.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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, timestamp = nil, content_hash)
  @partition_key = partition_key
  @row_key = row_key
  @timestamp = timestamp
  @content_hash = content_hash
end

Instance Attribute Details

#content_hashObject

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_keyObject

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_keyObject

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