Sha256: 86ca8ec8faa4ee1d3bd30597aaf2b80bfd998aaea5f32ef94ff6360b8ebdbab3

Contents?: true

Size: 210 Bytes

Versions: 5

Compression:

Stored size: 210 Bytes

Contents

module SimplePvr
  module Server
    class StatusController < BaseController
      get '/' do
        {
          status_text: PvrInitializer.scheduler.status_text
        }.to_json
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
simple_pvr-1.0.0 lib/simple_pvr/server/status_controller.rb
simple_pvr-0.0.4 lib/simple_pvr/server/status_controller.rb
simple_pvr-0.0.3 lib/simple_pvr/server/status_controller.rb
simple_pvr-0.0.2 lib/simple_pvr/server/status_controller.rb
simple_pvr-0.0.1 lib/simple_pvr/server/status_controller.rb