Sha256: 13b6bdbfd0e5cafa97bbfd1f12afc0876aab68f92a4af462d61daac7b04b052f

Contents?: true

Size: 450 Bytes

Versions: 1

Compression:

Stored size: 450 Bytes

Contents

require 'money_s3/builders/base_builder'

module MoneyS3
  module Builders
    class Stredisko
      include BaseBuilder

      attr_accessor :zkrat, :nazev, :pozn

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

        root << (Ox::Element.new('Zkrat') << zkrat) if zkrat
        root << (Ox::Element.new('Nazev') << nazev) if nazev
        root << (Ox::Element.new('Pozn') << pozn) if pozn

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