Exception: Grape::Exceptions::TooManyMultipartFiles
- Defined in:
- lib/grape/exceptions/too_many_multipart_files.rb
Constant Summary
Constants inherited from Base
Base::BASE_ATTRIBUTES_KEY, Base::BASE_MESSAGES_KEY, Base::FALLBACK_LOCALE
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(limit) ⇒ TooManyMultipartFiles
constructor
A new instance of TooManyMultipartFiles.
Methods inherited from Base
Constructor Details
#initialize(limit) ⇒ TooManyMultipartFiles
Returns a new instance of TooManyMultipartFiles.
6 7 8 |
# File 'lib/grape/exceptions/too_many_multipart_files.rb', line 6 def initialize(limit) super(message: (:too_many_multipart_files, limit: limit), status: 413) end |