Sha256: d39f6eff56a8bf42c0ce64ab193cbdba370e807c94ea9f3181e68199567296d7

Contents?: true

Size: 404 Bytes

Versions: 4

Compression:

Stored size: 404 Bytes

Contents

module GovKit
  module CA
    module PostalCode
      module Strategy
        class ConservativeCa < Base
          base_uri 'www.conservative.ca'
          http_method :get
          path '/team/?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/conservative_ca.rb
govkit-ca-0.0.15 lib/gov_kit-ca/postal_code/strategy/conservative_ca.rb
govkit-ca-0.0.14 lib/gov_kit-ca/postal_code/strategy/conservative_ca.rb
govkit-ca-0.0.13 lib/gov_kit-ca/postal_code/strategy/conservative_ca.rb