Skip to content

Class BSV::KVStore::Entry

Inherits: Data

An immutable KVStore entry returned from {Global#get}.

token is populated only when +include_token: true+ is passed to #get. history is populated only when +history: true+ is passed to #get.

Attributes

controller [R]

Returns the value of attribute controller - @return [Object] the current value of controller

history [R]

Returns the value of attribute history - @return [Object] the current value of history

key [R]

Returns the value of attribute key - @return [Object] the current value of key

protocol_id [R]

Returns the value of attribute protocol_id - @return [Object] the current value of protocol_id

tags [R]

Returns the value of attribute tags - @return [Object] the current value of tags

token [R]

Returns the value of attribute token - @return [Object] the current value of token

value [R]

Returns the value of attribute value - @return [Object] the current value of value

Public Instance Methods

initialize(key:, value:, controller:, protocol_id:, tags:, token: = nil, history: = nil)

  • @return [Entry] a new instance of Entry