lib/cloudflare_client/zone/log.rb
##
# get all logs after a given ray_id.  end_time must be a valid unix timestamp
get all logs after a given ray_id.  end_time must be a valid unix timestamp
get all logs after a given ray_id . end_time must be a valid unix timestamp
def list_since(ray_id:, end_time: nil, count: nil)
    params = {start_id: ray_id}
    unless end_time.nil?
      timestamp_check(:end_time, end_time)
      params[:end] = end_time
    end
    params[:count] = count unless count.nil?
    params[:count] = 500
    cf_get(
      path: "/zones/#{zone_id}/logs/received",
      params: params,
      extra_headers: {'Accept-encoding': 'gzip'}
    )
  end
def list_since ( ray_id : , end_time : nil , count : nil ) params = { start_id : ray_id } unless end_time . nil? timestamp_check ( :end_time , end_time ) params [ :end ] = end_time end params [ :count ] = count unless count . nil? params [ :count ] = 500 cf_get ( path : "/zones/#{zone_id}/logs/received" , params : params , extra_headers : { 'Accept-encoding' : 'gzip' } ) end
get all logs after a given ray_id.
get all logs after a given ray_id .
ray_id
<not_specific>
end_time
<not_specific>
count
<not_specific>