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
really-broken-geocoder-1.5.1 lib/geocoder/results/google_places_search.rb
geocoder-1.5.1 lib/geocoder/results/google_places_search.rb
geocoder-1.5.0 lib/geocoder/results/google_places_search.rb
geocoder-1.4.9 lib/geocoder/results/google_places_search.rb
geocoder-1.4.8 lib/geocoder/results/google_places_search.rb
geocoder-1.4.7 lib/geocoder/results/google_places_search.rb
geocoder-1.4.6 lib/geocoder/results/google_places_search.rb
geocoder-1.4.5 lib/geocoder/results/google_places_search.rb
geocoder-1.4.4 lib/geocoder/results/google_places_search.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/geocoder-1.4.3/lib/geocoder/results/google_places_search.rb
geocoder-1.4.3 lib/geocoder/results/google_places_search.rb