Class: Circuitry::Topic::Finder
- Inherits:
-
Object
- Object
- Circuitry::Topic::Finder
- Includes:
- Services::SNS
- Defined in:
- lib/circuitry/topic.rb
Instance Method Summary collapse
- #find ⇒ Object
-
#initialize(name) ⇒ Finder
constructor
A new instance of Finder.
Methods included from Services::SNS
Constructor Details
#initialize(name) ⇒ Finder
Returns a new instance of Finder.
8 9 10 |
# File 'lib/circuitry/topic.rb', line 8 def initialize(name) self.name = name end |
Instance Method Details
#find ⇒ Object
12 13 14 |
# File 'lib/circuitry/topic.rb', line 12 def find sns.create_topic(name: name) end |