Class: Shrine::Plugins::DirectUpload::App
- Inherits:
-
Roda
- Object
- Roda
- Shrine::Plugins::DirectUpload::App
- Defined in:
- lib/shrine/plugins/direct_upload.rb
Overview
Routes incoming requests. It first asserts that the storage is existent and allowed, then the filesize isn’t too large. Afterwards it proceeds with the file upload and returns the uploaded file as JSON.