module ResqueWeb::Plugins::ResqueScheduler

Public Class Methods

engine_path() click to toggle source

provides the path where the engine will live. This is appended after the main resque-web path.

@return [String]

# File lib/resque_web/plugins/resque_scheduler/engine.rb, line 35
def self.engine_path
  '/scheduler'
end
tabs() click to toggle source

Tells Resque web what extra tabs to ass to the main navigation at the top of the resque-web interface.

@return [Array]

# File lib/resque_web/plugins/resque_scheduler/engine.rb, line 43
def self.tabs
  [
    {
      'schedule' => Engine.app.url_helpers.schedules_path,
      'delayed' => Engine.app.url_helpers.delayed_path
    }
  ]
end