A Sinatra Module to validate incoming parameters