class Serega::SeregaConfig

Config of a serializer, config in a serializer class. Subclasses copy the config of their parent and can change it.

class AppSerializer < Serega
  config.auto_preload = true
  config.hide_by_default = :auto
end

See Configuration.