Method: CarrierWave::Storage::Fog::File#url
- Defined in:
- lib/carrierwave/storage/fog.rb
#url(options = {}) ⇒ Object
Return url to file, if available
Returns
- String
-
url
or
- NilClass
-
no url available
423 424 425 426 427 428 429 |
# File 'lib/carrierwave/storage/fog.rb', line 423 def url( = {}) if !@uploader.fog_public authenticated_url() else public_url end end |