module Praxis

A RESTful action allows you to define the following:

Plugins may be used to extend this Config DSL.

Alias it to a much shorter and sweeter name in the Types namespace.

stolen from Rack::Multipart::Parser

Plugin for applications which use the 'praxis-mapper' gem.

This plugin provides the following features:

1. Sets up the PraxisMapper::IdentityMap for your application and assigns
   it to the controller's request.identity_map for access from your
   application.
2. Connects to your database and dumps a log of database interaction stats
   (if enabled via the :log_stats option).

This plugin accepts one of the following options:

1. config_file: A String indicating the path where this plugin's config
   file exists.
2. config_data: A Hash of data that is merged into the YAML hash loaded
   from config_file.

The config_data Hash contains the following keys:

1. repositories: A Hash containing the configs for the database repositories
   queried through praxis-mapper. This parameter is a Hash where a key is
   the identifier for a repository and the value is the options one
   would give to the 'sequel' gem. For example:
        repositories: {
          default: {
            host: 127.0.0.1,
            username: root,
            password: nil,
            database: myapp_dev,
            adapter: mysql2
          }
        }
2. log_stats: A String indicating what kind of DB stats you would like
   output into the Praxis::Application.instance.logger app log. Possible
   values are: "detailed", "short", and "skip" (i.e. do not print the stats
   at all).
3. stats_log_level: the logging level with which the statistics should be logged.

See praxis-framework.io/reference/plugins/ for further details on how to use a plugin and pass it options.

Constants

CONTEXT_FOR
SimpleMediaType

Stripped-down representation of an Internet Media Type where the structure and content of the type are unknown, or are defined externally to the Praxis application.

@see Praxis::MediaType @see Praxis::Types::MediaTypeCommon

VERSION