class Gem::WebauthnListener::MethodNotAllowedResponse

Private Instance Methods

add_access_control_headers() click to toggle source
# File lib/rubygems/webauthn_listener/response.rb, line 156
def add_access_control_headers
  super
  @http_response["allow"] = %w[GET OPTIONS]
end
code() click to toggle source
# File lib/rubygems/webauthn_listener/response.rb, line 148
def code
  405
end
reason_phrase() click to toggle source
# File lib/rubygems/webauthn_listener/response.rb, line 152
def reason_phrase
  "Method Not Allowed"
end