Sha256: a2517c0b2b2a580e2b8051fc57ac272c7b22a9c4f04f69c26d146928221d5ab4
Contents?: true
Size: 341 Bytes
Versions: 6
Compression:
Stored size: 341 Bytes
Contents
require 'rubygems' require 'sinatra' require File.dirname(__FILE__) + '/../lib/metry' configure do Metry.init("tracking") use Metry::Rack::Tracking use Metry::Psycho, {:path => "/admin/metry"} end get '/' do "Root" end get '/subpage' do "Sub page" end get '/extra' do request.env["metry.event"]["extra"] = params[:track] end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
metry-2.0.4 | example/example.rb |
metry-2.0.5 | example/example.rb |
metry-2.0.0 | example/example.rb |
metry-2.0.1 | example/example.rb |
metry-2.0.2 | example/example.rb |
metry-2.0.3 | example/example.rb |