Class: CycloneLariat::Publisher
- Inherits:
-
Object
- Object
- CycloneLariat::Publisher
- Includes:
- Generators::Command, Generators::Event
- Defined in:
- lib/cyclone_lariat/publisher.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
Instance Method Summary collapse
-
#initialize(**options) ⇒ Publisher
constructor
A new instance of Publisher.
- #sns ⇒ Object
- #sqs ⇒ Object
Methods included from Generators::Command
#command, #command_v1, #command_v2
Methods included from Generators::Event
Constructor Details
#initialize(**options) ⇒ Publisher
Returns a new instance of Publisher.
13 14 15 |
# File 'lib/cyclone_lariat/publisher.rb', line 13 def initialize(**) @config = CycloneLariat::Options.wrap().merge!(CycloneLariat.config) end |
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
11 12 13 |
# File 'lib/cyclone_lariat/publisher.rb', line 11 def config @config end |