Sha256: e91f81d8f3e0994d2b90635aa5084228a6480b02e2a5b568946ac0151cfb2c2f
Contents?: true
Size: 292 Bytes
Versions: 35
Compression:
Stored size: 292 Bytes
Contents
# frozen_string_literal: true module LinkedRails module Menus class ListSerializer < LinkedRails.serializer_parent_class include LinkedRails::Serializer has_many :menus, predicate: Vocab.ontola[:menus] do |object| object.menus&.compact end end end end
Version data entries
35 entries across 35 versions & 1 rubygems