Sha256: a64904d960223ce2f7d0b5d29e57fb4c82d65be6d7b2331845508cf5ff93eb32
Contents?: true
Size: 366 Bytes
Versions: 4
Compression:
Stored size: 366 Bytes
Contents
Dir[Pathname(__dir__).join("middleware/*")].sort.each do |file| require file end module FactoryBurgers # This is the main mounted app, handling all FactoryBugers requests App = Rack::Builder.new do map "/data" do run Middleware::Data.new end map "/build" do run Middleware::Build.new end run Middleware::Static.new end end
Version data entries
4 entries across 4 versions & 1 rubygems