lib/carrierwave/storage/cloud_files.rb
##
# Returns the url on the Cloud Files CDN.  Note that the parent container must be marked as
# public for this to work.
#
# === Returns
#
# [String] file's url
#
Returns the url on the Cloud Files CDN.  Note that the parent container must be marked as
public for this to work.

Returns

[String] file's url
Returns the url on the Cloud Files CDN . Note that the parent container must be marked as public for this to work . Returns [ String ] file ' s url
def url
          if @uploader.cloud_files_cdn_host
            "http://" + @uploader.cloud_files_cdn_host + "/" + @path
          else
            begin
              cf_container.object(@path).public_url
            rescue ::CloudFiles::Exception::NoSuchObject
              nil
            end
          end
        end
def url if @uploader . cloud_files_cdn_host "http://" + @uploader . cloud_files_cdn_host + "/" + @path else begin cf_container . object ( @path ) . public_url rescue :: CloudFiles :: Exception :: NoSuchObject nil end end end
Returns the url on the Cloud Files CDN.
Returns the url on the Cloud Files CDN .