struct UserSerializer

Included Modules

Defined in:

serializers/user_serializer.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(user : User | Nil = nil, users : Array(User) | Nil = nil, message : String | Nil = nil, pages : Lucky::Paginator | Nil = nil, token : String | Nil = nil) #

[View source]

Class Method Detail

def self.item(user : User) #

[View source]
def self.list(list : Array, *args, **named_args) #

[View source]

Instance Method Detail

def render : NamedTuple #

[View source]
def to_json(io) #