Configure Blueprinter

This commit is contained in:
Justin Edmund 2022-12-21 01:17:04 -08:00
parent 712c866296
commit 7720d5400f

View file

@ -0,0 +1,8 @@
# frozen_string_literal: true
require 'oj' # you can skip this if OJ has already been required.
Blueprinter.configure do |config|
config.generator = Oj # default is JSON
# config.sort_fields_by = :definition
end