Sha256: 710d4174a4eca82685c1aec965865e8aaf346f22c94133e1c0c8536bb3058cfc

Contents?: true

Size: 300 Bytes

Versions: 7

Compression:

Stored size: 300 Bytes

Contents

class Boned::API::Debug < Boned::API
  set :public => 'public/debug/'
  set :views => 'views/debug/'
  
  not_found do
    'not found'
  end
  
  get '/env/?' do
    content_type 'text/plain'
    env.to_yaml
  end
  
  get '/slideshow' do
    content_type 'text/html'
    erb :slideshow
  end
end


Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
boned-0.2.6 lib/boned/api/debug.rb
boned-0.2.5 lib/boned/api/debug.rb
boned-0.2.4 lib/boned/api/debug.rb
boned-0.2.3 lib/boned/api/debug.rb
boned-0.2.2 lib/boned/api/debug.rb
boned-0.2.1 lib/boned/api/debug.rb
boned-0.2.0 lib/boned/api/debug.rb