Sha256: 009e356fd257be4c8258dc951dfac195087d300665eadbfef56b1390c3cc3f21
Contents?: true
Size: 492 Bytes
Versions: 9
Compression:
Stored size: 492 Bytes
Contents
require "webmachine" require "webmachine/application_monkey_patch" require "webmachine/adapters/rack_mapped" require "webmachine/application_monkey_patch" require "webmachine/render_error_monkey_patch" module Webmachine def self.build_rack_api(application_context) api = Webmachine::Application.new do |app| yield app end api.application_context = application_context api.configure do |config| config.adapter = :RackMapped end api.adapter end end
Version data entries
9 entries across 9 versions & 1 rubygems