Updating the old PR from @multiviouskalogram to include hash lookup methods that are compatible with Ruby < 2.3. Next major release of the gem should probably update the Ruby versions to only use currently supported versions.
In fact, probably worth rolling a new major version when this is merged as this removes a public API method (that Google killed), but this gem update might break some people's code.
Updating the old PR from @multiviouskalogram to include hash lookup methods that are compatible with Ruby < 2.3. Next major release of the gem should probably update the Ruby versions to only use currently supported versions.
In fact, probably worth rolling a new major version when this is merged as this removes a public API method (that Google killed), but this gem update might break some people's code.
Original PR for reference https://github.com/qpowell/google_places/pull/116