Permalink
Browse files

NotFound

  • Loading branch information...
1 parent 8fc6999 commit b7116ed6d052cc482a8b120516602cff657b4761 @zapnap zapnap committed Jul 11, 2009
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/tumblr.rb
  2. +1 −1 lib/tumblr/request.rb
View
@@ -15,6 +15,6 @@ class Forbidden < TumblrError; end
# tumblr 400 errors
class BadRequest < TumblrError; end
# tumblr 404 errors
- class Notfound < TumblrError; end
+ class NotFound < TumblrError; end
end
View
@@ -40,7 +40,7 @@ def self.raise_errors(response)
when 400
raise(BadRequest.new, message)
when 404
- raise(Notfound.new, message)
+ raise(NotFound.new, message)
when 201
return false
end

0 comments on commit b7116ed

Please sign in to comment.