From c48d00103057190ab8c66994dc402854ca54dfc2 Mon Sep 17 00:00:00 2001 From: Sean Omlor Date: Fri, 7 Aug 2015 18:00:59 -0400 Subject: [PATCH] fixes from pull requests #6 and #7 --- lib/carrierwave/storage/azure.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/carrierwave/storage/azure.rb b/lib/carrierwave/storage/azure.rb index 0a5353d..3b5bcc5 100644 --- a/lib/carrierwave/storage/azure.rb +++ b/lib/carrierwave/storage/azure.rb @@ -18,7 +18,7 @@ def connection %i(storage_account_name storage_access_key storage_blob_host).each do |key| ::Azure.config.send("#{key}=", uploader.send("azure_#{key}")) end - ::Azure::BlobService.new + ::Azure::Blob::BlobService.new end end @@ -60,7 +60,7 @@ def content_type=(new_content_type) @content_type = new_content_type end - def exitst? + def exist? blob.nil? end