Sha256: 8475423ffda99d8793f3d9397ec8cfd88ce62af6eb89b6c41c49877d558978cc

Contents?: true

Size: 476 Bytes

Versions: 1

Compression:

Stored size: 476 Bytes

Contents

module MoneyS3
  module Builders
    class MsgPredkontaceDEType < MessageType
      include ParserCore::BaseBuilder

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

        super.nodes.each do |n|
          root << n
        end

        if data.key? :data
          root << Data4.new('Data', data[:data]).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/msg_predkontace_de_type.rb