Sha256: cf15bfff615351511818a6ac2fc52d4d303967ea2d9b8878acfc4ff5e8f99f19

Contents?: true

Size: 195 Bytes

Versions: 91

Compression:

Stored size: 195 Bytes

Contents

require "cuba/safe"

Cuba.plugin ::Cuba::Safe

Cuba.define do
  on get do
    on "hello" do
      res.write "Hello Instana!"
    end

    on root do
      res.redirect '/hello'
    end
  end
end

Version data entries

91 entries across 91 versions & 1 rubygems

Version Path
instana-1.4.6 test/apps/cuba.rb
instana-1.4.5 test/apps/cuba.rb
instana-1.4.4 test/apps/cuba.rb
instana-1.4.2 test/apps/cuba.rb
instana-1.4.1 test/apps/cuba.rb
instana-1.4.0 test/apps/cuba.rb
instana-1.3.3 test/apps/cuba.rb
instana-1.3.2 test/apps/cuba.rb
instana-1.3.1 test/apps/cuba.rb
instana-1.3.0 test/apps/cuba.rb
instana-1.2.0 test/apps/cuba.rb