Access the configuration object instance externally
Perform a GET request to a specified URL Params:
url
The URL you want to hit
key
The authentication key to pass via headers to the URL
# File lib/client/helper/network.rb, line 11 def get(url, key) _request(url, :GET, key) end
Perform a POST request to a specified URL Params:
url
The URL you want to hit
key
The authentication key to pass via headers to the URL
# File lib/client/helper/network.rb, line 19 def post(url, key) _request(url, :POST, key) end