phuphighter/google_places_autocomplete — pull request #5 by ericfreese (2014-12-07 18:21:30+00:00)
Title: Support placeid in details query

According to Google, the `reference` parameter is deprecated in favor of `placeid`. This commit changes details to accept a hash of options like autocomplete, and uses `placeid` if available, or `reference` if it's not.

I tried running tests, but they failed with `VCR::Errors::InvalidCassetteFormatError`. Not very familiar with VCR, so I didn't spend the time yet fixing the tests. Would be happy to with a little guidance or if I get more time in the next few weeks.