mirror of
https://github.com/internetee/registry.git
synced 2025-05-19 02:39:37 +02:00
Story #105846070 - add more debug info for testers
This commit is contained in:
parent
8f29a2f94a
commit
c8a1ec24dd
1 changed files with 3 additions and 1 deletions
|
@ -95,7 +95,8 @@ module Soap
|
||||||
unless content.blank?
|
unless content.blank?
|
||||||
if content[:ettevotjad].key? :item
|
if content[:ettevotjad].key? :item
|
||||||
business_ident = items(content, :ettevotjad).map do |item|
|
business_ident = items(content, :ettevotjad).map do |item|
|
||||||
#puts "#{item[:ariregistri_kood]}\t#{item[:arinimi]}\t#{item[:staatus]} #{item[:oiguslik_vorm]}\t"
|
# debug helps users gather data for testing
|
||||||
|
puts "#{item[:ariregistri_kood]}\t#{item[:arinimi]}\t#{item[:staatus]} #{item[:oiguslik_vorm]}\t" if @debug
|
||||||
item[:ariregistri_kood]
|
item[:ariregistri_kood]
|
||||||
end
|
end
|
||||||
{
|
{
|
||||||
|
@ -123,6 +124,7 @@ module Soap
|
||||||
@client.globals.log_level :debug
|
@client.globals.log_level :debug
|
||||||
@client.globals.log true
|
@client.globals.log true
|
||||||
@client.globals.pretty_print_xml true
|
@client.globals.pretty_print_xml true
|
||||||
|
@debug = true
|
||||||
@client
|
@client
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue