Sha256: e9a1cbe19023454e8d6ecf93623e5f5d302009ca6db14a01b233a4cadb08a135

Contents?: true

Size: 372 Bytes

Versions: 2

Compression:

Stored size: 372 Bytes

Contents

module MoneyS3
  module Builders
    class FaktPrij < FakturaType
      include ParserCore::BaseBuilder

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

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

        root
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
money_s3-0.12.0 lib/money_s3/builders/fakt_prij.rb
money_s3-0.11.0 lib/money_s3/builders/fakt_prij.rb