Sha256: 0c8c1ccd8704c03728daa9634903ff8404db71297bf5dd9fa41a9d1c072c53e7

Contents?: true

Size: 555 Bytes

Versions: 6

Compression:

Stored size: 555 Bytes

Contents

module MoneyS3
  module Builders
    class PreprDoplnUdajType
      include ParserCore::BaseBuilder

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

        root << build_element('Zkrat', data[:zkrat], data[:zkrat_attributes]) if data.key? :zkrat
        root << build_element('Popis', data[:popis], data[:popis_attributes]) if data.key? :popis
        root << build_element('Poznamka', data[:poznamka], data[:poznamka_attributes]) if data.key? :poznamka

        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/prepr_dopln_udaj_type.rb
money_s3-2.4.0 lib/money_s3/builders/prepr_dopln_udaj_type.rb
money_s3-2.3.0 lib/money_s3/builders/prepr_dopln_udaj_type.rb
money_s3-2.2.0 lib/money_s3/builders/prepr_dopln_udaj_type.rb
money_s3-2.1.0 lib/money_s3/builders/prepr_dopln_udaj_type.rb
money_s3-2.0.0 lib/money_s3/builders/prepr_dopln_udaj_type.rb