Class: AWS::SNS::TopicCollection

Inherits:
Object
  • Object
show all
Defined in:
lib/pryaws/sns.rb

Instance Method Summary collapse

Instance Method Details

#named(name) ⇒ Object



10
11
12
13
14
15
# File 'lib/pryaws/sns.rb', line 10

def named(name)
  each do |topic|
    return topic if topic.name == name
  end
  nil
end