Skip to content

Commit

Permalink
Include fixes from PR unosk#7 + rename typo File.exists?
Browse files Browse the repository at this point in the history
  • Loading branch information
Adi Widyawan committed Nov 5, 2015
1 parent 4928bfa commit cd04e84
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
uploader.azure_credentials.map do |key, val|
::Azure.config.send("#{key}=", val)
end unless uploader.azure_credentials.nil?
::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 exists?
blob.nil?
end

Expand Down

0 comments on commit cd04e84

Please sign in to comment.