Sha256: 57c4a345869fe9a14f7cef2989a341a02d86c1ce342ac3f353f12b3280985ebc

Contents?: true

Size: 412 Bytes

Versions: 1

Compression:

Stored size: 412 Bytes

Contents

require 'money_s3/builders/base_builder'
require 'money_s3/builders/msg_poloz_type'

module MoneyS3
  module Builders
    class MsgFaktPolozType
      include BaseBuilder

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

        if attributes.key? :skl_polozka
          root << MsgPolozType.new(attributes[:skl_polozka], 'SklPolozka').builder
        end

        root
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
money_s3-0.5.0 lib/money_s3/builders/msg_fakt_poloz_type.rb