Sha256: c32c510d24fdae6806ae6535577828a73606b63e5ad3363c8d35a7ae653ab638

Contents?: true

Size: 356 Bytes

Versions: 39

Compression:

Stored size: 356 Bytes

Contents

Inferno::Application.boot(:web) do |_app|
  init do
    require 'blueprinter'
    require 'hanami-router'
    require 'hanami-controller'
    require 'oj'

    Hanami::Controller.configure do
      default_request_format :json
      default_response_format :json
    end

    Blueprinter.configure do |config|
      config.generator = Oj
    end
  end
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
inferno_core-0.1.3 lib/inferno/config/boot/web.rb
inferno_core-0.1.3.pre2 lib/inferno/config/boot/web.rb
inferno_core-0.1.3.pre lib/inferno/config/boot/web.rb
inferno_core-0.1.2 lib/inferno/config/boot/web.rb
inferno_core-0.1.2.pre lib/inferno/config/boot/web.rb
inferno_core-0.1.1 lib/inferno/config/boot/web.rb
inferno_core-0.1.1.pre lib/inferno/config/boot/web.rb
inferno_core-0.1.0 lib/inferno/config/boot/web.rb
inferno_core-0.1.0.pre lib/inferno/config/boot/web.rb
inferno_core-0.0.8 lib/inferno/config/boot/web.rb
inferno_core-0.0.8.pre2 lib/inferno/config/boot/web.rb
inferno_core-0.0.8.pre lib/inferno/config/boot/web.rb
inferno_core-0.0.7 lib/inferno/config/boot/web.rb
inferno_core-0.0.6 lib/inferno/config/boot/web.rb
inferno_core-0.0.5 lib/inferno/config/boot/web.rb
inferno_core-0.0.4 lib/inferno/config/boot/web.rb
inferno_core-0.0.3 lib/inferno/config/boot/web.rb
inferno_core-0.0.2 lib/inferno/config/boot/web.rb
inferno_core-0.0.1 lib/inferno/config/boot/web.rb