Class: Immudb::EntrySpec

Inherits:
Object
  • Object
show all
Defined in:
lib/immudb/entry_spec.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key:, md:, value:) ⇒ EntrySpec

Returns a new instance of EntrySpec.



17
18
19
20
21
# File 'lib/immudb/entry_spec.rb', line 17

def initialize(key:, md:, value:)
  @key = key
  @metadata = md
  @value = value
end

Instance Attribute Details

#keyObject (readonly)

Returns the value of attribute key.



15
16
17
# File 'lib/immudb/entry_spec.rb', line 15

def key
  @key
end

#metadataObject (readonly)

Returns the value of attribute metadata.



15
16
17
# File 'lib/immudb/entry_spec.rb', line 15

def 
  @metadata
end

#valueObject (readonly)

Returns the value of attribute value.



15
16
17
# File 'lib/immudb/entry_spec.rb', line 15

def value
  @value
end