Skip to content

rauchy/cotendo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wrapper for cotendo SOAP Api

Install

sudo gem install cotendo

Usage

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' )

TODO

  • add whole API

Author

Michael Grosser
[email protected]
Hereby placed under public domain, do what you want, just do not hold me accountable...

About

Ruby Wrapper for cotendo SOAP API

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%