Sha256: 1a9f2486dafc7dbdcb15c82e4b06dd1877a2004c4099f97ca41d275e40eccf8d
Contents?: true
Size: 584 Bytes
Versions: 1
Compression:
Stored size: 584 Bytes
Contents
module GovKit module CA module PostalCode module Strategy # parl.gc.ca is a reliable source. class ParlGcCa < Base base_uri 'www.parl.gc.ca' http_method :get path '/ParlInfo/Compilations/HouseOfCommons/MemberByPostalCode.aspx?PostalCode=<%= @postal_code %>' private def electoral_districts! # TODO returns HTML with electoral district names only end def valid? # TODO end end StrategySet.register ParlGcCa end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
govkit-ca-0.0.4 | lib/gov_kit-ca/postal_code/strategy/parl_gc_ca.rb |