lib/punchblock/event/complete.rb in punchblock-0.11.0 vs lib/punchblock/event/complete.rb in punchblock-0.12.0

- old
+ new

@@ -11,11 +11,11 @@ def reason element = find_first('*') if element RayoNode.import(element).tap do |reason| - reason.call_id = call_id + reason.target_call_id = target_call_id reason.component_id = component_id end end end @@ -26,10 +26,10 @@ def recording element = find_first('//ns:recording', :ns => RAYO_NAMESPACES[:record_complete]) if element RayoNode.import(element).tap do |recording| - recording.call_id = call_id + recording.target_call_id = target_call_id recording.component_id = component_id end end end