Class: KeeperSecretsManager::Dto::EncryptedPayload

Inherits:
Object
  • Object
show all
Defined in:
lib/keeper_secrets_manager/dto/payload.rb

Overview

Encrypted payload wrapper

Instance Attribute Summary collapse

Instance Method Summary collapse

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_payloadObject

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

#signatureObject

Returns the value of attribute signature.



129
130
131
# File 'lib/keeper_secrets_manager/dto/payload.rb', line 129

def signature
  @signature
end