module Grape

Versioners set env when a version is defined on an API and on the requests. The current methods for determining version are:

:header - version from HTTP Accept header.
:path   - version from uri. e.g. /v1/resource
:param  - version from uri query string, e.g. /v1/resource?apiver=v1

See individual classes for details.

Based on github.com/HornsAndHooves/lazy_object

only exists to make it shorter for external use

Constants

Json
VERSION

The current version of Grape.

Xml