public
Rubygem
Description: Makes http fun! Also, makes consuming restful web services dead easy.
Homepage:
Clone URL: git://github.com/jnunemaker/httparty.git
Click here to lend your support to: httparty and make a donation at www.pledgie.com !
Moved exceptions to their own file.
jnunemaker (author)
Sat Dec 06 19:03:28 -0800 2008
commit  057e3f1a19426a61913f59fac7189e0a47b6dfa5
tree    37504a8b1a9c907e2e6d15bcd716bad7787613a4
parent  80aa3595d504dccb175e35797db6bfada427ee93
...
6
7
8
9
10
11
12
 
13
14
15
...
98
99
100
 
101
102
...
6
7
8
 
 
 
 
9
10
11
12
...
95
96
97
98
99
100
0
@@ -6,10 +6,7 @@ require 'rubygems'
0
 require 'active_support'
0
 require 'module_level_inheritable_attributes'
0
 
0
-module HTTParty
0
-  class UnsupportedFormat < StandardError; end
0
-  class RedirectionTooDeep < StandardError; end
0
-  
0
+module HTTParty  
0
   AllowedFormats = {:xml => 'text/xml', :json => 'application/json', :html => 'text/html'}
0
   
0
   def self.included(base)
0
@@ -98,4 +95,5 @@ module HTTParty
0
   end
0
 end
0
 
0
+require 'httparty/exceptions'
0
 require 'httparty/request'
0
\ No newline at end of file

Comments