Sha256: 54525f32284c7bc6729b11dbbfebde35ee3242cf7df90cdf2f79666713f30462

Contents?: true

Size: 561 Bytes

Versions: 6

Compression:

Stored size: 561 Bytes

Contents

module MoneyS3
  module Builders
    class SkupinaFiremType
      include ParserCore::BaseBuilder

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

        root << build_element('Zkratka', data[:zkratka], data[:zkratka_attributes]) if data.key? :zkratka
        root << build_element('Nazev', data[:nazev], data[:nazev_attributes]) if data.key? :nazev
        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/skupina_firem_type.rb
money_s3-2.4.0 lib/money_s3/builders/skupina_firem_type.rb
money_s3-2.3.0 lib/money_s3/builders/skupina_firem_type.rb
money_s3-2.2.0 lib/money_s3/builders/skupina_firem_type.rb
money_s3-2.1.0 lib/money_s3/builders/skupina_firem_type.rb
money_s3-2.0.0 lib/money_s3/builders/skupina_firem_type.rb