Method: Paperclip::Storage::S3#s3_host_name

Defined in:
lib/paperclip/storage/s3.rb

#s3_host_nameObject



197
198
199
200
201
202
# File 'lib/paperclip/storage/s3.rb', line 197

def s3_host_name
  host_name = @options[:s3_host_name]
  host_name = host_name.call(self) if host_name.is_a?(Proc)

  host_name || s3_credentials[:s3_host_name] || "s3.amazonaws.com".freeze
end