Sha256: e9870a8fe1a706c2e6b504b16851b649ac0551083939d21a02990989c015be0a

Contents?: true

Size: 395 Bytes

Versions: 1

Compression:

Stored size: 395 Bytes

Contents

module MoneyS3
  module Builders
    class SeznamVazeb
      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? :vazba
          root << VazbaType.new('Vazba', data[:vazba]).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_vazeb.rb