Sha256: 1b4fc02f9f6e496876c6dee7f6dcd6e9e68746d37b9b8b9dd2d392459041b699

Contents?: true

Size: 448 Bytes

Versions: 4

Compression:

Stored size: 448 Bytes

Contents

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
govkit-ca-0.0.16 lib/gov_kit-ca/postal_code/strategy/parl_gc_ca.rb
govkit-ca-0.0.15 lib/gov_kit-ca/postal_code/strategy/parl_gc_ca.rb
govkit-ca-0.0.14 lib/gov_kit-ca/postal_code/strategy/parl_gc_ca.rb
govkit-ca-0.0.13 lib/gov_kit-ca/postal_code/strategy/parl_gc_ca.rb