Sha256: 5ed6dc049f84a94adf4162c8723846b9fd12bdb4f27f0135f23b5cff2bd57c70

Contents?: true

Size: 328 Bytes

Versions: 2

Compression:

Stored size: 328 Bytes

Contents

# frozen_string_literal: true

module Goldendocx
  module Models
    class Relationship
      include Goldendocx::Element

      attr_reader :id, :type, :target

      tag :Relationship

      attribute :id, alias_name: :Id
      attribute :type, alias_name: :Type
      attribute :target, alias_name: :Target
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
goldendocx-0.3.0 lib/goldendocx/models/relationship.rb
goldendocx-0.2.3 lib/goldendocx/models/relationship.rb