Sha256: d48a13a105f43106817484b0711b4cce8e13788254c02189bab73be5137406c7
Contents?: true
Size: 499 Bytes
Versions: 2
Compression:
Stored size: 499 Bytes
Contents
module MoneyS3 module Builders class DefSubPolType include ParserCore::BaseBuilder def builder root = Ox::Element.new(name) if data.respond_to? :attributes data.attributes.each { |k, v| root[k] = v } end root << build_element('MJNaSadu', data[:mj_na_sadu]) if data.key? :mj_na_sadu if data.key? :polozka root << PolSklDoklType.new('Polozka', data[:polozka]).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/def_sub_pol_type.rb |
money_s3-0.11.0 | lib/money_s3/builders/def_sub_pol_type.rb |