Permalink
Browse files

Moved ResponseError to exceptions

  • Loading branch information...
1 parent d25cdba commit 0078bdcda447cb28bcd354ceaf06e2c7a83d9700 Roger Leite committed Apr 27, 2012
Showing with 7 additions and 3 deletions.
  1. +1 −0 lib/restfolia.rb
  2. +6 −0 lib/restfolia/exceptions.rb
  3. +0 −3 lib/restfolia/http/behaviour.rb
View
@@ -5,6 +5,7 @@
require "multi_json"
require "restfolia/version"
+require "restfolia/exceptions"
require "restfolia/http/behaviour"
require "restfolia/http/configuration"
require "restfolia/entry_point"
@@ -0,0 +1,6 @@
+module Restfolia
+
+ # Public: Exception to represent an invalid HTTP response.
+ class ResponseError < StandardError; end
+
+end
@@ -1,8 +1,5 @@
module Restfolia
- # Public: Exception to represent an invalid HTTP response.
- class ResponseError < StandardError; end
-
# Public: Anything related to HTTP protocol, should go below this module.
#
# Behaviour - module responsable to handle HTTP response.

0 comments on commit 0078bdc

Please sign in to comment.