lib/klaviyo/client.rb in parallel588-klaviyo-0.12.0 vs lib/klaviyo/client.rb in parallel588-klaviyo-0.13.0

- old
+ new

@@ -33,10 +33,10 @@ api_key: api_key, token: token ) { - data: CGI.escape(Base64.encode64(JSON.generate(options)).delete("\n")) + data: CGI.escape(Base64.strict_encode64(JSON.generate(options))) } end def invoke(resource, method, options = {}) constantize("klaviyo/#{resource}").send(