Sha256: 441cf7bafea5daa82e6833d2f18a97d41f8b6cf71c7f09001b36f87cdcbcf32f

Contents?: true

Size: 475 Bytes

Versions: 1

Compression:

Stored size: 475 Bytes

Contents

require 'money_s3/builders/base_builder'

module MoneyS3
  module Builders
    class PreprDoplnUdajType
      include BaseBuilder

      attr_accessor :zkrat, :popis, :poznamka

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

        root << (Ox::Element.new('Zkrat') << zkrat) if zkrat
        root << (Ox::Element.new('Popis') << popis) if popis
        root << (Ox::Element.new('Poznamka') << poznamka) if poznamka

        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/prepr_dopln_udaj_type.rb