3 4 5 6 7 8
# File 'lib/cuenote/api/connection.rb', line 3 def send(req) response = Net::HTTP.start uri.hostname, uri.port, use_ssl: (uri.scheme == 'https') do |http| http.request req end Response.new response end