# File lib/thin_http.rb, line 136 def get path, params = nil url_path = case params when Hash ; path + '?' + url_encode(params) when String ; path + '?' + params when NilClass; path else raise 'cannot process params' end send_request Net::HTTP::Get.new(url_path) end