lib/eloqua/api.rb in eloqua-1.2.0 vs lib/eloqua/api.rb in eloqua-1.2.1
- old
+ new
@@ -50,10 +50,10 @@
# 4. External Action
def client(type)
if(!Eloqua.user || !Eloqua.password)
raise('Eloqua.user or Eloqua.password is not set see Eloqua.authenticate')
end
- clients[type] ||= Savon::Client.new do
+ clients[type] = Savon::Client.new do
wsdl.document = WSDL[type]
wsse.credentials Eloqua.user, Eloqua.password
end
end