Sha256: 478cb4033b585097756d7cd9688e14b420c512642b77c00944e03ee04261f95b

Contents?: true

Size: 543 Bytes

Versions: 6

Compression:

Stored size: 543 Bytes

Contents

module MoneyS3
  module Builders
    class NepPlatidloType
      include ParserCore::BaseBuilder

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

        root << build_element('Kod', data[:kod], data[:kod_attributes]) if data.key? :kod
        root << build_element('Popis', data[:popis], data[:popis_attributes]) if data.key? :popis
        root << build_element('VarSymb', data[:var_symb], data[:var_symb_attributes]) if data.key? :var_symb

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