Permalink
Browse files

Fix URL paths in examples.

  • Loading branch information...
1 parent f2b8cc3 commit 5ba7aec75d34b38bca9231f8a3c6ac3485b128f3 @jameslovejoy jameslovejoy committed Aug 13, 2013
Showing with 4 additions and 4 deletions.
  1. +2 −2 examples/crack.rb
  2. +2 −2 examples/whoismyrep.rb
View
4 examples/crack.rb
@@ -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
4 examples/whoismyrep.rb
@@ -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})

0 comments on commit 5ba7aec

Please sign in to comment.