Class: Immudb::EntrySpec
- Inherits:
-
Object
- Object
- Immudb::EntrySpec
- Defined in:
- lib/immudb/entry_spec.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#metadata ⇒ Object
readonly
Returns the value of attribute metadata.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(key:, md:, value:) ⇒ EntrySpec
constructor
A new instance of EntrySpec.
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
#key ⇒ Object (readonly)
Returns the value of attribute key.
15 16 17 |
# File 'lib/immudb/entry_spec.rb', line 15 def key @key end |
#metadata ⇒ Object (readonly)
Returns the value of attribute metadata.
15 16 17 |
# File 'lib/immudb/entry_spec.rb', line 15 def @metadata end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
15 16 17 |
# File 'lib/immudb/entry_spec.rb', line 15 def value @value end |