Sha256: 2cf96718c9262bb61e934160e19024cd036cc9fa8d3b0730f2802acfbdf58b5d

Contents?: true

Size: 389 Bytes

Versions: 1

Compression:

Stored size: 389 Bytes

Contents

require 'money_s3/builders/base_builder'
require 'money_s3/builders/mzda_type'

module MoneyS3
  module Builders
    class SeznamMezd
      include BaseBuilder

      attr_accessor :mzda

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

        if mzda
          mzda.each { |i| root << MzdaType.new(i, 'Mzda').builder }
        end

        root
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
money_s3-0.4.0 lib/money_s3/builders/seznam_mezd.rb