Sha256: 697502c315487e7ed590a4bbde8c1d7ccd4afe30feedfa51b95dea56ee72bfda

Contents?: true

Size: 464 Bytes

Versions: 6

Compression:

Stored size: 464 Bytes

Contents

module MoneyS3
  module Builders
    class SubpolInvDType
      include ParserCore::BaseBuilder

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

        root << build_element('MnSada', data[:mn_sada], data[:mn_sada_attributes]) if data.key? :mn_sada
        if data.key? :polozka
          root << PolInvDoklType.new('Polozka', data[:polozka]).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/subpol_inv_d_type.rb
money_s3-2.4.0 lib/money_s3/builders/subpol_inv_d_type.rb
money_s3-2.3.0 lib/money_s3/builders/subpol_inv_d_type.rb
money_s3-2.2.0 lib/money_s3/builders/subpol_inv_d_type.rb
money_s3-2.1.0 lib/money_s3/builders/subpol_inv_d_type.rb
money_s3-2.0.0 lib/money_s3/builders/subpol_inv_d_type.rb