Sha256: 5e95b97d237c265972e106d8059faf86ef6b8a71e4b1d07bb44dedaa2bfa3f24

Contents?: true

Size: 363 Bytes

Versions: 6

Compression:

Stored size: 363 Bytes

Contents

require 'rexml/document'

module Graticule #:nodoc:
  module Geocoder #:nodoc:

    # Abstract class for implementing REST geocoders. Passes on a REXML::Document
    # to +check_errors+ and +parse_response+.
    class Rest < Base
      
    private
    
      def prepare_response(response)
        REXML::Document.new(response)
      end
      
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
GUI-graticule-0.2.7.2 lib/graticule/geocoder/rest.rb
GUI-graticule-0.2.7.3 lib/graticule/geocoder/rest.rb
GUI-graticule-0.2.7.4 lib/graticule/geocoder/rest.rb
GUI-graticule-0.2.7.5 lib/graticule/geocoder/rest.rb
GUI-graticule-0.2.7.6 lib/graticule/geocoder/rest.rb
norman-graticule-0.2.7 lib/graticule/geocoder/rest.rb