Sha256: 91e8d56bf0700a34d7b0ce949a891b6ad0280d7e18e404ce5ba67e4f6b3c8579
Contents?: true
Size: 764 Bytes
Versions: 6
Compression:
Stored size: 764 Bytes
Contents
module MoneyS3 module Builders class KurzListekType include ParserCore::BaseBuilder def builder root = Ox::Element.new(name) root = add_attributes_and_namespaces(root) root << build_element('Banka', data[:banka], data[:banka_attributes]) if data.key? :banka root << build_element('PorCislo', data[:por_cislo], data[:por_cislo_attributes]) if data.key? :por_cislo root << build_element('Datum', data[:datum], data[:datum_attributes]) if data.key? :datum if data.key? :seznam_kurzu element = Ox::Element.new('SeznamKurzu') data[:seznam_kurzu].each { |i| element << KurzType.new('Kurz', i).builder } root << element end root end end end end
Version data entries
6 entries across 6 versions & 1 rubygems