Sha256: 170f1ee194d80ddf7bc843c2bab162b026a92cc892713ac11f0f7c26ac468691
Contents?: true
Size: 548 Bytes
Versions: 2
Compression:
Stored size: 548 Bytes
Contents
class Valvat module Lookup class RequestWithId < Request def initialize(vat, requester_vat) @vat = vat @requester_vat = requester_vat end private def body super.merge( "n1:requesterCountryCode" => @requester_vat.vat_country_code, "n1:requesterVatNumber" => @requester_vat.to_s_wo_country ) end def action "checkVatApprox" end def response_key :check_vat_approx_response end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
valvat-0.4.1 | lib/valvat/lookup/request_with_id.rb |
valvat-0.4.0 | lib/valvat/lookup/request_with_id.rb |