Sha256: 25bc50e91297d4b4ade26cd00507f73da5815416c3e0d0812c5fd8a0b3d592f9
Contents?: true
Size: 705 Bytes
Versions: 5
Compression:
Stored size: 705 Bytes
Contents
require 'money_s3/builders/base_builder' require 'money_s3/builders/prac_pomer' module MoneyS3 module Builders class MzdoveObdobiType include 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
5 entries across 5 versions & 1 rubygems