blob: ae071fc242dbac8b732a215033ae58abc17fea63 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# frozen_string_literal: true
require_relative "../response"
class Gem::WebauthnListener::ResponseMethodNotAllowed < Gem::WebauthnListener::Response
private
def status
"405 Method Not Allowed"
end
def content
<<~RESPONSE
Allow: GET, OPTIONS
RESPONSE
end
end
|