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.3.12 lib/inferno/config/boot/web.rb
inferno_core-0.3.11 lib/inferno/config/boot/web.rb
inferno_core-0.3.10 lib/inferno/config/boot/web.rb
inferno_core-0.3.9 lib/inferno/config/boot/web.rb
inferno_core-0.3.8 lib/inferno/config/boot/web.rb
inferno_core-0.3.7 lib/inferno/config/boot/web.rb
inferno_core-0.3.6 lib/inferno/config/boot/web.rb
inferno_core-0.3.5 lib/inferno/config/boot/web.rb
inferno_core-0.3.4 lib/inferno/config/boot/web.rb
inferno_core-0.3.3 lib/inferno/config/boot/web.rb
inferno_core-0.3.2 lib/inferno/config/boot/web.rb
inferno_core-0.3.1 lib/inferno/config/boot/web.rb
inferno_core-0.3.0 lib/inferno/config/boot/web.rb
inferno_core-0.3.0.rc1 lib/inferno/config/boot/web.rb
inferno_core-0.2.0 lib/inferno/config/boot/web.rb
inferno_core-0.2.0.rc4 lib/inferno/config/boot/web.rb
inferno_core-0.2.0.rc3 lib/inferno/config/boot/web.rb
inferno_core-0.2.0.rc2 lib/inferno/config/boot/web.rb
inferno_core-0.2.0.rc1 lib/inferno/config/boot/web.rb
inferno_core-0.1.4.pre lib/inferno/config/boot/web.rb