Sha256: 39862a03f1852fdae90fe9c5e8c69e5f44967c55acc204ef59ea33ad80ac29e8

Contents?: true

Size: 392 Bytes

Versions: 1

Compression:

Stored size: 392 Bytes

Contents

require 'money_s3/builders/base_builder'
require 'money_s3/builders/dl_vyd'

module MoneyS3
  module Builders
    class SeznamDLVyd
      include BaseBuilder

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

        if attributes.key? :dl_vyd
          attributes[:dl_vyd].each { |i| root << DLVyd.new(i, 'DLVyd').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_dl_vyd.rb