Sha256: 156e3c173f5fa3f8075f1d61a662b2144e68aad23f65d7d3df517fea135f73ec

Contents?: true

Size: 224 Bytes

Versions: 39

Compression:

Stored size: 224 Bytes

Contents

require 'hanami/middleware/body_parser'

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

39 entries across 39 versions & 1 rubygems

Version Path
inferno_core-0.3.12 lib/inferno/apps/web/application.rb
inferno_core-0.3.11 lib/inferno/apps/web/application.rb
inferno_core-0.3.10 lib/inferno/apps/web/application.rb
inferno_core-0.3.9 lib/inferno/apps/web/application.rb
inferno_core-0.3.8 lib/inferno/apps/web/application.rb
inferno_core-0.3.7 lib/inferno/apps/web/application.rb
inferno_core-0.3.6 lib/inferno/apps/web/application.rb
inferno_core-0.3.5 lib/inferno/apps/web/application.rb
inferno_core-0.3.4 lib/inferno/apps/web/application.rb
inferno_core-0.3.3 lib/inferno/apps/web/application.rb
inferno_core-0.3.2 lib/inferno/apps/web/application.rb
inferno_core-0.3.1 lib/inferno/apps/web/application.rb
inferno_core-0.3.0 lib/inferno/apps/web/application.rb
inferno_core-0.3.0.rc1 lib/inferno/apps/web/application.rb
inferno_core-0.2.0 lib/inferno/apps/web/application.rb
inferno_core-0.2.0.rc4 lib/inferno/apps/web/application.rb
inferno_core-0.2.0.rc3 lib/inferno/apps/web/application.rb
inferno_core-0.2.0.rc2 lib/inferno/apps/web/application.rb
inferno_core-0.2.0.rc1 lib/inferno/apps/web/application.rb
inferno_core-0.1.4.pre lib/inferno/apps/web/application.rb