Class: EventStoreClient::EncryptionMetadata
- Inherits:
-
Object
- Object
- EventStoreClient::EncryptionMetadata
- Defined in:
- lib/event_store_client/encryption_metadata.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/event_store_client/encryption_metadata.rb', line 5 def call return {} unless schema { key: schema[:key].call(data), attributes: schema[:attributes].map(&:to_sym) } end |