lib/promoted/ruby/client.rb
def send_log_request log_request_params, headers={}
          begin
            send_request(log_request_params, @metrics_endpoint, @metrics_timeout_millis, @metrics_api_key, headers)
          rescue  StandardError => err
            # Currently we don't propagate errors to the SDK caller.
            @logger.error("Error from metrics: " + err.message) if @logger
          end
        end
##
# Sends a log request (previously created by a call to prepare_for_logging) to the metrics endpoint.
Sends a log request (previously created by a call to prepare_for_logging) to the metrics endpoint.
Sends a log request ( previously created by a call to prepare_for_logging ) to the metrics endpoint .
def send_log_request log_request_params, headers={}
          begin
            send_request(log_request_params, @metrics_endpoint, @metrics_timeout_millis, @metrics_api_key, headers)
          rescue  StandardError => err
            @logger.error("Error from metrics: " + err.message) if @logger
          end
        end
def send_log_request log_request_params , headers = { } begin send_request ( log_request_params , @metrics_endpoint , @metrics_timeout_millis , @metrics_api_key , headers ) rescue StandardError => err @logger . error ( "Error from metrics: " + err . message ) if @logger end end
Sends a log request (previously created by a call to prepare_for_logging) to the metrics endpoint.
Sends a log request ( previously created by a call to prepare_for_logging ) to the metrics endpoint .
# Currently we don't propagate errors to the SDK caller.
log_request_params
headers