class MinimalCharacterSerializer

Overview

Minimal serializer for the Character model. Meant to be used when the detail fields (e.g. required for building a complete prompt) aren't necessary.

Defined in:

serializers/minimal_character_serializer.cr

Constructors

Instance Method Summary

Class methods inherited from class BaseSerializer

for_collection(collection : Enumerable, *args, **named_args) for_collection

Constructor Detail

def self.new(character : Character) #

[View source]

Instance Method Detail

def render #

[View source]