lib/quick_api.rb templating