Sha256: bb5cee46ff941ce257bcc72f506a613f0def53b3ac156426f8ce12e6930ea4ec

Contents?: true

Size: 463 Bytes

Versions: 1

Compression:

Stored size: 463 Bytes

Contents

require 'money_s3/builders/base_builder'

module MoneyS3
  module Builders
    class NepPlatidloType
      include BaseBuilder

      attr_accessor :kod, :popis, :var_symb

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

        root << (Ox::Element.new('Kod') << kod) if kod
        root << (Ox::Element.new('Popis') << popis) if popis
        root << (Ox::Element.new('VarSymb') << var_symb) if var_symb

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