class Shrine::Plugins::DirectUpload::App

  1. lib/shrine/plugins/direct_upload.rb
Superclass: Roda

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.