module Pohoda::Builders::Rdc::Groups::MyGroupOfValue
Public Instance Methods
builder()
click to toggle source
# File lib/pohoda/builders/rdc/groups/my_group_of_value.rb, line 6 def builder root = Ox::Element.new(name) root = add_attributes_and_namespaces(root) root << build_element('rdc:XPath', data[:x_path], data[:x_path_attributes]) if data.key? :x_path root << build_element('rdc:valueRequested', data[:value_requested], data[:value_requested_attributes]) if data.key? :value_requested root << build_element('rdc:valueProduced', data[:value_produced], data[:value_produced_attributes]) if data.key? :value_produced root end