Class: Liebre::Actor::Publisher::Resources

Inherits:
Object
  • Object
show all
Defined in:
lib/liebre/actor/publisher/resources.rb

Instance Method Summary collapse

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

#exchangeObject



10
11
12
# File 'lib/liebre/actor/publisher/resources.rb', line 10

def exchange
  @exchange ||= declare.exchange(exchange_config)
end