made execute_query a private method
This commit is contained in:
parent
447dc1f003
commit
94568018e3
1 changed files with 1 additions and 0 deletions
|
@ -78,6 +78,7 @@ module Pastebin
|
||||||
url: @scraping_api_url + ENDPOINTS[:scraping])
|
url: @scraping_api_url + ENDPOINTS[:scraping])
|
||||||
end
|
end
|
||||||
|
|
||||||
|
private
|
||||||
# this will be the main way to execute any of these methods. this has the exception handling taken care of.
|
# 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)
|
def execute_query(selector, *args)
|
||||||
begin
|
begin
|
||||||
|
|
Loading…
Add table
Reference in a new issue