def get(url, api_version = API_V1)
      request(method: :get, url: url, api_version: api_version).fetch :body
    end
def get(url, api_version = API_V1)
      request(method: :get, url: url, api_version: api_version).fetch :body
    end
Sends a GET request to the IG Markets API. If an error occurs then an {IGMarketsError} will be raised.

 @param [String] url The URL to send the GET request to.
 @param [Integer] api_version The API version to target.

 @return [Hash] The response from the IG Markets API.