Sha256: 94fe9812e77e1d0247c17e7c51a207ed90223118e8df870f0599a6f289120a5a

Contents?: true

Size: 403 Bytes

Versions: 1

Compression:

Stored size: 403 Bytes

Contents

BeanstalkApi::Engine.routes.draw do

  get '/' => 'tasks#overall_statistics'

  resources :jobs, only: [ :show, :destroy ]

  resources :tubes, only: [ :index, :show ] do
    member do
      get 'ready'
      get 'delayed'
      get 'buried'
      delete 'one_job'
      delete 'all_jobs'
      delete 'move/:to_tube' => :move 
      delete 'worker'
      get 'kick(/:bound)' => :kick
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pvdgm_beanstalk_api-0.1.0 config/routes.rb