lib/scalyr/common/client.rb
def send_ping(body)
    post_body, post_headers, compression_duration = prepare_post_object @add_events_uri.path, body
    response = client.send(:post, @add_events_uri, body: post_body, headers: post_headers)
    handle_response(response)

    response
  end
# Send "ping" request to the API. This is mostly used to test the connecting with Scalyr API
# and verify that the API key is valid.
Send "ping" request to the API. This is mostly used to test the connecting with Scalyr API
and verify that the API key is valid.
Send " ping " request to the API . This is mostly used to test the connecting with Scalyr API and verify that the API key is valid .
def send_ping(body)
    post_body, post_headers, compression_duration = prepare_post_object @add_events_uri.path, body
    response = client.send(:post, @add_events_uri, body: post_body, headers: post_headers)
    handle_response(response)
    response
  end
def send_ping ( body ) post_body , post_headers , compression_duration = prepare_post_object @add_events_uri . path , body response = client . send ( :post , @add_events_uri , body : post_body , headers : post_headers ) handle_response ( response ) response end
Send "ping" request to the API.
Send " ping " request to the API .
body