Class: Downstream::Config
- Inherits:
-
Object
- Object
- Downstream::Config
- Defined in:
- lib/downstream/config.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#namespace ⇒ Object
9 10 11 |
# File 'lib/downstream/config.rb', line 9 def namespace @namespace ||= "downstream-events" end |
Instance Method Details
#pubsub ⇒ Object
13 14 15 |
# File 'lib/downstream/config.rb', line 13 def pubsub @pubsub ||= lookup_pubsub(:stateless) end |
#pubsub=(value) ⇒ Object
17 18 19 20 21 22 23 24 |
# File 'lib/downstream/config.rb', line 17 def pubsub=(value) @pubsub = case value when String, Symbol lookup_pubsub(value) else value end end |