From 6a6e6049027994a05583602cc9572894045f17c5 Mon Sep 17 00:00:00 2001 From: Sean Collins Date: Thu, 25 Jul 2024 23:10:59 -0600 Subject: [PATCH] Make Hanami::Action::Mime::TYPES public api People will use these values in their app, so it's already effectively in the public API, might as well include it in the API docs. --- lib/hanami/action/mime.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/hanami/action/mime.rb b/lib/hanami/action/mime.rb index abccc7af..b46b13bf 100644 --- a/lib/hanami/action/mime.rb +++ b/lib/hanami/action/mime.rb @@ -11,7 +11,7 @@ module Mime # rubocop:disable Metrics/ModuleLength # Most commom MIME Types used for responses # # @since 1.0.0 - # @api private + # @api public TYPES = { txt: "text/plain", html: "text/html",