class Pohoda::Builders::Grs::GroupStocksDetailType
Public Instance Methods
builder()
click to toggle source
# File lib/pohoda/builders/grs/group_stocks_detail_type.rb, line 7 def builder root = Ox::Element.new(name) root = add_attributes_and_namespaces(root) if data.key? :variant data[:variant].each { |i| root << Gr::VariantsItemType.new('grs:variant', i).builder } end root end