lib/simnos/client_wrapper.rb in simnos-0.1.0.beta3 vs lib/simnos/client_wrapper.rb in simnos-0.1.0.beta4
- old
+ new
@@ -24,10 +24,10 @@
def topics
results = {}
next_token = nil
begin
- resp = @client.list_topics(marker: next_token)
+ resp = @client.list_topics(next_token: next_token)
resp.topics.each do |t|
name = t.topic_arn.split(':').last
next unless target?(name)
results[name] = {
topic: t,