Method: Grape::Request#params
- Defined in:
- lib/grape/request.rb
#params ⇒ Object
16 17 18 19 20 21 22 |
# File 'lib/grape/request.rb', line 16 def params @params ||= build_params rescue EOFError raise Grape::Exceptions::EmptyMessageBody.new(content_type) rescue Rack::Multipart::MultipartPartLimitError raise Grape::Exceptions::TooManyMultipartFiles.new(Rack::Utils.multipart_part_limit) end |