class Pohoda::Builders::Stk::RelatedFileType
Public Instance Methods
builder()
click to toggle source
# File lib/pohoda/builders/stk/related_file_type.rb, line 7 def builder root = Ox::Element.new(name) root = add_attributes_and_namespaces(root) root << build_element('stk:filepath', data[:filepath], data[:filepath_attributes]) if data.key? :filepath root << build_element('stk:description', data[:description], data[:description_attributes]) if data.key? :description root end