Sha256: afa3fa9ffbf6f3b8095c485f63c1eb218fe3529f82aa63b7304c6a8d372daad2
Contents?: true
Size: 1.19 KB
Versions: 2
Compression:
Stored size: 1.19 KB
Contents
module MoneyS3 module Builders class PredkontaceType 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('Zkrat', data[:zkrat]) if data.key? :zkrat root << build_element('Typ', data[:typ]) if data.key? :typ root << build_element('Popis', data[:popis]) if data.key? :popis root << build_element('UcMD', data[:uc_md]) if data.key? :uc_md root << build_element('UcD', data[:uc_d]) if data.key? :uc_d root << build_element('ZauctDPH', data[:zauct_dph]) if data.key? :zauct_dph root << build_element('UctovatLed', data[:uctovat_led]) if data.key? :uctovat_led root << build_element('TypCeny', data[:typ_ceny]) if data.key? :typ_ceny root << build_element('UcLedMD', data[:uc_led_md]) if data.key? :uc_led_md root << build_element('UcLedD', data[:uc_led_d]) if data.key? :uc_led_d root << build_element('Cleneni', data[:cleneni]) if data.key? :cleneni root << build_element('Pozn', data[:pozn]) if data.key? :pozn 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/predkontace_type.rb |
money_s3-0.11.0 | lib/money_s3/builders/predkontace_type.rb |