class ExpandService
- ExpandService
- Reference
- Object
Overview
The 'travel_stops' array received by the function is replaced by the values of 'id', 'name', 'type', and 'dimension' contained in the 'api_data' variable. After each 'id' in the 'travel_stops' array has the new format stored in the 'expanded_stops' variable, the 'expanded_result' object is returned as the response.
Defined in:
services/expandService.crClass Method Summary
-
.onlyExpand(id : Int32, travel_stops : Array(Int32), api_data : Array(Location)) : Hash(String, Array(Hash(String, Int32 | String)) | Int32)
Function to expand the 'travel_stops' array