summaryrefslogtreecommitdiff
path: root/lib/rubygems/webauthn_listener/response/response_no_content.rb
blob: 39aad7fe9681785f1270eeb443efb4fc8d5678fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true
require_relative "../response"

class Gem::WebauthnListener::ResponseNoContent < Gem::WebauthnListener::Response
  private

  def status
    "204 No Content"
  end

  def add_access_control_headers?
    true
  end
end