lib/plausible_api/stats/realtime/visitors.rb in plausible_api-0.3 vs lib/plausible_api/stats/realtime/visitors.rb in plausible_api-0.4

- old
+ new

@@ -1,17 +1,17 @@ # frozen_string_literal: true -module PlausibleApi +module PlausibleApi module Stats module Realtime class Visitors < PlausibleApi::Stats::Base - def request_url_base + def request_path_base "/api/v1/stats/realtime/visitors?site_id=$SITE_ID" end def parse_response(body) body.to_i end end end end -end \ No newline at end of file +end