lib/jets/mega/request.rb in jets-1.4.5 vs lib/jets/mega/request.rb in jets-1.4.6

- old
+ new

@@ -26,10 +26,10 @@ # Falls back to GET when testing in lambda console http_class = params['_method'] || http_method || 'GET' http_class.capitalize! request_class = "Net::HTTP::#{http_class}".constantize # IE: Net::HTTP::Get - request = request_class.new(uri.path) + request = request_class.new(uri) # Set form data if %w[Post Patch Put].include?(http_class) params = HashConverter.encode(params) request.set_form_data(params)