Class: KeeperSecretsManager::Dto::EncryptedPayload
- Inherits:
-
Object
- Object
- KeeperSecretsManager::Dto::EncryptedPayload
- Defined in:
- lib/keeper_secrets_manager/dto/payload.rb
Overview
Encrypted payload wrapper
Instance Attribute Summary collapse
-
#encrypted_payload ⇒ Object
Returns the value of attribute encrypted_payload.
-
#signature ⇒ Object
Returns the value of attribute signature.
Instance Method Summary collapse
-
#initialize(encrypted_payload:, signature:) ⇒ EncryptedPayload
constructor
A new instance of EncryptedPayload.
Constructor Details
#initialize(encrypted_payload:, signature:) ⇒ EncryptedPayload
Returns a new instance of EncryptedPayload.
131 132 133 134 |
# File 'lib/keeper_secrets_manager/dto/payload.rb', line 131 def initialize(encrypted_payload:, signature:) @encrypted_payload = encrypted_payload @signature = signature end |
Instance Attribute Details
#encrypted_payload ⇒ Object
Returns the value of attribute encrypted_payload.
129 130 131 |
# File 'lib/keeper_secrets_manager/dto/payload.rb', line 129 def encrypted_payload @encrypted_payload end |
#signature ⇒ Object
Returns the value of attribute signature.
129 130 131 |
# File 'lib/keeper_secrets_manager/dto/payload.rb', line 129 def signature @signature end |