Sha256: 99d7f6d832e1117b1374e93c1fa1ccb301efa3c04deb8e35e0eab1198d8f36f0

Contents?: true

Size: 222 Bytes

Versions: 1

Compression:

Stored size: 222 Bytes

Contents

module BeanstalkApi

  class TasksController < BeanstalkApi::ApplicationController

    before_filter :beanstalk_running

    respond_to :json

    def overall_statistics
      render json: pool.stats
    end

  end


end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pvdgm_beanstalk_api-0.1.0 app/controllers/beanstalk_api/tasks_controller.rb