lib/restfully.rb in crohr-restfully-0.1.1 vs lib/restfully.rb in crohr-restfully-0.2.1
- old
+ new
@@ -1,12 +1,19 @@
-
-module Restfully
- class RestfullyError < StandardError; end
-end
-
+require 'restfully/error'
+require 'restfully/parsing'
+require 'restfully/http'
+require 'restfully/http/adapters/rest_client_adapter'
require 'restfully/extensions'
require 'restfully/session'
require 'restfully/special_hash'
require 'restfully/special_array'
require 'restfully/link'
require 'restfully/resource'
require 'restfully/collection'
+
+
+module Restfully
+ class << self
+ attr_accessor :adapter
+ end
+ self.adapter = Restfully::HTTP::Adapters::RestClientAdapter
+end
\ No newline at end of file