Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed reference to cachecontrol_email_notification config.

  • Loading branch information...
commit 2c6e2c2821592836568320eac7d3d192a0362fa0 1 parent f9bfe29
@RHM-billing RHM-billing authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/akamai/connection.rb
View
2  lib/akamai/connection.rb
@@ -19,7 +19,7 @@ def driver
def purge(*urls)
opts = ["domain=#{config.cachecontrol_domain}", "action=#{config.cachecontrol_purge_action}"]
- opts << "email-notification=#{config.cachecontrol_domain}" if config.cachecontrol_domain
+ opts << "email-notification=#{config.cachecontrol_email_notification}" if config.cachecontrol_email_notification
result = driver.purgeRequest(config.cachecontrol_username, config.cachecontrol_password, '', opts, urls)
raise PurgeError, result.inspect unless result.resultCode == '100'
true
Please sign in to comment.
Something went wrong with that request. Please try again.