Sha256: 65581b6e8746fcc032dfb1dfae844ebe4fe4443d6112002561eb3d85861c5848

Contents?: true

Size: 859 Bytes

Versions: 17

Compression:

Stored size: 859 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_ALLOWED_METHODS = 'grape.allowed_methods'.freeze
  end
end

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
grape-extra_validators-2.0.0 vendor/bundle/ruby/2.6.0/gems/grape-1.2.5/lib/grape/util/env.rb
grape-extra_validators-1.0.0 vendor/bundle/ruby/2.4.0/gems/grape-1.2.5/lib/grape/util/env.rb
grape-1.2.5 lib/grape/util/env.rb
grape-1.2.4 lib/grape/util/env.rb
grape-1.2.3 lib/grape/util/env.rb
grape-1.2.2 lib/grape/util/env.rb
grape-1.2.1 lib/grape/util/env.rb
grape-1.2.0 lib/grape/util/env.rb
grape-1.1.0 lib/grape/util/env.rb
grape-1.0.3 lib/grape/util/env.rb
grape-1.0.2 lib/grape/util/env.rb
grape-1.0.1 lib/grape/util/env.rb
grape-1.0.0 lib/grape/util/env.rb
grape-0.19.2 lib/grape/util/env.rb
grape-0.19.1 lib/grape/util/env.rb
grape-0.19.0 lib/grape/util/env.rb
grape-0.18.0 lib/grape/util/env.rb