class DbchainClient::KeyStore
This key store is for test purpose. Developers are supposed to implement their own key store for production.
Public Class Methods
new()
click to toggle source
# File lib/dbchain_client/key_escrow.rb, line 85 def initialize @h = {} end
Public Instance Methods
load(key)
click to toggle source
# File lib/dbchain_client/key_escrow.rb, line 93 def load(key) @h[key] end
save(key, value)
click to toggle source
# File lib/dbchain_client/key_escrow.rb, line 89 def save(key, value) @h[key] = value end