Sha256: 04c7468cb91ee902f7c986dab57902b9496e0e29f0b6c3ab6220f88e82252b72

Contents?: true

Size: 617 Bytes

Versions: 31

Compression:

Stored size: 617 Bytes

Contents

require "geocoder/results/google"

module Geocoder
  module Result
    class GooglePlacesSearch < Google

      def types
        @data["types"] || []
      end

      def rating
        @data["rating"]
      end

      def photos
        @data["photos"]
      end

      def city
        ""
      end

      def state
        ""
      end

      def state_code
        ""
      end

      def province
        ""
      end

      def province_code
        ""
      end

      def postal_code
        ""
      end

      def country
        ""
      end

      def country_code
        ""
      end
    end
  end
end

Version data entries

31 entries across 31 versions & 3 rubygems

Version Path
geocoder-1.8.3 lib/geocoder/results/google_places_search.rb
geocoder-1.8.2 lib/geocoder/results/google_places_search.rb
geocoder-1.8.1 lib/geocoder/results/google_places_search.rb
geocoder-1.8.0 lib/geocoder/results/google_places_search.rb
geocoder-1.7.5 lib/geocoder/results/google_places_search.rb
geocoder-1.7.4 lib/geocoder/results/google_places_search.rb
geocoder-1.7.3 lib/geocoder/results/google_places_search.rb
geocoder-1.7.2 lib/geocoder/results/google_places_search.rb
geocoder-1.7.1 lib/geocoder/results/google_places_search.rb
geocoder-1.7.0 lib/geocoder/results/google_places_search.rb
geocoder-1.6.7 lib/geocoder/results/google_places_search.rb
geocoder-1.6.6 lib/geocoder/results/google_places_search.rb
geocoder-1.6.5 lib/geocoder/results/google_places_search.rb
geocoder-1.6.4 lib/geocoder/results/google_places_search.rb
geocoder-1.6.3 lib/geocoder/results/google_places_search.rb
geocoder-1.6.2 lib/geocoder/results/google_places_search.rb
geocoder-1.6.1 lib/geocoder/results/google_places_search.rb
geocoder-1.6.0 lib/geocoder/results/google_places_search.rb
geocoder-1.5.2 lib/geocoder/results/google_places_search.rb
really-broken-geocoder-2.0.0 lib/geocoder/results/google_places_search.rb