Sha256: 9e6a28f1f4c371fec04ad066ecf8141fa06ff1fe3a3f21e9e921ba5d5f341b46

Contents?: true

Size: 418 Bytes

Versions: 1

Compression:

Stored size: 418 Bytes

Contents

module MoneyS3
  module Builders
    class SeznamFaktVyd
      include ParserCore::BaseBuilder

      def builder
        root = Ox::Element.new(name)
        if data.key? :attributes
          data[:attributes].each { |k, v| root[k] = v }
        end

        if data.key? :fakt_vyd
          data[:fakt_vyd].each { |i| root << FaktVyd.new('FaktVyd', i).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/seznam_fakt_vyd.rb