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.5.1 lib/inferno/apps/web/application.rb
inferno_core-0.5.0 lib/inferno/apps/web/application.rb
inferno_core-0.4.44 lib/inferno/apps/web/application.rb
inferno_core-0.4.43 lib/inferno/apps/web/application.rb
inferno_core-0.4.42 lib/inferno/apps/web/application.rb
inferno_core-0.4.41 lib/inferno/apps/web/application.rb
inferno_core-0.4.40 lib/inferno/apps/web/application.rb
inferno_core-0.4.39 lib/inferno/apps/web/application.rb
inferno_core-0.4.38 lib/inferno/apps/web/application.rb
inferno_core-0.4.35 lib/inferno/apps/web/application.rb
inferno_core-0.4.34 lib/inferno/apps/web/application.rb
inferno_core-0.4.33 lib/inferno/apps/web/application.rb
inferno_core-0.4.32 lib/inferno/apps/web/application.rb
inferno_core-0.4.31 lib/inferno/apps/web/application.rb
inferno_core-0.4.30 lib/inferno/apps/web/application.rb
inferno_core-0.4.29 lib/inferno/apps/web/application.rb
inferno_core-0.4.28 lib/inferno/apps/web/application.rb
inferno_core-0.4.27 lib/inferno/apps/web/application.rb
inferno_core-0.4.26 lib/inferno/apps/web/application.rb
inferno_core-0.4.25 lib/inferno/apps/web/application.rb