Sha256: 19bfb02aa31171ee043a9d0aa827d328413168d9f2254bce2390fde22fe7ff76

Contents?: true

Size: 314 Bytes

Versions: 140

Compression:

Stored size: 314 Bytes

Contents

dir = File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib'))
require File.join(dir, 'httparty')
require 'pp'

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})

Version data entries

140 entries across 140 versions & 25 rubygems

Version Path
alexvollmer-httparty-0.2.6 examples/whoismyrep.rb
alexvollmer-httparty-0.3.1 examples/whoismyrep.rb
alexvollmer-httparty-0.4.3 examples/whoismyrep.rb
cluon-httparty-0.4.3 examples/whoismyrep.rb
dbalatero-httparty-0.4.4 examples/whoismyrep.rb
ddollar-httparty-0.4.6 examples/whoismyrep.rb
geetarista-httparty-0.4.5 examples/whoismyrep.rb
jcinnamond-httparty-0.4.5 examples/whoismyrep.rb
jcinnamond-httparty-0.4.6 examples/whoismyrep.rb
jnunemaker-httparty-0.2.0 examples/whoismyrep.rb
jnunemaker-httparty-0.2.1 examples/whoismyrep.rb
jnunemaker-httparty-0.2.10 examples/whoismyrep.rb
jnunemaker-httparty-0.2.2 examples/whoismyrep.rb
jnunemaker-httparty-0.2.3 examples/whoismyrep.rb
jnunemaker-httparty-0.2.4 examples/whoismyrep.rb
jnunemaker-httparty-0.2.5 examples/whoismyrep.rb
jnunemaker-httparty-0.2.6 examples/whoismyrep.rb
jnunemaker-httparty-0.2.7 examples/whoismyrep.rb
jnunemaker-httparty-0.2.8 examples/whoismyrep.rb
jnunemaker-httparty-0.2.9 examples/whoismyrep.rb