jnunemaker / httparty
- Source
- Commits
- Network (93)
- Issues (15)
- Downloads (2)
- Wiki (1)
- Graphs
-
Tree:
3101b53
| 3101b531 » | jnunemaker | 2008-11-08 | 1 | dir = File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib')) | |
| 2 | require File.join(dir, 'httparty') | ||||
| 3 | require 'pp' | ||||
| 4 | |||||
| 5 | class Google | ||||
| 6 | include HTTParty | ||||
| 7 | end | ||||
| 8 | |||||
| 9 | # google.com redirects to www.google.com so this is live test for redirection | ||||
| 10 | pp Google.get('http://google.com') | ||||

