Module: Ingenico::Direct::SDK::Webhooks::SecretKeyStore

Included in:
InMemorySecretKeyStore
Defined in:
lib/ingenico/direct/sdk/webhooks/secret_key_store.rb

Overview

An abstract store of secret keys. Implementation can store secret keys in a database, on disk, etc. Should be Thread-safe.

Instance Method Summary collapse

Instance Method Details

#get_secret_key(key_id) ⇒ Object

Retrieve secret key for given key id

Parameters:

  • key_id (String)

    key id of the secret key

Raises:



11
12
13
# File 'lib/ingenico/direct/sdk/webhooks/secret_key_store.rb', line 11

def get_secret_key(key_id)
  raise NotImplementedError
end