def resume(id)
      pipeline = Base.find(id)
      pipeline.resume
      Delayed::Job.enqueue(pipeline)
    rescue ActiveRecord::RecordNotFound
      raise InvalidPipelineError.new("Invalid pipeline")
    end
def resume(id)
      pipeline = Base.find(id)
      pipeline.resume
      Delayed::Job.enqueue(pipeline)
    rescue ActiveRecord::RecordNotFound
      raise InvalidPipelineError.new("Invalid pipeline")
    end
Enqueues execution of a paused pipeline for retrying. Raises InvalidPipelineError
 if a pipeline can not be found with the provided <tt>id</tt>. Raises
 InvalidStatusError if pipeline is in an invalid state for resuming (e.g. already
 cancelled, or completed)