Sha256: 45f32c7bc3ad66ef531a9bd80a1a4c02c4c02490935627571f04d97dec9de096
Contents?: true
Size: 449 Bytes
Versions: 4
Compression:
Stored size: 449 Bytes
Contents
# frozen_string_literal: true module LinkedRails class Collection class FilterFieldSerializer < LinkedRails.serializer_parent_class attribute :key, predicate: Vocab.ontola[:filterKey] attribute :options_in, predicate: Vocab.ontola[:filterOptionsIn] has_one :collection, predicate: Vocab.schema.isPartOf, polymorphic: true has_many :options, predicate: Vocab.ontola[:filterOptions], polymorphic: true end end end
Version data entries
4 entries across 4 versions & 1 rubygems