Sha256: 6ac9c5cd5098cb242e4e8df6bffeee4a7a8d8e7ce1d878006e78d20c1cb4aed9

Contents?: true

Size: 771 Bytes

Versions: 17

Compression:

Stored size: 771 Bytes

Contents

# frozen_string_literal: true

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

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

    GRAPE_REQUEST = 'grape.request'
    GRAPE_REQUEST_HEADERS = 'grape.request.headers'
    GRAPE_REQUEST_PARAMS = 'grape.request.params'
    GRAPE_ROUTING_ARGS = 'grape.routing_args'
    GRAPE_ALLOWED_METHODS = 'grape.allowed_methods'
  end
end

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
grape-2.0.0 lib/grape/util/env.rb
grape-1.8.0 lib/grape/util/env.rb
grape-1.7.1 lib/grape/util/env.rb
grape-1.7.0 lib/grape/util/env.rb
grape-1.6.2 lib/grape/util/env.rb
grape-1.6.1 lib/grape/util/env.rb
grape-1.6.0 lib/grape/util/env.rb
grape-1.5.3 lib/grape/util/env.rb
grape-1.5.2 lib/grape/util/env.rb
grape-1.5.1 lib/grape/util/env.rb
grape-1.5.0 lib/grape/util/env.rb
grape-extra_validators-2.0.0 vendor/bundle/ruby/2.6.0/gems/grape-1.4.0/lib/grape/util/env.rb
grape-1.4.0 lib/grape/util/env.rb
grape-1.3.3 lib/grape/util/env.rb
grape-1.3.2 lib/grape/util/env.rb
grape-1.3.1 lib/grape/util/env.rb
grape-1.3.0 lib/grape/util/env.rb