Class: Pgai::Encryption::Store

Inherits:
PStore
  • Object
show all
Defined in:
lib/pgai/encryption/store.rb

Instance Method Summary collapse

Constructor Details

#initialize(file_path, key:, thread_safe: false) ⇒ Store

Returns a new instance of Store.



6
7
8
9
# File 'lib/pgai/encryption/store.rb', line 6

def initialize(file_path, key:, thread_safe: false)
  @lockbox = Lockbox.new(key: key, encode: true)
  super(file_path, thread_safe)
end