Sha256: 92fc2b17151032bf069a009141fedce7e990ff729ee4bc9bb4682094f2432d9b
Contents?: true
Size: 635 Bytes
Versions: 1
Compression:
Stored size: 635 Bytes
Contents
module MoneyS3 module Builders class NepPlatbaType include ParserCore::BaseBuilder def builder root = Ox::Element.new(name) if data.key? :attributes data[:attributes].each { |k, v| root[k] = v } end if data.key? :platidlo root << NepPlatidloType.new('Platidlo', data[:platidlo]).builder end root << build_element('MnozstviMJ', data[:mnozstvi_mj], data[:mnozstvi_mj_attributes]) if data.key? :mnozstvi_mj root << build_element('Castka', data[:castka], data[:castka_attributes]) if data.key? :castka root end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
money_s3-1.0.0 | lib/money_s3/builders/nep_platba_type.rb |