1
0
Fork 0
mirror of https://github.com/jnunemaker/httparty synced 2023-03-27 23:23:07 -04:00

Fix URL paths in examples.

This commit is contained in:
James Lovejoy 2013-08-12 22:15:43 -07:00
parent f2b8cc3d49
commit 5ba7aec75d
2 changed files with 4 additions and 4 deletions

View file

@ -15,5 +15,5 @@ class Rep
)
end
pp Rep.get('http://whoismyrepresentative.com/whoismyrep.php?zip=46544')
pp Rep.get('http://whoismyrepresentative.com/whoismyrep.php', :query => {:zip => 46544})
pp Rep.get('http://whoismyrepresentative.com/getall_mems.php?zip=46544')
pp Rep.get('http://whoismyrepresentative.com/getall_mems.php', :query => {:zip => 46544})

View file

@ -6,5 +6,5 @@ class Rep
include HTTParty
end
pp Rep.get('http://whoismyrepresentative.com/whoismyrep.php?zip=46544')
pp Rep.get('http://whoismyrepresentative.com/whoismyrep.php', :query => {:zip => 46544})
pp Rep.get('http://whoismyrepresentative.com/getall_mems.php?zip=46544')
pp Rep.get('http://whoismyrepresentative.com/getall_mems.php', :query => {:zip => 46544})