Sha256: a042b6706e9ffe24e9fadc2944205b987ec872570ccde86af78d72dd5809c058

Contents?: true

Size: 384 Bytes

Versions: 4

Compression:

Stored size: 384 Bytes

Contents

# frozen_string_literal: true

module LinkedRails
  module SHACL
    class NodeShapeSerializer < ShapeSerializer
      attribute :closed, predicate: Vocab.sh.closed
      attribute :ignored_properties, predicate: Vocab.sh.ignoredProperties
      attribute :sparql, predicate: Vocab.sh.sparql
      has_many :property, predicate: Vocab.sh.property, polymorphic: true
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
linked_rails-0.0.4 app/serializers/linked_rails/shacl/node_shape_serializer.rb
linked_rails-0.0.3 app/serializers/linked_rails/shacl/node_shape_serializer.rb
linked_rails-0.0.2 app/serializers/linked_rails/shacl/node_shape_serializer.rb
linked_rails-0.0.1 app/serializers/linked_rails/shacl/node_shape_serializer.rb