Class: Gem::GemcutterUtilities::WebauthnListener::MethodNotAllowedResponse
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Response
|
|
Instance Chain:
self,
Response
|
|
Inherits: |
Gem::GemcutterUtilities::WebauthnListener::Response
|
Defined in: | lib/rubygems/gemcutter_utilities/webauthn_listener/response.rb |
Class Method Summary
Instance Attribute Summary
Response
- Inherited
Instance Method Summary
- #add_access_control_headers private
- #code private
- #reason_phrase private
Response
- Inherited
#to_s, #add_access_control_headers, #add_body, #add_connection_header, #body, #build_http_response, | |
#code | Must be implemented in subclasses. |
#reason_phrase |
Constructor Details
This class inherits a constructor from Gem::GemcutterUtilities::WebauthnListener::Response
Instance Method Details
#add_access_control_headers (private)
[ GitHub ]# File 'lib/rubygems/gemcutter_utilities/webauthn_listener/response.rb', line 157
def add_access_control_headers super @http_response["allow"] = %w[GET OPTIONS] end
#code (private)
[ GitHub ]# File 'lib/rubygems/gemcutter_utilities/webauthn_listener/response.rb', line 149
def code 405 end
#reason_phrase (private)
[ GitHub ]# File 'lib/rubygems/gemcutter_utilities/webauthn_listener/response.rb', line 153
def reason_phrase "Method Not Allowed" end