Sha256: cc7e68ca1bfb0d35d8312cd9b1f6559c050f3850520c071ddb0f495b05f9a645
Contents?: true
Size: 644 Bytes
Versions: 39
Compression:
Stored size: 644 Bytes
Contents
# frozen_string_literal: true module LinkedRails class Ontology class ClassSerializer < LinkedRails.serializer_parent_class attribute :description, predicate: Vocab.schema.description attribute :input_select_property, predicate: Vocab.ontola['forms/inputs/select/displayProp'] attribute :label, predicate: Vocab.rdfs.label attribute :plural_label, predicate: Vocab.ontola[:pluralLabel] attribute :image, predicate: Vocab.schema.image attribute :parent_class, predicate: Vocab.rdfs.subClassOf statements :data def self.data(object, _params) object.data end end end end
Version data entries
39 entries across 39 versions & 1 rubygems