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:
parent
f2b8cc3d49
commit
5ba7aec75d
2 changed files with 4 additions and 4 deletions
|
@ -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})
|
||||
|
|
|
@ -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})
|
Loading…
Reference in a new issue