lib/alephant/broker/component_factory.rb in alephant-broker-2.1.0 vs lib/alephant/broker/component_factory.rb in alephant-broker-2.1.1
- old
+ new
@@ -10,11 +10,11 @@
def initialize(load_strategy)
@load_strategy = load_strategy
end
- def create(id, batch_id, raw_options)
- component_meta = ComponentMeta.new(id, batch_id, raw_options)
+ def create(id, batch_id, options)
+ component_meta = ComponentMeta.new(id, batch_id, options)
Component.new(
component_meta,
@load_strategy.load(component_meta)
)
rescue Alephant::Broker::Errors::ContentNotFound => e