Method: Fog::Storage::HP::Files#get_cdn_url
- Defined in:
- lib/fog/hp/models/storage/files.rb
permalink #get_cdn_url(key) ⇒ Object
[View source]
75 76 77 78 79 80 81 |
# File 'lib/fog/hp/models/storage/files.rb', line 75 def get_cdn_url(key) requires :directory if self.directory.cdn_public_url # escape the key to cover for special char. in object names "#{self.directory.cdn_public_url}/#{Fog::HP.escape(key)}" end end |