lib/rapidash.rb in rapidash-0.2.2 vs lib/rapidash.rb in rapidash-0.3.0.beta
- old
+ new
@@ -1,14 +1,15 @@
#Required for pluralization and camelcasing
require "active_support/core_ext/string"
+require "active_support/core_ext/module/attribute_accessors"
+require "json"
require "rapidash/version"
-require "rapidash/errors"
+require "faraday/response/raise_rapidash_error"
+require "rapidash/response_error"
-require "rapidash/response"
-
require "rapidash/resourceable"
require "rapidash/client"
require "rapidash/urlable"
require "rapidash/base"
@@ -16,6 +17,9 @@
require "rapidash/http_client"
require "rapidash/oauth_client"
require "rapidash/test_client"
module Rapidash
+ mattr_accessor :response_exception_class
+
+ class ConfigurationError < StandardError; end
end