Module Sinatra
Provides modeling for the Sinatra library.
Import path
import codeql.ruby.frameworks.Sinatra
Classes
AfterFilter | A class for Sinatra |
App | A Sinatra application. |
BeforeFilter | A class for Sinatra |
ErbCall | A call which renders an ERB template as an HTTP response. |
ErbLocalsHashSyntheticGlobal | A synthetic global representing the hash of local variables passed to an ERB template. |
Filter | A class representing Sinatra filters AKA callbacks. |
FilterJumpStep | A class defining additional jump steps arising from filters. This only models flow between filters with no patterns - i.e. those that apply to all routes. Filters with patterns are not yet modeled. |
Route | A Sinatra route handler. HTTP requests with a matching method and path will be handled by the block. For example, the following route will handle |