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