lib/createsend/client.rb in createsend-3.4.0 vs lib/createsend/client.rb in createsend-4.0.0

- old
+ new

@@ -95,17 +95,17 @@ # Adds email addresses to a client's suppression list def suppress(emails) options = { :body => { :EmailAddresses => emails.kind_of?(String) ? [ emails ] : emails }.to_json } - response = post "suppress", options + post "suppress", options end # Unsuppresses an email address by removing it from the the client's # suppression list def unsuppress(email) options = { :query => { :email => email }, :body => '' } - response = put "unsuppress", options + put "unsuppress", options end # Gets the templates belonging to this client. def templates response = get 'templates' \ No newline at end of file