Sha256: 134e5a469071da9f341f7aaa599e2d5cbd652ca64c9201331fc5acc2de4494fc
Contents?: true
Size: 1.04 KB
Versions: 32
Compression:
Stored size: 1.04 KB
Contents
module Fog module Storage class Rackspace class Real # Get an expiring object http url from Cloud Files # # ==== Parameters # * container<~String> - Name of container containing object # * object<~String> - Name of object to get expiring url for # * expires<~Time> - An expiry time for this url # # ==== Returns # * response<~Excon::Response>: # * body<~String> - url for object # @raise [Fog::Storage::Rackspace::NotFound] - HTTP 404 # @raise [Fog::Storage::Rackspace::BadRequest] - HTTP 400 # @raise [Fog::Storage::Rackspace::InternalServerError] - HTTP 500 # @raise [Fog::Storage::Rackspace::ServiceError] # ==== See Also # http://docs.rackspace.com/files/api/v1/cf-devguide/content/Create_TempURL-d1a444.html def get_object_http_url(container, object, expires, options = {}) get_object_https_url(container, object, expires, options.merge(:scheme => 'http')) end end end end end
Version data entries
32 entries across 32 versions & 2 rubygems