class Pohoda::Builders::Typ::TypeValidate
Public Instance Methods
builder()
click to toggle source
# File lib/pohoda/builders/typ/type_validate.rb, line 7 def builder root = Ox::Element.new(name) root = add_attributes_and_namespaces(root) root << build_element('typ:inStock', data[:in_stock], data[:in_stock_attributes]) if data.key? :in_stock root end