Sha256: c017f33582314a1f6ff00c3bdcf3c4fb34600bcce599261fa0d0b201d46ffd7c
Contents?: true
Size: 238 Bytes
Versions: 7
Compression:
Stored size: 238 Bytes
Contents
require 'sinatra' require 'sinatra/toadhopper' set :toadhopper, :api_key => "apikey", :filters => /password/ post "/register" do session[:user_id] = 42 raise "Kaboom!" end error do post_error_to_hoptoad! "Ouch, that hurt." end
Version data entries
7 entries across 7 versions & 1 rubygems