From 94568018e34eec81b14c7768aabe45390431539b Mon Sep 17 00:00:00 2001 From: booboy Date: Sun, 19 Aug 2018 20:22:48 -0500 Subject: [PATCH] made execute_query a private method --- lib/pastebinner.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/pastebinner.rb b/lib/pastebinner.rb index 63c966b..f02f233 100755 --- a/lib/pastebinner.rb +++ b/lib/pastebinner.rb @@ -78,6 +78,7 @@ module Pastebin url: @scraping_api_url + ENDPOINTS[:scraping]) end + private # this will be the main way to execute any of these methods. this has the exception handling taken care of. def execute_query(selector, *args) begin