Sha256: 6317f0fa93695f574ec22f60f73fbe935239eaeee443324ea7c361513669af14
Contents?: true
Size: 613 Bytes
Versions: 2
Compression:
Stored size: 613 Bytes
Contents
module MoneyS3 module Builders class MsgMzdaType < MessageType include ParserCore::BaseBuilder def builder root = Ox::Element.new(name) if data.respond_to? :attributes data.attributes.each { |k, v| root[k] = v } end super.nodes.each do |n| root << n end if data.key? :nepritomnost data[:nepritomnost].each { |i| root << MessageType.new('Nepritomnost', i).builder } end if data.key? :data root << Data8.new('Data', data[:data]).builder end root end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
money_s3-0.12.0 | lib/money_s3/builders/msg_mzda_type.rb |
money_s3-0.11.0 | lib/money_s3/builders/msg_mzda_type.rb |