Sha256: 91ae811a3ec13758bf585b1ded36a0a24322b4b8dd77c4de35ad42c6ae833d2f
Contents?: true
Size: 635 Bytes
Versions: 2
Compression:
Stored size: 635 Bytes
Contents
module MoneyS3 module Builders class MzdoveObdobiType 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('Mesic', data[:mesic]) if data.key? :mesic root << build_element('Rok', data[:rok]) if data.key? :rok root << build_element('Funkce', data[:funkce]) if data.key? :funkce if data.key? :prac_pomer root << PracPomer.new('PracPomer', data[:prac_pomer]).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/mzdove_obdobi_type.rb |
money_s3-0.11.0 | lib/money_s3/builders/mzdove_obdobi_type.rb |