Sha256: 61cfa455a02912187da0ab15d692ba09cd01cb8c6b4a0858960e468994cf0d39

Contents?: true

Size: 250 Bytes

Versions: 49

Compression:

Stored size: 250 Bytes

Contents

require 'hanami/middleware/body_parser'
require_relative 'router'

module Inferno
  module Web
    def self.app
      Rack::Builder.new do
        use Hanami::Middleware::BodyParser, :json
        run Inferno::Web::Router
      end
    end
  end
end

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
inferno_core-0.4.5 lib/inferno/apps/web/application.rb
inferno_core-0.4.4 lib/inferno/apps/web/application.rb
inferno_core-0.4.3 lib/inferno/apps/web/application.rb
inferno_core-0.4.2 lib/inferno/apps/web/application.rb
inferno_core-0.4.2.pre lib/inferno/apps/web/application.rb
inferno_core-0.4.1 lib/inferno/apps/web/application.rb
inferno_core-0.4.1.pre2 lib/inferno/apps/web/application.rb
inferno_core-0.4.1.pre lib/inferno/apps/web/application.rb
inferno_core-0.4.0 lib/inferno/apps/web/application.rb