Sha256: 18f1d5b92690f6a7b81b4c0d939f40f872ebf699da8a396ed53bc5675636326f

Contents?: true

Size: 390 Bytes

Versions: 6

Compression:

Stored size: 390 Bytes

Contents

module MoneyS3
  module Builders
    class SeznamZamestnancu
      include ParserCore::BaseBuilder

      def builder
        root = Ox::Element.new(name)
        root = add_attributes_and_namespaces(root)

        if data.key? :zamestnanec
          data[:zamestnanec].each { |i| root << ZamestnanecType.new('Zamestnanec', i).builder }
        end

        root
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
money_s3-2.4.1 lib/money_s3/builders/seznam_zamestnancu.rb
money_s3-2.4.0 lib/money_s3/builders/seznam_zamestnancu.rb
money_s3-2.3.0 lib/money_s3/builders/seznam_zamestnancu.rb
money_s3-2.2.0 lib/money_s3/builders/seznam_zamestnancu.rb
money_s3-2.1.0 lib/money_s3/builders/seznam_zamestnancu.rb
money_s3-2.0.0 lib/money_s3/builders/seznam_zamestnancu.rb