Sha256: 0f9f98ff189bb83f98141b1c2f8a52a4993c9cecc015f49de99234112bf17709
Contents?: true
Size: 336 Bytes
Versions: 11
Compression:
Stored size: 336 Bytes
Contents
require "rack/builder" module SlideEmUp class Routes def self.run(presentation, opts = {}) Rack::Builder.new do map '/remote' do run SlideEmUp::RemoteAPI.new(opts[:remote_key]) end map '/' do run SlideEmUp::SlidesAPI.new(presentation) end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems