lib/voucherify/client.rb in voucherify-1.4.0 vs lib/voucherify/client.rb in voucherify-1.5.0

- old
+ new

@@ -53,9 +53,13 @@ def segments Voucherify::Service::Segments.new(self) end + def events + Voucherify::Service::Events.new(self) + end + def get(path, params = {}) begin url = @backend_url + path response = RestClient.get(url, @headers.merge({:params => params})) JSON.parse(response.body) \ No newline at end of file