Class: Pgai::Encryption::Store
- Inherits:
-
PStore
- Object
- PStore
- Pgai::Encryption::Store
- Defined in:
- lib/pgai/encryption/store.rb
Instance Method Summary collapse
-
#initialize(file_path, key:, thread_safe: false) ⇒ Store
constructor
A new instance of Store.
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 |