Class: ReeSwagger::GetSerializerDefinition
- Inherits:
-
Object
- Object
- ReeSwagger::GetSerializerDefinition
- Includes:
- Ree::FnDSL
- Defined in:
- lib/ree_lib/packages/ree_swagger/package/ree_swagger/functions/get_serializer_definition.rb
Instance Method Summary collapse
Instance Method Details
#call(type, build_serializer_schema) ⇒ Object
11 12 13 14 15 |
# File 'lib/ree_lib/packages/ree_swagger/package/ree_swagger/functions/get_serializer_definition.rb', line 11 def call(type, build_serializer_schema) type_definitions_repo .dig(:serializers, type.class) &.(type, build_serializer_schema) end |