Sha256: a199c8274c34763acc926d0c215c4c15f110d7e1322609f3d3e0b5b328d0c9b4
Contents?: true
Size: 523 Bytes
Versions: 1
Compression:
Stored size: 523 Bytes
Contents
module MoneyS3 module Builders class SubPolObjType include ParserCore::BaseBuilder def builder root = Ox::Element.new(name) if data.key? :attributes data[:attributes].each { |k, v| root[k] = v } end root << build_element('MJNaSadu', data[:mj_na_sadu], data[:mj_na_sadu_attributes]) if data.key? :mj_na_sadu if data.key? :polozka root << PolObjednType.new('Polozka', data[:polozka]).builder end 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/sub_pol_obj_type.rb |