lib/mailersend/activity/activity.rb in mailersend-ruby-0.1.1 vs lib/mailersend/activity/activity.rb in mailersend-ruby-0.1.2

- old
+ new

@@ -25,10 +25,10 @@ limit: limit, date_from: date_from, date_to: date_to } - response = client.http.get(URI::HTTPS.build(host: API_BASE_HOST, path: "/v1/analytics/#{domain_id}", + response = client.http.get(URI::HTTPS.build(host: API_BASE_HOST, path: "/v1/activity/#{domain_id}", query: URI.encode_www_form(hash.compact))) puts response end end end