class VatInfo::Request::UnreliablePayerExtended
Attributes
vat_ids[RW]
Public Class Methods
new(*vat_ids)
click to toggle source
# File lib/vat_info/request/unreliable_payer_extended.rb, line 6 def initialize(*vat_ids) self.vat_ids = vat_ids end
Public Instance Methods
body()
click to toggle source
# File lib/vat_info/request/unreliable_payer_extended.rb, line 10 def body Nokogiri::XML::Builder.new('encoding' => 'UTF-8') do |xml| xml.StatusNespolehlivyPlatceRozsirenyRequest(xmlns: 'http://adis.mfcr.cz/rozhraniCRPDPH/') do vat_ids.each { |vat_id| xml.dic(vat_id) } end end.doc end