Sha256: ce0ce91d007a55e1365504f7397306d37fbe43e6c7109477edd48c320bf7e407
Contents?: true
Size: 517 Bytes
Versions: 2
Compression:
Stored size: 517 Bytes
Contents
module MoneyS3 module Builders class MzPriplatek include ParserCore::BaseBuilder def builder root = Ox::Element.new(name) if data.respond_to? :attributes data.attributes.each { |k, v| root[k] = v } end if data.key? :typ_priplatku root << TypPriplatkuType.new('TypPriplatku', data[:typ_priplatku]).builder end root << build_element('PripHodin', data[:prip_hodin]) if data.key? :prip_hodin 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/mz_priplatek.rb |
money_s3-0.11.0 | lib/money_s3/builders/mz_priplatek.rb |