Ruby Wrapper for cotendo SOAP API
Ruby
Switch branches/tags
Pull request Compare This branch is 3 commits ahead of grosser:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.gitignore
Gemfile
Gemfile.lock
Rakefile
Readme.md
VERSION
cotendo.gemspec

Readme.md

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

Contributors

Michael Grosser
michael@grosser.it
Hereby placed under public domain, do what you want, just do not hold me accountable...