Skip to content
This repository has been archived by the owner on Apr 13, 2020. It is now read-only.
/ edgecast Public archive

Ruby wrapper to purge/flush objects from the EdgeCast CDN.

License

Notifications You must be signed in to change notification settings

strchives/edgecast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Purge items from your EdgeCast CDN

Ruby wrapper to purge/flush objects from the EdgeCast CDN.

Usage

  • Create a new CDN object with the account number and api key.
  • Call the purge method with the asset patch

Example:

require 'edgecast'
cdn = Edgecast::CDN.new("account_number","api_key")
cdn.purge("http://example.com/assets/some_file.js")

Testing

bundle
rspec spec/edgetcast/cdn_spec.rb

About

Ruby wrapper to purge/flush objects from the EdgeCast CDN.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages