From 24c194befac82032747d2fe5419052c367ca4745 Mon Sep 17 00:00:00 2001 From: Jarek Lipski Date: Thu, 7 Nov 2024 12:16:38 +0100 Subject: [PATCH] comment --- lib/nylas/utils/file_utils.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/nylas/utils/file_utils.rb b/lib/nylas/utils/file_utils.rb index 9e85e786..08bdf952 100644 --- a/lib/nylas/utils/file_utils.rb +++ b/lib/nylas/utils/file_utils.rb @@ -91,6 +91,7 @@ def self.handle_message_payload(request_body) # Build the request to attach a file to a message/draft object. # @param file_path [String] The path to the file to attach. + # @param filename [String] The name of the attached file. Optional, derived from file_path by default. # @return [Hash] The request that will attach the file to the message/draft def self.attach_file_request_builder(file_path, filename = nil) filename ||= File.basename(file_path)