类 Gem::GemcutterUtilities::WebauthnListener::SocketResponder

公共类方法

new(socket) 点击切换源代码
# File rubygems/gemcutter_utilities/webauthn_listener.rb, line 95
def initialize(socket)
  @socket = socket
end

公共实例方法

send(response) 点击切换源代码
# File rubygems/gemcutter_utilities/webauthn_listener.rb, line 99
def send(response)
  @socket.print response.to_s
  @socket.close
end