From 6b37bb9f3448a3e85b047ad4ff6dea93574ac44d Mon Sep 17 00:00:00 2001 From: Jon M Date: Tue, 14 Jun 2022 09:40:14 +0100 Subject: [PATCH] Annotate string interpolation --- lib/mailosaur.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mailosaur.rb b/lib/mailosaur.rb index 025eaef..4cc0074 100644 --- a/lib/mailosaur.rb +++ b/lib/mailosaur.rb @@ -118,7 +118,7 @@ def handle_http_error(response) begin json = JSON.parse(response.body) json['errors'].each do |err| - message += format('(%s) %s\r\n', err['field'], err['detail'][0]['description']) + message += format('(%s) %s\r\n', err['field'], err['detail'][0]['description']) end rescue StandardError message = 'Request had one or more invalid parameters.'