Sha256: bc502b5dbfa0c3fc5852f0d9b2e7cea6caa9fcb255f9fe78b5a016cc711dd93c
Contents?: true
Size: 545 Bytes
Versions: 6
Compression:
Stored size: 545 Bytes
Contents
module MoneyS3 module Builders class MsgKomponentaType < MessageType include ParserCore::BaseBuilder def builder root = Ox::Element.new(name) root = add_attributes_and_namespaces(root) super.nodes.each do |n| root << n end if data.key? :km_karta root << MessageType.new('KmKarta', data[:km_karta]).builder end if data.key? :sklad root << MessageType.new('Sklad', data[:sklad]).builder end root end end end end
Version data entries
6 entries across 6 versions & 1 rubygems