lib/grape/request.rb in grape-1.2.5 vs lib/grape/request.rb in grape-1.3.0
- old
+ new
@@ -1,7 +1,9 @@
+# frozen_string_literal: true
+
module Grape
class Request < Rack::Request
- HTTP_PREFIX = 'HTTP_'.freeze
+ HTTP_PREFIX = 'HTTP_'
alias rack_params params
def initialize(env, options = {})
extend options[:build_params_with] || Grape.config.param_builder