test/helper.rb in createsend-3.4.0 vs test/helper.rb in createsend-4.0.0
- old
+ new
@@ -28,10 +28,10 @@
def createsend_url(auth, url)
if not url =~ /^http/
auth_section = ''
auth_section = "#{auth[:api_key]}:x@" if auth and auth.has_key? :api_key
- result = "https://#{auth_section}api.createsend.com/api/v3/#{url}"
+ result = "https://#{auth_section}api.createsend.com/api/v3.1/#{url}"
else
result = url
end
result
end
\ No newline at end of file