Sha256: 716ffafec8e0533db60e7a3c976cd80bb21a25b7f8c9cadc1138444bf703077f
Contents?: true
Size: 396 Bytes
Versions: 50
Compression:
Stored size: 396 Bytes
Contents
module Scrivito class ObjCreateParamsParser < ObjParamsParser private def convert_params(params) if obj_class = params['_obj_class'] obj_class = Obj.type_computer.compute_type_without_fallback(obj_class) convert_field_params(params, obj_class.attribute_definitions) else raise ArgumentError, 'Missing "_obj_class" param' end end end end
Version data entries
50 entries across 50 versions & 1 rubygems