module EventStore::HTTP::Connect::Controls::NetHTTP
Public Class Methods
example()
click to toggle source
# File lib/event_store/http/connect/controls/net_http.rb, line 6 def self.example net_http = Net::HTTP.new host, port net_http.start net_http end
host()
click to toggle source
# File lib/event_store/http/connect/controls/net_http.rb, line 12 def self.host IPAddress.example end
port()
click to toggle source
# File lib/event_store/http/connect/controls/net_http.rb, line 16 def self.port Port.example end