Wrapper for cotendo SOAP Api
sudo gem install cotendo
client = Cotendo.new(:user => 'user', :password => 'password')
# flush
client.flush('orig-10001.MyCompany.cotcdn.net', "/images/*") # hard flush
client.flush('orig-10001.MyCompany.cotcdn.net', ["/images/*", "/*.jsp", "/*.txt"], :flush_type => 'soft')
# dns_get_conf
client.dns_get_conf('www.example.com') # get dns configuration for www.example.com (production environment)
client.dns_get_conf('www.example.com', environment: 'staging' )
- add whole API
Michael Grosser
[email protected]
Hereby placed under public domain, do what you want, just do not hold me accountable...