Sha256: a9f6c3a0a21308ed867bb0c869a9e9822057f18c19edb22cfa6cc8a31788a9f1

Contents?: true

Size: 865 Bytes

Versions: 2

Compression:

Stored size: 865 Bytes

Contents

module Grape
  module Env
    API_VERSION = 'api.version'.freeze
    API_ENDPOINT = 'api.endpoint'.freeze
    API_REQUEST_INPUT = 'api.request.input'.freeze
    API_REQUEST_BODY = 'api.request.body'.freeze
    API_TYPE = 'api.type'.freeze
    API_SUBTYPE = 'api.subtype'.freeze
    API_VENDOR = 'api.vendor'.freeze
    API_FORMAT = 'api.format'.freeze

    RACK_INPUT = 'rack.input'.freeze
    RACK_REQUEST_QUERY_HASH = 'rack.request.query_hash'.freeze
    RACK_REQUEST_FORM_HASH = 'rack.request.form_hash'.freeze
    RACK_REQUEST_FORM_INPUT = 'rack.request.form_input'.freeze

    GRAPE_REQUEST = 'grape.request'.freeze
    GRAPE_REQUEST_HEADERS = 'grape.request.headers'.freeze
    GRAPE_REQUEST_PARAMS = 'grape.request.params'.freeze
    GRAPE_ROUTING_ARGS = 'grape.routing_args'.freeze
    GRAPE_METHOD_NOT_ALLOWED = 'grape.method_not_allowed'.freeze
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
grape-0.17.0 lib/grape/util/env.rb
grape-0.16.2 lib/grape/util/env.rb