class TencentCloud::Common::AbstractClient
def send_request(action, params, options = {})
def send_request(action, params, options = {}) request_data = BaseRequest.new(@profile.http_profile.scheme, endpoint, @profile.http_profile.req_method, REQUEST_PATH) build_req(action, params, request_data, options) logger.debug("Request: [\n#{request_data.to_s}]") if @profile.debug resp = @request.send_request(request_data) logger.debug("Response: [\n#{resp.to_s}]") if @profile.debug raise TencentCloudSDKException.new('ServerNetworkError', resp.data) if resp.code != '200' resp.data end