lib/campaigning/soap/soap_driver.rb in gnumarcelo-campaigning-0.8.2 vs lib/campaigning/soap/soap_driver.rb in gnumarcelo-campaigning-0.10.0

- old
+ new

@@ -17,10 +17,14 @@ #This method turns the API debug mode to _on_ and _off_. #When method called with _true_ argument, it will switch to _on_ mode, the API will display at the console all #SOAP requests made to the API server. def setup_debug_mode(dev) dev = STDERR if dev == true + get_driver @driver.wiredump_dev = dev end + def set_endpoint_url(endpoint_url) + @driver = Campaigning::ApiSoap.new(endpoint_url) + end end end \ No newline at end of file