Sha256: 87e09b1cc994724022066e4fb804171ed5442fee95454881c2050a619daf37f3
Contents?: true
Size: 766 Bytes
Versions: 6
Compression:
Stored size: 766 Bytes
Contents
module MoneyS3 module Builders class KurzRozd include ParserCore::BaseBuilder def builder root = Ox::Element.new(name) root = add_attributes_and_namespaces(root) root << build_element('Typ', data[:typ], data[:typ_attributes]) if data.key? :typ root << build_element('Preceneni', data[:preceneni], data[:preceneni_attributes]) if data.key? :preceneni root << build_element('Castka', data[:castka], data[:castka_attributes]) if data.key? :castka root << build_element('KRPoradi', data[:kr_poradi], data[:kr_poradi_attributes]) if data.key? :kr_poradi if data.key? :doklad root << DoklRefType.new('Doklad', data[:doklad]).builder end root end end end end
Version data entries
6 entries across 6 versions & 1 rubygems