diff --git a/lib/fog/hp/models/storage/file.rb b/lib/fog/hp/models/storage/file.rb index f47537e3f..573a8b48c 100644 --- a/lib/fog/hp/models/storage/file.rb +++ b/lib/fog/hp/models/storage/file.rb @@ -65,6 +65,11 @@ module Fog self.collection.get_cdn_url(self.key) end + def cdn_public_ssl_url + requires :key + self.collection.get_cdn_ssl_url(self.key) + end + def save(options = {}) requires :body, :directory, :key options['Content-Type'] = content_type if content_type