Sha256: 50d24c051af1cf54314aee303649780f084ca69aa74f3e33293d9776a6731a57

Contents?: true

Size: 328 Bytes

Versions: 4

Compression:

Stored size: 328 Bytes

Contents

# frozen_string_literal: true

module LinkedRails
  class ConditionSerializer < LinkedRails.serializer_parent_class
    has_one :fail, predicate: Vocab.ontola[:fail], polymorphic: true
    has_one :pass, predicate: Vocab.ontola[:pass], polymorphic: true
    has_one :shape, predicate: Vocab.sh.node, polymorphic: true
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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