Sha256: 1a318be4f0e4d332cbf46dca273239c842fc2360ac401c60fa24268880d348d7

Contents?: true

Size: 449 Bytes

Versions: 1

Compression:

Stored size: 449 Bytes

Contents

require 'money_s3/builders/base_builder'
require 'money_s3/builders/predkontace_de_type'

module MoneyS3
  module Builders
    class SeznamPredkontaciDE
      include BaseBuilder

      def builder
        root = Ox::Element.new(element_name)

        if attributes.key? :predkontace_de
          attributes[:predkontace_de].each { |i| root << PredkontaceDEType.new(i, 'PredkontaceDE').builder }
        end

        root
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
money_s3-0.5.0 lib/money_s3/builders/seznam_predkontaci_de.rb