lib/bearcat/client/file_helper.rb in bearcat-1.4.12 vs lib/bearcat/client/file_helper.rb in bearcat-1.4.13

- old
+ new

@@ -3,10 +3,10 @@ module FileHelper def file_params(file_path) { size: File.open(file_path).size, name: File.basename(file_path) - } + }.with_indifferent_access end def declare_file(api_path, params) post(api_path, params) end