lib/kms_encrypted/clients/google.rb in kms_encrypted-1.2.3 vs lib/kms_encrypted/clients/google.rb in kms_encrypted-1.2.4

- old
+ new

@@ -25,10 +25,10 @@ } options[:additional_authenticated_data] = generate_context(context) if context # ensure namespace gets loaded client = KmsEncrypted.google_client - request = ::Google::Apis::CloudkmsV1::DecryptRequest.new(options) + request = ::Google::Apis::CloudkmsV1::DecryptRequest.new(**options) begin client.decrypt_crypto_key(key_id, request).plaintext rescue ::Google::Apis::ClientError => e decryption_failed! if e.message.include?("Decryption failed") raise e