Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

NotFound

  • Loading branch information...
commit b7116ed6d052cc482a8b120516602cff657b4761 1 parent 8fc6999
@zapnap zapnap authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  lib/tumblr.rb
  2. +1 −1  lib/tumblr/request.rb
View
2  lib/tumblr.rb
@@ -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
2  lib/tumblr/request.rb
@@ -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.
Something went wrong with that request. Please try again.