lib/mailersend/tokens/tokens.rb in mailersend-ruby-0.1.1 vs lib/mailersend/tokens/tokens.rb in mailersend-ruby-0.1.2
- old
+ new
@@ -32,11 +32,11 @@
}
response = client.http.put("#{API_URL}/token/#{token_id}/settings", json: status)
puts response
end
- def delete(name:)
- response = client.http.delete("#{API_URL}/token/#{name}")
+ def delete(token_id:)
+ response = client.http.delete("#{API_URL}/token/#{token_id}")
puts response
end
end
end