lib/imgur.rb
# Deletes the image with the specified delete hash.
# Delete hashes are not the same as image hashes, they are two separate hashes.
#
# @param [String] delete_hash Imgur's delete hash of the image
# @return [Boolean] Whether or not the image was deleted 
Deletes the image with the specified delete hash.
Delete hashes are not the same as image hashes, they are two separate hashes.
Deletes the image with the specified delete hash . Delete hashes are not the same as image hashes they are two separate hashes .
def delete image_hash
			c = Curl::Easy.new("http://imgur.com/api/delete/#{image_hash}.json?key=#{@api_key}")
			c.http_get
			response = Crack::JSON.parse c.body_str
			response["rsp"]["stat"] == "ok"
		end
def delete image_hash c = Curl :: Easy . new ( "http://imgur.com/api/delete/#{image_hash}.json?key=#{@api_key}" ) c . http_get response = Crack :: JSON . parse c . body_str response [ "rsp" ] [ "stat" ] == "ok" end
Deletes the image with the specified delete hash.
Deletes the image with the specified delete hash .
Whether or not the image was deleted
Whether or not the image was deleted
Boolean
image_hash
<not_specific>
<not_specific>
delete_hash Imgur's delete hash of the image
delete_hash Imgur ' s delete hash of the image