module EventStore::HTTP::NetHTTP::Extensions::IPAddress
Public Instance Methods
ip_address()
click to toggle source
# File lib/event_store/http/net_http/extensions.rb, line 26 def ip_address if @socket.instance_of? Net::BufferedIO socket = @socket.io remote_address = socket.remote_address remote_address.ip_address else nil end end