class Paperclip::Storage::Azure::Environment

Constants

ENVIRONMENT_SUFFIX

Public Class Methods

url_for(account_name, region = nil) click to toggle source
# File lib/paperclip/storage/azure/environment.rb, line 13
def self.url_for(account_name, region = nil)
  "#{account_name}.blob.#{ENVIRONMENT_SUFFIX[region || :global]}"
end