class Seahorse::Client::Plugins::ResponseTarget::Handler

def call(context)

def call(context)
  if context.params.is_a?(Hash) && context.params[:response_target]
    target = context.params.delete(:response_target)
  else
    target = context[:response_target]
  end
  add_event_listeners(context, target) if target
  @handler.call(context)
end