lib/gov_kit-ca/postal_code/strategy/parl_gc_ca.rb
module GovKit
module CA
module PostalCode
module Strategy
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
end
end
end
end
end