lib/inox_converter/api/api.rb
def treat_data
			@hash_inter = Hash.new
			@hash = Hash.new
			if validate_api_return
				@hash_inter = @hash_local['list']['resources']['resource']
				@hash_inter.each do |cout|
					simbol_string = cout['field'][0].to_s
					simbol = simbol_string.split("/")
				 	@hash[simbol[1]] = cout['field'][1].to_f
		 		end
		 	else
 				@data = false
 			end	
		end
def treat_data
			@hash_inter = Hash.new
			@hash = Hash.new
			if validate_api_return
				@hash_inter = @hash_local['list']['resources']['resource']
				@hash_inter.each do |cout|
					simbol_string = cout['field'][0].to_s
					simbol = simbol_string.split("/")
				 	@hash[simbol[1]] = cout['field'][1].to_f
		 		end
		 	else
 				@data = false
 			end	
		end
Treating data in hash