Welcome to mirror list, hosted at ThFree Co, Russian Federation.
1 2 3 4 5 6 7
class LabelSerializer < BaseSerializer entity LabelEntity def represent_appearance(resource) represent(resource, { only: [:id, :title, :color, :text_color] }) end end