Module: Serega::SeregaPlugins::Batch::ConfigInstanceMethods

Defined in:
lib/serega/plugins/batch/batch.rb

Overview

Config class additional/patched instance methods

Instance Method Summary collapse

Instance Method Details

#batch_loadersSerega::SeregaPlugins::Batch::BatchLoadersConfig

Returns all batch loaders registered for current serializer

Returns:



204
205
206
# File 'lib/serega/plugins/batch/batch.rb', line 204

def batch_loaders
  @batch_loaders ||= BatchLoadersConfig.new(opts.fetch(:batch).fetch(:loaders))
end