class Gem::GemcutterUtilities::WebauthnListener::MethodNotAllowedResponse
私有实例方法
add_access_control_headers() 点击切换源代码
# File rubygems/gemcutter_utilities/webauthn_listener/response.rb, line 157 def add_access_control_headers super @http_response["allow"] = %w[GET OPTIONS] end
code() 点击切换源代码
# File rubygems/gemcutter_utilities/webauthn_listener/response.rb, line 149 def code 405 end
reason_phrase() 点击切换源代码
# File rubygems/gemcutter_utilities/webauthn_listener/response.rb, line 153 def reason_phrase "Method Not Allowed" end