Sha256: 76ce853fe4d3a9d1d795cf8c53875558b953e869ec3eeb7717d0c25f54c93560
Contents?: true
Size: 583 Bytes
Versions: 2
Compression:
Stored size: 583 Bytes
Contents
module MoneyS3 module Builders class NepPlatbaType 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? :platidlo root << NepPlatidloType.new('Platidlo', data[:platidlo]).builder end root << build_element('MnozstviMJ', data[:mnozstvi_mj]) if data.key? :mnozstvi_mj root << build_element('Castka', data[:castka]) if data.key? :castka 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/nep_platba_type.rb |
money_s3-0.11.0 | lib/money_s3/builders/nep_platba_type.rb |