Class: Workers::InstallRepo
- Inherits:
-
Object
- Object
- Workers::InstallRepo
- Includes:
- Sidekiq::Worker
- Defined in:
- workers/install_repo.rb
Overview
A worker that installs a new ronin repo.
Instance Method Summary collapse
Instance Method Details
#perform(uri, name = nil) ⇒ Object
35 36 37 |
# File 'workers/install_repo.rb', line 35 def perform(uri,name=nil) Ronin::Repos.cache_dir.install(uri,name) end |