Class: Liebre::Actor::Publisher::Resources
- Inherits:
-
Object
- Object
- Liebre::Actor::Publisher::Resources
- Defined in:
- lib/liebre/actor/publisher/resources.rb
Instance Method Summary collapse
- #exchange ⇒ Object
-
#initialize(context) ⇒ Resources
constructor
A new instance of Resources.
Constructor Details
#initialize(context) ⇒ Resources
Returns a new instance of Resources.
6 7 8 |
# File 'lib/liebre/actor/publisher/resources.rb', line 6 def initialize context @context = context end |
Instance Method Details
#exchange ⇒ Object
10 11 12 |
# File 'lib/liebre/actor/publisher/resources.rb', line 10 def exchange @exchange ||= declare.exchange(exchange_config) end |