Module: Serega::SeregaPlugins::ContextMetadata::CheckSerializeParamsClassMethods

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

Instance Method Summary collapse

Instance Method Details

#check_opts(opts) ⇒ Object



29
30
31
32
33
34
# File 'lib/serega/plugins/context_metadata/context_metadata.rb', line 29

def check_opts(opts)
  super

  meta_key = serializer_class.config[:context_metadata][:key]
  SeregaValidations::SeregaUtils::CheckOptIsHash.call(opts, meta_key)
end