Sha256: 8e8d802eacb394d07cdf8b455b8dd9fe522f5d725e0db24caeaa7155daf36d82
Contents?: true
Size: 540 Bytes
Versions: 6
Compression:
Stored size: 540 Bytes
Contents
module MoneyS3 module Builders class MsgPolozType < 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