Sha256: 8c44e63668db084bdf9fe6491f513e1abfb756719ca539f2969d3e8b2a86dc2c

Contents?: true

Size: 310 Bytes

Versions: 7

Compression:

Stored size: 310 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/getall_mems.php?zip=46544')
pp Rep.get('http://whoismyrepresentative.com/getall_mems.php', query: {zip: 46544})

Version data entries

7 entries across 7 versions & 3 rubygems

Version Path
httsoiree-0.13.3 examples/whoismyrep.rb
httparty-0.13.3 examples/whoismyrep.rb
httparty-0.13.2 examples/whoismyrep.rb
httsoiree-0.13.1.1 examples/whoismyrep.rb
httsoiree-0.13.1 examples/whoismyrep.rb
httparty-enterprise-edition-0.13.1.1 examples/whoismyrep.rb
httparty-enterprise-edition-0.13.1 examples/whoismyrep.rb