Skip to content

Commit

Permalink
fixes from pull requests unosk#6 and unosk#7
Browse files Browse the repository at this point in the history
  • Loading branch information
hauntedhost committed Aug 7, 2015
1 parent d0569af commit c48d001
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/carrierwave/storage/azure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -60,7 +60,7 @@ def content_type=(new_content_type)
@content_type = new_content_type
end

def exitst?
def exist?
blob.nil?
end

Expand Down

0 comments on commit c48d001

Please sign in to comment.