Module: Google::Maps::Isochrones::V1::IsochroneService::Paths

Extended by:
Paths
Included in:
Client, Paths, Rest::Client
Defined in:
lib/google/maps/isochrones/v1/isochrone_service/paths.rb

Overview

Path helper methods for the IsochroneService API.

Instance Method Summary collapse

Instance Method Details

#place_path(place_id:) ⇒ ::String

Create a fully-qualified Place resource string.

The resource will be in the following format:

places/{place_id}

Parameters:

  • place_id (String)

Returns:

  • (::String)


37
38
39
# File 'lib/google/maps/isochrones/v1/isochrone_service/paths.rb', line 37

def place_path place_id:
  "places/#{place_id}"
end