Class: Goldendocx::Models::Relationship

Inherits:
Object
  • Object
show all
Includes:
Element
Defined in:
lib/goldendocx/models/relationship.rb

Instance Attribute Summary collapse

Method Summary

Methods included from Element

#build_element, #initialize, #namespace, #tag, #tag_name, #to_element, #to_xml

Methods included from HasChildren

#children, #read_child, #read_children

Methods included from HasAttributes

#assign_attributes, #attributes, #read_attributes

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



8
9
10
# File 'lib/goldendocx/models/relationship.rb', line 8

def id
  @id
end

#targetObject (readonly)

Returns the value of attribute target.



8
9
10
# File 'lib/goldendocx/models/relationship.rb', line 8

def target
  @target
end

#typeObject (readonly)

Returns the value of attribute type.



8
9
10
# File 'lib/goldendocx/models/relationship.rb', line 8

def type
  @type
end