lib/valvat/lookup/request.rb in valvat-0.6.6 vs lib/valvat/lookup/request.rb in valvat-0.6.7

- old
+ new

@@ -4,16 +4,20 @@ def initialize(vat) @vat = vat end def perform(client) - client.call(action, :message => body).to_hash[response_key] + client.call(action, :message => body, :message_tag => message_tag).to_hash[response_key] end private def body {:country_code => @vat.vat_country_code, :vat_number => @vat.to_s_wo_country} + end + + def message_tag + :checkVat end def action :check_vat end \ No newline at end of file