Class: Gem::GemcutterUtilities::WebauthnListener::SocketResponder
Relationships & Source Files | |
Inherits: | Object |
Defined in: | lib/rubygems/gemcutter_utilities/webauthn_listener.rb |
Class Method Summary
- .new(socket) ⇒ SocketResponder constructor
Instance Method Summary
Constructor Details
.new(socket) ⇒ SocketResponder
# File 'lib/rubygems/gemcutter_utilities/webauthn_listener.rb', line 95
def initialize(socket) @socket = socket end
Instance Method Details
#send(response)
[ GitHub ]# File 'lib/rubygems/gemcutter_utilities/webauthn_listener.rb', line 99
def send(response) @socket.print response.to_s @socket.close end