Sha256: bff66c237e8469209cfb226f1bcb58154637c7298d05639d868576fc9f97890e

Contents?: true

Size: 413 Bytes

Versions: 1

Compression:

Stored size: 413 Bytes

Contents

module MoneyS3
  module Builders
    class SeznamObjVyd
      include ParserCore::BaseBuilder

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

        if data.key? :obj_vyd
          data[:obj_vyd].each { |i| root << ObjVyd.new('ObjVyd', i).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/seznam_obj_vyd.rb