Sha256: c9f7b305aa5db82b68b1a7b82af632bcf2d37c27fab62e6a39ebb378eb7d3d9c
Contents?: true
Size: 687 Bytes
Versions: 6
Compression:
Stored size: 687 Bytes
Contents
module MoneyS3 module Builders class KomponentaType include ParserCore::BaseBuilder def builder root = Ox::Element.new(name) root = add_attributes_and_namespaces(root) root << build_element('PocMJ', data[:poc_mj], data[:poc_mj_attributes]) if data.key? :poc_mj if data.key? :stav_zasoby root << StavZasobyType.new('StavZasoby', data[:stav_zasoby]).builder end if data.key? :km_karta root << KmKartaType.new('KmKarta', data[:km_karta]).builder end if data.key? :sklad root << SkladType.new('Sklad', data[:sklad]).builder end root end end end end
Version data entries
6 entries across 6 versions & 1 rubygems