onebusaway-sdk 0.1.0.pre.alpha.203
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/README.md +124 -0
- data/lib/onebusaway-sdk/base_client.rb +483 -0
- data/lib/onebusaway-sdk/base_model.rb +1188 -0
- data/lib/onebusaway-sdk/base_page.rb +40 -0
- data/lib/onebusaway-sdk/client.rb +181 -0
- data/lib/onebusaway-sdk/errors.rb +187 -0
- data/lib/onebusaway-sdk/extern.rb +10 -0
- data/lib/onebusaway-sdk/models/agencies_with_coverage_list_params.rb +18 -0
- data/lib/onebusaway-sdk/models/agencies_with_coverage_list_response.rb +84 -0
- data/lib/onebusaway-sdk/models/agency_retrieve_params.rb +18 -0
- data/lib/onebusaway-sdk/models/agency_retrieve_response.rb +151 -0
- data/lib/onebusaway-sdk/models/arrival_and_departure_list_params.rb +51 -0
- data/lib/onebusaway-sdk/models/arrival_and_departure_list_response.rb +767 -0
- data/lib/onebusaway-sdk/models/arrival_and_departure_retrieve_params.rb +60 -0
- data/lib/onebusaway-sdk/models/arrival_and_departure_retrieve_response.rb +751 -0
- data/lib/onebusaway-sdk/models/block_retrieve_params.rb +18 -0
- data/lib/onebusaway-sdk/models/block_retrieve_response.rb +205 -0
- data/lib/onebusaway-sdk/models/config_retrieve_params.rb +18 -0
- data/lib/onebusaway-sdk/models/config_retrieve_response.rb +331 -0
- data/lib/onebusaway-sdk/models/current_time_retrieve_params.rb +18 -0
- data/lib/onebusaway-sdk/models/current_time_retrieve_response.rb +67 -0
- data/lib/onebusaway-sdk/models/references.rb +1071 -0
- data/lib/onebusaway-sdk/models/report_problem_with_stop_retrieve_params.rb +117 -0
- data/lib/onebusaway-sdk/models/report_problem_with_trip_retrieve_params.rb +180 -0
- data/lib/onebusaway-sdk/models/response_wrapper.rb +37 -0
- data/lib/onebusaway-sdk/models/route_ids_for_agency_list_params.rb +18 -0
- data/lib/onebusaway-sdk/models/route_ids_for_agency_list_response.rb +45 -0
- data/lib/onebusaway-sdk/models/route_retrieve_params.rb +18 -0
- data/lib/onebusaway-sdk/models/route_retrieve_response.rb +149 -0
- data/lib/onebusaway-sdk/models/routes_for_agency_list_params.rb +18 -0
- data/lib/onebusaway-sdk/models/routes_for_agency_list_response.rb +156 -0
- data/lib/onebusaway-sdk/models/routes_for_location_list_params.rb +70 -0
- data/lib/onebusaway-sdk/models/routes_for_location_list_response.rb +162 -0
- data/lib/onebusaway-sdk/models/schedule_for_route_retrieve_params.rb +30 -0
- data/lib/onebusaway-sdk/models/schedule_for_route_retrieve_response.rb +453 -0
- data/lib/onebusaway-sdk/models/schedule_for_stop_retrieve_params.rb +30 -0
- data/lib/onebusaway-sdk/models/schedule_for_stop_retrieve_response.rb +244 -0
- data/lib/onebusaway-sdk/models/search_for_route_list_params.rb +36 -0
- data/lib/onebusaway-sdk/models/search_for_route_list_response.rb +166 -0
- data/lib/onebusaway-sdk/models/search_for_stop_list_params.rb +36 -0
- data/lib/onebusaway-sdk/models/search_for_stop_list_response.rb +161 -0
- data/lib/onebusaway-sdk/models/shape_retrieve_params.rb +18 -0
- data/lib/onebusaway-sdk/models/shape_retrieve_response.rb +70 -0
- data/lib/onebusaway-sdk/models/stop_ids_for_agency_list_params.rb +18 -0
- data/lib/onebusaway-sdk/models/stop_ids_for_agency_list_response.rb +45 -0
- data/lib/onebusaway-sdk/models/stop_retrieve_params.rb +18 -0
- data/lib/onebusaway-sdk/models/stop_retrieve_response.rb +144 -0
- data/lib/onebusaway-sdk/models/stops_for_agency_list_params.rb +18 -0
- data/lib/onebusaway-sdk/models/stops_for_agency_list_response.rb +146 -0
- data/lib/onebusaway-sdk/models/stops_for_location_list_params.rb +74 -0
- data/lib/onebusaway-sdk/models/stops_for_location_list_response.rb +161 -0
- data/lib/onebusaway-sdk/models/stops_for_route_list_params.rb +40 -0
- data/lib/onebusaway-sdk/models/stops_for_route_list_response.rb +253 -0
- data/lib/onebusaway-sdk/models/trip_detail_retrieve_params.rb +86 -0
- data/lib/onebusaway-sdk/models/trip_detail_retrieve_response.rb +561 -0
- data/lib/onebusaway-sdk/models/trip_for_vehicle_retrieve_params.rb +65 -0
- data/lib/onebusaway-sdk/models/trip_for_vehicle_retrieve_response.rb +561 -0
- data/lib/onebusaway-sdk/models/trip_retrieve_params.rb +18 -0
- data/lib/onebusaway-sdk/models/trip_retrieve_response.rb +160 -0
- data/lib/onebusaway-sdk/models/trips_for_location_list_params.rb +93 -0
- data/lib/onebusaway-sdk/models/trips_for_location_list_response.rb +572 -0
- data/lib/onebusaway-sdk/models/trips_for_route_list_params.rb +52 -0
- data/lib/onebusaway-sdk/models/trips_for_route_list_response.rb +559 -0
- data/lib/onebusaway-sdk/models/vehicles_for_agency_list_params.rb +29 -0
- data/lib/onebusaway-sdk/models/vehicles_for_agency_list_response.rb +529 -0
- data/lib/onebusaway-sdk/pooled_net_requester.rb +170 -0
- data/lib/onebusaway-sdk/request_options.rb +115 -0
- data/lib/onebusaway-sdk/resources/agencies_with_coverage.rb +31 -0
- data/lib/onebusaway-sdk/resources/agency.rb +32 -0
- data/lib/onebusaway-sdk/resources/arrival_and_departure.rb +71 -0
- data/lib/onebusaway-sdk/resources/block.rb +32 -0
- data/lib/onebusaway-sdk/resources/config.rb +30 -0
- data/lib/onebusaway-sdk/resources/current_time.rb +30 -0
- data/lib/onebusaway-sdk/resources/report_problem_with_stop.rb +44 -0
- data/lib/onebusaway-sdk/resources/report_problem_with_trip.rb +54 -0
- data/lib/onebusaway-sdk/resources/route.rb +32 -0
- data/lib/onebusaway-sdk/resources/route_ids_for_agency.rb +32 -0
- data/lib/onebusaway-sdk/resources/routes_for_agency.rb +32 -0
- data/lib/onebusaway-sdk/resources/routes_for_location.rb +44 -0
- data/lib/onebusaway-sdk/resources/schedule_for_route.rb +37 -0
- data/lib/onebusaway-sdk/resources/schedule_for_stop.rb +37 -0
- data/lib/onebusaway-sdk/resources/search_for_route.rb +36 -0
- data/lib/onebusaway-sdk/resources/search_for_stop.rb +36 -0
- data/lib/onebusaway-sdk/resources/shape.rb +32 -0
- data/lib/onebusaway-sdk/resources/stop.rb +32 -0
- data/lib/onebusaway-sdk/resources/stop_ids_for_agency.rb +32 -0
- data/lib/onebusaway-sdk/resources/stops_for_agency.rb +32 -0
- data/lib/onebusaway-sdk/resources/stops_for_location.rb +44 -0
- data/lib/onebusaway-sdk/resources/stops_for_route.rb +38 -0
- data/lib/onebusaway-sdk/resources/trip.rb +32 -0
- data/lib/onebusaway-sdk/resources/trip_details.rb +47 -0
- data/lib/onebusaway-sdk/resources/trip_for_vehicle.rb +45 -0
- data/lib/onebusaway-sdk/resources/trips_for_location.rb +48 -0
- data/lib/onebusaway-sdk/resources/trips_for_route.rb +41 -0
- data/lib/onebusaway-sdk/resources/vehicles_for_agency.rb +36 -0
- data/lib/onebusaway-sdk/util.rb +512 -0
- data/lib/onebusaway-sdk/version.rb +5 -0
- data/lib/onebusaway-sdk.rb +116 -0
- data/manifest.yaml +13 -0
- data/rbi/lib/onebusaway-sdk/base_client.rbi +162 -0
- data/rbi/lib/onebusaway-sdk/base_model.rbi +478 -0
- data/rbi/lib/onebusaway-sdk/base_page.rbi +39 -0
- data/rbi/lib/onebusaway-sdk/client.rbi +154 -0
- data/rbi/lib/onebusaway-sdk/errors.rbi +145 -0
- data/rbi/lib/onebusaway-sdk/extern.rbi +7 -0
- data/rbi/lib/onebusaway-sdk/models/agencies_with_coverage_list_params.rbi +18 -0
- data/rbi/lib/onebusaway-sdk/models/agencies_with_coverage_list_response.rbi +131 -0
- data/rbi/lib/onebusaway-sdk/models/agency_retrieve_params.rbi +18 -0
- data/rbi/lib/onebusaway-sdk/models/agency_retrieve_response.rbi +210 -0
- data/rbi/lib/onebusaway-sdk/models/arrival_and_departure_list_params.rbi +60 -0
- data/rbi/lib/onebusaway-sdk/models/arrival_and_departure_list_response.rbi +914 -0
- data/rbi/lib/onebusaway-sdk/models/arrival_and_departure_retrieve_params.rbi +87 -0
- data/rbi/lib/onebusaway-sdk/models/arrival_and_departure_retrieve_response.rbi +857 -0
- data/rbi/lib/onebusaway-sdk/models/block_retrieve_params.rbi +18 -0
- data/rbi/lib/onebusaway-sdk/models/block_retrieve_response.rbi +383 -0
- data/rbi/lib/onebusaway-sdk/models/config_retrieve_params.rbi +18 -0
- data/rbi/lib/onebusaway-sdk/models/config_retrieve_response.rbi +389 -0
- data/rbi/lib/onebusaway-sdk/models/current_time_retrieve_params.rbi +18 -0
- data/rbi/lib/onebusaway-sdk/models/current_time_retrieve_response.rbi +95 -0
- data/rbi/lib/onebusaway-sdk/models/references.rbi +1265 -0
- data/rbi/lib/onebusaway-sdk/models/report_problem_with_stop_retrieve_params.rbi +101 -0
- data/rbi/lib/onebusaway-sdk/models/report_problem_with_trip_retrieve_params.rbi +157 -0
- data/rbi/lib/onebusaway-sdk/models/response_wrapper.rbi +47 -0
- data/rbi/lib/onebusaway-sdk/models/route_ids_for_agency_list_params.rbi +18 -0
- data/rbi/lib/onebusaway-sdk/models/route_ids_for_agency_list_response.rbi +68 -0
- data/rbi/lib/onebusaway-sdk/models/route_retrieve_params.rbi +18 -0
- data/rbi/lib/onebusaway-sdk/models/route_retrieve_response.rbi +200 -0
- data/rbi/lib/onebusaway-sdk/models/routes_for_agency_list_params.rbi +18 -0
- data/rbi/lib/onebusaway-sdk/models/routes_for_agency_list_response.rbi +210 -0
- data/rbi/lib/onebusaway-sdk/models/routes_for_location_list_params.rbi +90 -0
- data/rbi/lib/onebusaway-sdk/models/routes_for_location_list_response.rbi +220 -0
- data/rbi/lib/onebusaway-sdk/models/schedule_for_route_retrieve_params.rbi +34 -0
- data/rbi/lib/onebusaway-sdk/models/schedule_for_route_retrieve_response.rbi +675 -0
- data/rbi/lib/onebusaway-sdk/models/schedule_for_stop_retrieve_params.rbi +34 -0
- data/rbi/lib/onebusaway-sdk/models/schedule_for_stop_retrieve_response.rbi +457 -0
- data/rbi/lib/onebusaway-sdk/models/search_for_route_list_params.rbi +43 -0
- data/rbi/lib/onebusaway-sdk/models/search_for_route_list_response.rbi +220 -0
- data/rbi/lib/onebusaway-sdk/models/search_for_stop_list_params.rbi +43 -0
- data/rbi/lib/onebusaway-sdk/models/search_for_stop_list_response.rbi +231 -0
- data/rbi/lib/onebusaway-sdk/models/shape_retrieve_params.rbi +18 -0
- data/rbi/lib/onebusaway-sdk/models/shape_retrieve_response.rbi +103 -0
- data/rbi/lib/onebusaway-sdk/models/stop_ids_for_agency_list_params.rbi +18 -0
- data/rbi/lib/onebusaway-sdk/models/stop_ids_for_agency_list_response.rbi +68 -0
- data/rbi/lib/onebusaway-sdk/models/stop_retrieve_params.rbi +18 -0
- data/rbi/lib/onebusaway-sdk/models/stop_retrieve_response.rbi +211 -0
- data/rbi/lib/onebusaway-sdk/models/stops_for_agency_list_params.rbi +18 -0
- data/rbi/lib/onebusaway-sdk/models/stops_for_agency_list_response.rbi +210 -0
- data/rbi/lib/onebusaway-sdk/models/stops_for_location_list_params.rbi +90 -0
- data/rbi/lib/onebusaway-sdk/models/stops_for_location_list_response.rbi +231 -0
- data/rbi/lib/onebusaway-sdk/models/stops_for_route_list_params.rbi +48 -0
- data/rbi/lib/onebusaway-sdk/models/stops_for_route_list_response.rbi +307 -0
- data/rbi/lib/onebusaway-sdk/models/trip_detail_retrieve_params.rbi +87 -0
- data/rbi/lib/onebusaway-sdk/models/trip_detail_retrieve_response.rbi +702 -0
- data/rbi/lib/onebusaway-sdk/models/trip_for_vehicle_retrieve_params.rbi +76 -0
- data/rbi/lib/onebusaway-sdk/models/trip_for_vehicle_retrieve_response.rbi +704 -0
- data/rbi/lib/onebusaway-sdk/models/trip_retrieve_params.rbi +18 -0
- data/rbi/lib/onebusaway-sdk/models/trip_retrieve_response.rbi +211 -0
- data/rbi/lib/onebusaway-sdk/models/trips_for_location_list_params.rbi +109 -0
- data/rbi/lib/onebusaway-sdk/models/trips_for_location_list_response.rbi +715 -0
- data/rbi/lib/onebusaway-sdk/models/trips_for_route_list_params.rbi +60 -0
- data/rbi/lib/onebusaway-sdk/models/trips_for_route_list_response.rbi +705 -0
- data/rbi/lib/onebusaway-sdk/models/vehicles_for_agency_list_params.rbi +35 -0
- data/rbi/lib/onebusaway-sdk/models/vehicles_for_agency_list_response.rbi +633 -0
- data/rbi/lib/onebusaway-sdk/pooled_net_requester.rbi +36 -0
- data/rbi/lib/onebusaway-sdk/request_options.rbi +84 -0
- data/rbi/lib/onebusaway-sdk/resources/agencies_with_coverage.rbi +18 -0
- data/rbi/lib/onebusaway-sdk/resources/agency.rbi +21 -0
- data/rbi/lib/onebusaway-sdk/resources/arrival_and_departure.rbi +47 -0
- data/rbi/lib/onebusaway-sdk/resources/block.rbi +21 -0
- data/rbi/lib/onebusaway-sdk/resources/config.rbi +18 -0
- data/rbi/lib/onebusaway-sdk/resources/current_time.rbi +18 -0
- data/rbi/lib/onebusaway-sdk/resources/report_problem_with_stop.rbi +34 -0
- data/rbi/lib/onebusaway-sdk/resources/report_problem_with_trip.rbi +44 -0
- data/rbi/lib/onebusaway-sdk/resources/route.rbi +21 -0
- data/rbi/lib/onebusaway-sdk/resources/route_ids_for_agency.rbi +21 -0
- data/rbi/lib/onebusaway-sdk/resources/routes_for_agency.rbi +21 -0
- data/rbi/lib/onebusaway-sdk/resources/routes_for_location.rbi +26 -0
- data/rbi/lib/onebusaway-sdk/resources/schedule_for_route.rbi +22 -0
- data/rbi/lib/onebusaway-sdk/resources/schedule_for_stop.rbi +22 -0
- data/rbi/lib/onebusaway-sdk/resources/search_for_route.rbi +22 -0
- data/rbi/lib/onebusaway-sdk/resources/search_for_stop.rbi +22 -0
- data/rbi/lib/onebusaway-sdk/resources/shape.rbi +21 -0
- data/rbi/lib/onebusaway-sdk/resources/stop.rbi +21 -0
- data/rbi/lib/onebusaway-sdk/resources/stop_ids_for_agency.rbi +21 -0
- data/rbi/lib/onebusaway-sdk/resources/stops_for_agency.rbi +21 -0
- data/rbi/lib/onebusaway-sdk/resources/stops_for_location.rbi +26 -0
- data/rbi/lib/onebusaway-sdk/resources/stops_for_route.rbi +23 -0
- data/rbi/lib/onebusaway-sdk/resources/trip.rbi +21 -0
- data/rbi/lib/onebusaway-sdk/resources/trip_details.rbi +34 -0
- data/rbi/lib/onebusaway-sdk/resources/trip_for_vehicle.rbi +32 -0
- data/rbi/lib/onebusaway-sdk/resources/trips_for_location.rbi +36 -0
- data/rbi/lib/onebusaway-sdk/resources/trips_for_route.rbi +24 -0
- data/rbi/lib/onebusaway-sdk/resources/vehicles_for_agency.rbi +22 -0
- data/rbi/lib/onebusaway-sdk/util.rbi +136 -0
- data/rbi/lib/onebusaway-sdk/version.rbi +5 -0
- data/sig/onebusaway-sdk/base_client.rbs +101 -0
- data/sig/onebusaway-sdk/base_model.rbs +244 -0
- data/sig/onebusaway-sdk/base_page.rbs +20 -0
- data/sig/onebusaway-sdk/client.rbs +80 -0
- data/sig/onebusaway-sdk/errors.rbs +98 -0
- data/sig/onebusaway-sdk/extern.rbs +4 -0
- data/sig/onebusaway-sdk/models/agencies_with_coverage_list_params.rbs +20 -0
- data/sig/onebusaway-sdk/models/agencies_with_coverage_list_response.rbs +85 -0
- data/sig/onebusaway-sdk/models/agency_retrieve_params.rbs +19 -0
- data/sig/onebusaway-sdk/models/agency_retrieve_response.rbs +115 -0
- data/sig/onebusaway-sdk/models/arrival_and_departure_list_params.rbs +38 -0
- data/sig/onebusaway-sdk/models/arrival_and_departure_list_response.rbs +447 -0
- data/sig/onebusaway-sdk/models/arrival_and_departure_retrieve_params.rbs +50 -0
- data/sig/onebusaway-sdk/models/arrival_and_departure_retrieve_response.rbs +427 -0
- data/sig/onebusaway-sdk/models/block_retrieve_params.rbs +19 -0
- data/sig/onebusaway-sdk/models/block_retrieve_response.rbs +201 -0
- data/sig/onebusaway-sdk/models/config_retrieve_params.rbs +19 -0
- data/sig/onebusaway-sdk/models/config_retrieve_response.rbs +227 -0
- data/sig/onebusaway-sdk/models/current_time_retrieve_params.rbs +19 -0
- data/sig/onebusaway-sdk/models/current_time_retrieve_response.rbs +64 -0
- data/sig/onebusaway-sdk/models/references.rbs +732 -0
- data/sig/onebusaway-sdk/models/report_problem_with_stop_retrieve_params.rbs +73 -0
- data/sig/onebusaway-sdk/models/report_problem_with_trip_retrieve_params.rbs +105 -0
- data/sig/onebusaway-sdk/models/response_wrapper.rbs +30 -0
- data/sig/onebusaway-sdk/models/route_ids_for_agency_list_params.rbs +20 -0
- data/sig/onebusaway-sdk/models/route_ids_for_agency_list_response.rbs +49 -0
- data/sig/onebusaway-sdk/models/route_retrieve_params.rbs +19 -0
- data/sig/onebusaway-sdk/models/route_retrieve_response.rbs +113 -0
- data/sig/onebusaway-sdk/models/routes_for_agency_list_params.rbs +20 -0
- data/sig/onebusaway-sdk/models/routes_for_agency_list_response.rbs +117 -0
- data/sig/onebusaway-sdk/models/routes_for_location_list_params.rbs +56 -0
- data/sig/onebusaway-sdk/models/routes_for_location_list_response.rbs +123 -0
- data/sig/onebusaway-sdk/models/schedule_for_route_retrieve_params.rbs +24 -0
- data/sig/onebusaway-sdk/models/schedule_for_route_retrieve_response.rbs +341 -0
- data/sig/onebusaway-sdk/models/schedule_for_stop_retrieve_params.rbs +24 -0
- data/sig/onebusaway-sdk/models/schedule_for_stop_retrieve_response.rbs +215 -0
- data/sig/onebusaway-sdk/models/search_for_route_list_params.rbs +30 -0
- data/sig/onebusaway-sdk/models/search_for_route_list_response.rbs +125 -0
- data/sig/onebusaway-sdk/models/search_for_stop_list_params.rbs +30 -0
- data/sig/onebusaway-sdk/models/search_for_stop_list_response.rbs +123 -0
- data/sig/onebusaway-sdk/models/shape_retrieve_params.rbs +19 -0
- data/sig/onebusaway-sdk/models/shape_retrieve_response.rbs +64 -0
- data/sig/onebusaway-sdk/models/stop_ids_for_agency_list_params.rbs +20 -0
- data/sig/onebusaway-sdk/models/stop_ids_for_agency_list_response.rbs +49 -0
- data/sig/onebusaway-sdk/models/stop_retrieve_params.rbs +19 -0
- data/sig/onebusaway-sdk/models/stop_retrieve_response.rbs +111 -0
- data/sig/onebusaway-sdk/models/stops_for_agency_list_params.rbs +19 -0
- data/sig/onebusaway-sdk/models/stops_for_agency_list_response.rbs +105 -0
- data/sig/onebusaway-sdk/models/stops_for_location_list_params.rbs +56 -0
- data/sig/onebusaway-sdk/models/stops_for_location_list_response.rbs +123 -0
- data/sig/onebusaway-sdk/models/stops_for_route_list_params.rbs +33 -0
- data/sig/onebusaway-sdk/models/stops_for_route_list_response.rbs +206 -0
- data/sig/onebusaway-sdk/models/trip_detail_retrieve_params.rbs +54 -0
- data/sig/onebusaway-sdk/models/trip_detail_retrieve_response.rbs +375 -0
- data/sig/onebusaway-sdk/models/trip_for_vehicle_retrieve_params.rbs +48 -0
- data/sig/onebusaway-sdk/models/trip_for_vehicle_retrieve_response.rbs +377 -0
- data/sig/onebusaway-sdk/models/trip_retrieve_params.rbs +19 -0
- data/sig/onebusaway-sdk/models/trip_retrieve_response.rbs +119 -0
- data/sig/onebusaway-sdk/models/trips_for_location_list_params.rbs +58 -0
- data/sig/onebusaway-sdk/models/trips_for_location_list_response.rbs +379 -0
- data/sig/onebusaway-sdk/models/trips_for_route_list_params.rbs +38 -0
- data/sig/onebusaway-sdk/models/trips_for_route_list_response.rbs +371 -0
- data/sig/onebusaway-sdk/models/vehicles_for_agency_list_params.rbs +24 -0
- data/sig/onebusaway-sdk/models/vehicles_for_agency_list_response.rbs +332 -0
- data/sig/onebusaway-sdk/pooled_net_requester.rbs +28 -0
- data/sig/onebusaway-sdk/request_options.rbs +42 -0
- data/sig/onebusaway-sdk/resources/agencies_with_coverage.rbs +16 -0
- data/sig/onebusaway-sdk/resources/agency.rbs +18 -0
- data/sig/onebusaway-sdk/resources/arrival_and_departure.rbs +37 -0
- data/sig/onebusaway-sdk/resources/block.rbs +18 -0
- data/sig/onebusaway-sdk/resources/config.rbs +16 -0
- data/sig/onebusaway-sdk/resources/current_time.rbs +16 -0
- data/sig/onebusaway-sdk/resources/report_problem_with_stop.rbs +23 -0
- data/sig/onebusaway-sdk/resources/report_problem_with_trip.rbs +28 -0
- data/sig/onebusaway-sdk/resources/route.rbs +18 -0
- data/sig/onebusaway-sdk/resources/route_ids_for_agency.rbs +18 -0
- data/sig/onebusaway-sdk/resources/routes_for_agency.rbs +18 -0
- data/sig/onebusaway-sdk/resources/routes_for_location.rbs +22 -0
- data/sig/onebusaway-sdk/resources/schedule_for_route.rbs +19 -0
- data/sig/onebusaway-sdk/resources/schedule_for_stop.rbs +19 -0
- data/sig/onebusaway-sdk/resources/search_for_route.rbs +18 -0
- data/sig/onebusaway-sdk/resources/search_for_stop.rbs +18 -0
- data/sig/onebusaway-sdk/resources/shape.rbs +18 -0
- data/sig/onebusaway-sdk/resources/stop.rbs +18 -0
- data/sig/onebusaway-sdk/resources/stop_ids_for_agency.rbs +18 -0
- data/sig/onebusaway-sdk/resources/stops_for_agency.rbs +18 -0
- data/sig/onebusaway-sdk/resources/stops_for_location.rbs +22 -0
- data/sig/onebusaway-sdk/resources/stops_for_route.rbs +20 -0
- data/sig/onebusaway-sdk/resources/trip.rbs +18 -0
- data/sig/onebusaway-sdk/resources/trip_details.rbs +23 -0
- data/sig/onebusaway-sdk/resources/trip_for_vehicle.rbs +22 -0
- data/sig/onebusaway-sdk/resources/trips_for_location.rbs +23 -0
- data/sig/onebusaway-sdk/resources/trips_for_route.rbs +21 -0
- data/sig/onebusaway-sdk/resources/vehicles_for_agency.rbs +19 -0
- data/sig/onebusaway-sdk/util.rbs +90 -0
- data/sig/onebusaway-sdk/version.rbs +3 -0
- metadata +350 -0
@@ -0,0 +1,512 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module OnebusawaySDK
|
4
|
+
# rubocop:disable Metrics/ModuleLength
|
5
|
+
|
6
|
+
# @private
|
7
|
+
#
|
8
|
+
module Util
|
9
|
+
# @private
|
10
|
+
#
|
11
|
+
# @return [Float]
|
12
|
+
#
|
13
|
+
def self.monotonic_secs = Process.clock_gettime(Process::CLOCK_MONOTONIC)
|
14
|
+
|
15
|
+
class << self
|
16
|
+
# @private
|
17
|
+
#
|
18
|
+
# @return [String]
|
19
|
+
#
|
20
|
+
def arch
|
21
|
+
case (arch = RbConfig::CONFIG["arch"])&.downcase
|
22
|
+
in nil
|
23
|
+
"unknown"
|
24
|
+
in /aarch64|arm64/
|
25
|
+
"arm64"
|
26
|
+
in /x86_64/
|
27
|
+
"x64"
|
28
|
+
in /arm/
|
29
|
+
"arm"
|
30
|
+
else
|
31
|
+
"other:#{arch}"
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# @private
|
36
|
+
#
|
37
|
+
# @return [String]
|
38
|
+
#
|
39
|
+
def os
|
40
|
+
case (host = RbConfig::CONFIG["host_os"])&.downcase
|
41
|
+
in nil
|
42
|
+
"Unknown"
|
43
|
+
in /linux/
|
44
|
+
"Linux"
|
45
|
+
in /darwin/
|
46
|
+
"MacOS"
|
47
|
+
in /freebsd/
|
48
|
+
"FreeBSD"
|
49
|
+
in /openbsd/
|
50
|
+
"OpenBSD"
|
51
|
+
in /mswin|mingw|cygwin|ucrt/
|
52
|
+
"Windows"
|
53
|
+
else
|
54
|
+
"Other:#{host}"
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
class << self
|
60
|
+
# @private
|
61
|
+
#
|
62
|
+
# @param input [Object]
|
63
|
+
#
|
64
|
+
# @return [Boolean, Object]
|
65
|
+
#
|
66
|
+
def primitive?(input)
|
67
|
+
case input
|
68
|
+
in true | false | Integer | Float | Symbol | String
|
69
|
+
true
|
70
|
+
else
|
71
|
+
false
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
# @private
|
76
|
+
#
|
77
|
+
# @param input [Object]
|
78
|
+
#
|
79
|
+
# @return [Boolean, Object]
|
80
|
+
#
|
81
|
+
def coerce_boolean(input)
|
82
|
+
case input.is_a?(String) ? input.downcase : input
|
83
|
+
in Numeric
|
84
|
+
!input.zero?
|
85
|
+
in "true"
|
86
|
+
true
|
87
|
+
in "false"
|
88
|
+
false
|
89
|
+
else
|
90
|
+
input
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
# @private
|
95
|
+
#
|
96
|
+
# @param input [Object]
|
97
|
+
#
|
98
|
+
# @raise [ArgumentError]
|
99
|
+
# @return [Boolean, nil]
|
100
|
+
#
|
101
|
+
def coerce_boolean!(input)
|
102
|
+
case coerce_boolean(input)
|
103
|
+
in true | false | nil => coerced
|
104
|
+
coerced
|
105
|
+
else
|
106
|
+
raise ArgumentError.new("Unable to coerce #{input.inspect} into boolean value")
|
107
|
+
end
|
108
|
+
end
|
109
|
+
|
110
|
+
# @private
|
111
|
+
#
|
112
|
+
# @param input [Object]
|
113
|
+
#
|
114
|
+
# @return [Integer, Object]
|
115
|
+
#
|
116
|
+
def coerce_integer(input)
|
117
|
+
case input
|
118
|
+
in true
|
119
|
+
1
|
120
|
+
in false
|
121
|
+
0
|
122
|
+
else
|
123
|
+
Integer(input, exception: false) || input
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
127
|
+
# @private
|
128
|
+
#
|
129
|
+
# @param input [Object]
|
130
|
+
#
|
131
|
+
# @return [Float, Object]
|
132
|
+
#
|
133
|
+
def coerce_float(input)
|
134
|
+
case input
|
135
|
+
in true
|
136
|
+
1.0
|
137
|
+
in false
|
138
|
+
0.0
|
139
|
+
else
|
140
|
+
Float(input, exception: false) || input
|
141
|
+
end
|
142
|
+
end
|
143
|
+
|
144
|
+
# @private
|
145
|
+
#
|
146
|
+
# @param input [Object]
|
147
|
+
#
|
148
|
+
# @return [Hash{Object=>Object}, Object]
|
149
|
+
#
|
150
|
+
def coerce_hash(input)
|
151
|
+
case input
|
152
|
+
in NilClass | Array | Set | Enumerator
|
153
|
+
input
|
154
|
+
else
|
155
|
+
input.respond_to?(:to_h) ? input.to_h : input
|
156
|
+
end
|
157
|
+
end
|
158
|
+
end
|
159
|
+
|
160
|
+
# Use this to indicate that a value should be explicitly removed from a data
|
161
|
+
# structure when using `OnebusawaySDK::Util.deep_merge`.
|
162
|
+
#
|
163
|
+
# e.g. merging `{a: 1}` and `{a: OMIT}` should produce `{}`, where merging
|
164
|
+
# `{a: 1}` and `{}` would produce `{a: 1}`.
|
165
|
+
OMIT = Object.new.freeze
|
166
|
+
|
167
|
+
class << self
|
168
|
+
# @private
|
169
|
+
#
|
170
|
+
# @param lhs [Object]
|
171
|
+
# @param rhs [Object]
|
172
|
+
# @param concat [Boolean]
|
173
|
+
#
|
174
|
+
# @return [Object]
|
175
|
+
#
|
176
|
+
private def deep_merge_lr(lhs, rhs, concat: false)
|
177
|
+
case [lhs, rhs, concat]
|
178
|
+
in [Hash, Hash, _]
|
179
|
+
# rubocop:disable Style/YodaCondition
|
180
|
+
rhs_cleaned = rhs.reject { |_, val| OMIT == val }
|
181
|
+
lhs
|
182
|
+
.reject { |key, _| OMIT == rhs[key] }
|
183
|
+
.merge(rhs_cleaned) do |_, old_val, new_val|
|
184
|
+
deep_merge_lr(old_val, new_val, concat: concat)
|
185
|
+
end
|
186
|
+
# rubocop:enable Style/YodaCondition
|
187
|
+
in [Array, Array, true]
|
188
|
+
lhs.concat(rhs)
|
189
|
+
else
|
190
|
+
rhs
|
191
|
+
end
|
192
|
+
end
|
193
|
+
|
194
|
+
# @private
|
195
|
+
#
|
196
|
+
# Recursively merge one hash with another. If the values at a given key are not
|
197
|
+
# both hashes, just take the new value.
|
198
|
+
#
|
199
|
+
# @param values [Array<Object>]
|
200
|
+
#
|
201
|
+
# @param sentinel [Object, nil] the value to return if no values are provided.
|
202
|
+
#
|
203
|
+
# @param concat [Boolean] whether to merge sequences by concatenation.
|
204
|
+
#
|
205
|
+
# @return [Object]
|
206
|
+
#
|
207
|
+
def deep_merge(*values, sentinel: nil, concat: false)
|
208
|
+
case values
|
209
|
+
in [value, *values]
|
210
|
+
values.reduce(value) do |acc, val|
|
211
|
+
deep_merge_lr(acc, val, concat: concat)
|
212
|
+
end
|
213
|
+
else
|
214
|
+
sentinel
|
215
|
+
end
|
216
|
+
end
|
217
|
+
|
218
|
+
# @private
|
219
|
+
#
|
220
|
+
# @param data [Hash{Symbol=>Object}, Array<Object>, Object]
|
221
|
+
# @param pick [Symbol, Integer, Array<Symbol, Integer>, nil]
|
222
|
+
# @param sentinel [Object, nil]
|
223
|
+
# @param blk [Proc, nil]
|
224
|
+
#
|
225
|
+
# @return [Object, nil]
|
226
|
+
#
|
227
|
+
def dig(data, pick, sentinel = nil, &blk)
|
228
|
+
case [data, pick, blk]
|
229
|
+
in [_, nil, nil]
|
230
|
+
data
|
231
|
+
in [Hash, Symbol, _] | [Array, Integer, _]
|
232
|
+
blk.nil? ? data.fetch(pick, sentinel) : data.fetch(pick, &blk)
|
233
|
+
in [Hash | Array, Array, _]
|
234
|
+
pick.reduce(data) do |acc, key|
|
235
|
+
case acc
|
236
|
+
in Hash if acc.key?(key)
|
237
|
+
acc.fetch(key)
|
238
|
+
in Array if key.is_a?(Integer) && key < acc.length
|
239
|
+
acc[key]
|
240
|
+
else
|
241
|
+
return blk.nil? ? sentinel : blk.call
|
242
|
+
end
|
243
|
+
end
|
244
|
+
in _
|
245
|
+
blk.nil? ? sentinel : blk.call
|
246
|
+
end
|
247
|
+
end
|
248
|
+
end
|
249
|
+
|
250
|
+
class << self
|
251
|
+
# @private
|
252
|
+
#
|
253
|
+
# @param uri [URI::Generic]
|
254
|
+
#
|
255
|
+
# @return [String]
|
256
|
+
#
|
257
|
+
def uri_origin(uri)
|
258
|
+
"#{uri.scheme}://#{uri.host}#{uri.port == uri.default_port ? '' : ":#{uri.port}"}"
|
259
|
+
end
|
260
|
+
|
261
|
+
# @private
|
262
|
+
#
|
263
|
+
# @param path [String, Array<String>]
|
264
|
+
#
|
265
|
+
# @return [String]
|
266
|
+
#
|
267
|
+
def interpolate_path(path)
|
268
|
+
case path
|
269
|
+
in String
|
270
|
+
path
|
271
|
+
in []
|
272
|
+
""
|
273
|
+
in [String, *interpolations]
|
274
|
+
encoded = interpolations.map { ERB::Util.url_encode(_1) }
|
275
|
+
path.first % encoded
|
276
|
+
end
|
277
|
+
end
|
278
|
+
end
|
279
|
+
|
280
|
+
class << self
|
281
|
+
# @private
|
282
|
+
#
|
283
|
+
# @param query [String, nil]
|
284
|
+
#
|
285
|
+
# @return [Hash{String=>Array<String>}]
|
286
|
+
#
|
287
|
+
def decode_query(query)
|
288
|
+
CGI.parse(query.to_s)
|
289
|
+
end
|
290
|
+
|
291
|
+
# @private
|
292
|
+
#
|
293
|
+
# @param query [Hash{String=>Array<String>, String, nil}, nil]
|
294
|
+
#
|
295
|
+
# @return [String, nil]
|
296
|
+
#
|
297
|
+
def encode_query(query)
|
298
|
+
query.to_h.empty? ? nil : URI.encode_www_form(query)
|
299
|
+
end
|
300
|
+
end
|
301
|
+
|
302
|
+
class << self
|
303
|
+
# @private
|
304
|
+
#
|
305
|
+
# @param url [URI::Generic, String]
|
306
|
+
#
|
307
|
+
# @return [Hash{Symbol=>String, Integer, nil}]
|
308
|
+
#
|
309
|
+
def parse_uri(url)
|
310
|
+
parsed = URI::Generic.component.zip(URI.split(url)).to_h
|
311
|
+
{**parsed, query: decode_query(parsed.fetch(:query))}
|
312
|
+
end
|
313
|
+
|
314
|
+
# @private
|
315
|
+
#
|
316
|
+
# @param parsed [Hash{Symbol=>String, Integer, nil}] .
|
317
|
+
#
|
318
|
+
# @option parsed [String, nil] :scheme
|
319
|
+
#
|
320
|
+
# @option parsed [String, nil] :host
|
321
|
+
#
|
322
|
+
# @option parsed [Integer, nil] :port
|
323
|
+
#
|
324
|
+
# @option parsed [String, nil] :path
|
325
|
+
#
|
326
|
+
# @option parsed [Hash{String=>Array<String>}] :query
|
327
|
+
#
|
328
|
+
# @return [URI::Generic]
|
329
|
+
#
|
330
|
+
def unparse_uri(parsed)
|
331
|
+
URI::Generic.build(**parsed, query: encode_query(parsed.fetch(:query)))
|
332
|
+
end
|
333
|
+
|
334
|
+
# @private
|
335
|
+
#
|
336
|
+
# @param lhs [Hash{Symbol=>String, Integer, nil}] .
|
337
|
+
#
|
338
|
+
# @option lhs [String, nil] :scheme
|
339
|
+
#
|
340
|
+
# @option lhs [String, nil] :host
|
341
|
+
#
|
342
|
+
# @option lhs [Integer, nil] :port
|
343
|
+
#
|
344
|
+
# @option lhs [String, nil] :path
|
345
|
+
#
|
346
|
+
# @option lhs [Hash{String=>Array<String>}] :query
|
347
|
+
#
|
348
|
+
# @param rhs [Hash{Symbol=>String, Integer, nil}] .
|
349
|
+
#
|
350
|
+
# @option rhs [String, nil] :scheme
|
351
|
+
#
|
352
|
+
# @option rhs [String, nil] :host
|
353
|
+
#
|
354
|
+
# @option rhs [Integer, nil] :port
|
355
|
+
#
|
356
|
+
# @option rhs [String, nil] :path
|
357
|
+
#
|
358
|
+
# @option rhs [Hash{String=>Array<String>}] :query
|
359
|
+
#
|
360
|
+
# @return [URI::Generic]
|
361
|
+
#
|
362
|
+
def join_parsed_uri(lhs, rhs)
|
363
|
+
base_path, base_query = lhs.fetch_values(:path, :query)
|
364
|
+
slashed = base_path.end_with?("/") ? base_path : "#{base_path}/"
|
365
|
+
|
366
|
+
parsed_path, parsed_query = parse_uri(rhs.fetch(:path)).fetch_values(:path, :query)
|
367
|
+
override = URI::Generic.build(**rhs.slice(:scheme, :host, :port), path: parsed_path)
|
368
|
+
|
369
|
+
joined = URI.join(URI::Generic.build(lhs.except(:path, :query)), slashed, override)
|
370
|
+
query = deep_merge(
|
371
|
+
joined.path == base_path ? base_query : {},
|
372
|
+
parsed_query,
|
373
|
+
rhs[:query].to_h,
|
374
|
+
concat: true
|
375
|
+
)
|
376
|
+
|
377
|
+
joined.query = encode_query(query)
|
378
|
+
joined
|
379
|
+
end
|
380
|
+
end
|
381
|
+
|
382
|
+
class << self
|
383
|
+
# @private
|
384
|
+
#
|
385
|
+
# @param headers [Array<Hash{String=>String, Integer, nil}>]
|
386
|
+
#
|
387
|
+
# @return [Hash{String=>String}]
|
388
|
+
#
|
389
|
+
def normalized_headers(*headers)
|
390
|
+
{}.merge(*headers.compact).to_h do |key, val|
|
391
|
+
[key.downcase, val&.to_s&.strip]
|
392
|
+
end
|
393
|
+
end
|
394
|
+
end
|
395
|
+
|
396
|
+
class << self
|
397
|
+
# @private
|
398
|
+
#
|
399
|
+
# @param io [StringIO]
|
400
|
+
# @param boundary [String]
|
401
|
+
# @param key [Symbol, String]
|
402
|
+
# @param val [Object]
|
403
|
+
#
|
404
|
+
private def encode_multipart_formdata(io, boundary:, key:, val:)
|
405
|
+
io << "--#{boundary}\r\n"
|
406
|
+
io << "Content-Disposition: form-data"
|
407
|
+
unless key.nil?
|
408
|
+
name = ERB::Util.url_encode(key.to_s)
|
409
|
+
io << "; name=\"#{name}\""
|
410
|
+
end
|
411
|
+
if val.is_a?(IO)
|
412
|
+
filename = ERB::Util.url_encode(File.basename(val.to_path))
|
413
|
+
io << "; filename=\"#{filename}\""
|
414
|
+
end
|
415
|
+
io << "\r\n"
|
416
|
+
case val
|
417
|
+
in IO | StringIO
|
418
|
+
io << "Content-Type: application/octet-stream\r\n\r\n"
|
419
|
+
IO.copy_stream(val, io)
|
420
|
+
in String
|
421
|
+
io << "Content-Type: application/octet-stream\r\n\r\n"
|
422
|
+
io << val.to_s
|
423
|
+
in true | false | Integer | Float | Symbol
|
424
|
+
io << "Content-Type: text/plain\r\n\r\n"
|
425
|
+
io << val.to_s
|
426
|
+
else
|
427
|
+
io << "Content-Type: application/json\r\n\r\n"
|
428
|
+
io << JSON.fast_generate(val)
|
429
|
+
end
|
430
|
+
io << "\r\n"
|
431
|
+
end
|
432
|
+
|
433
|
+
# @private
|
434
|
+
#
|
435
|
+
# @param headers [Hash{String=>String}]
|
436
|
+
# @param body [Object]
|
437
|
+
#
|
438
|
+
# @return [Object]
|
439
|
+
#
|
440
|
+
def encode_content(headers, body)
|
441
|
+
content_type = headers["content-type"]
|
442
|
+
case [content_type, body]
|
443
|
+
in ["application/json", Hash | Array]
|
444
|
+
[headers, JSON.fast_generate(body)]
|
445
|
+
in [%r{^multipart/form-data}, Hash | IO | StringIO]
|
446
|
+
boundary = SecureRandom.urlsafe_base64(60)
|
447
|
+
strio = StringIO.new.tap do |io|
|
448
|
+
case body
|
449
|
+
in Hash
|
450
|
+
body.each do |key, val|
|
451
|
+
case val
|
452
|
+
in Array if val.all? { primitive?(_1) }
|
453
|
+
val.each do |v|
|
454
|
+
encode_multipart_formdata(io, boundary: boundary, key: key, val: v)
|
455
|
+
end
|
456
|
+
else
|
457
|
+
encode_multipart_formdata(io, boundary: boundary, key: key, val: val)
|
458
|
+
end
|
459
|
+
end
|
460
|
+
else
|
461
|
+
encode_multipart_formdata(io, boundary: boundary, key: nil, val: body)
|
462
|
+
end
|
463
|
+
io << "--#{boundary}--\r\n"
|
464
|
+
io.rewind
|
465
|
+
end
|
466
|
+
headers = {
|
467
|
+
**headers,
|
468
|
+
"content-type" => "#{content_type}; boundary=#{boundary}",
|
469
|
+
"transfer-encoding" => "chunked"
|
470
|
+
}
|
471
|
+
[headers, strio]
|
472
|
+
in [_, StringIO]
|
473
|
+
[headers, body.string]
|
474
|
+
in [_, IO]
|
475
|
+
headers = {**headers, "transfer-encoding" => "chunked"}
|
476
|
+
[headers, body]
|
477
|
+
else
|
478
|
+
[headers, body]
|
479
|
+
end
|
480
|
+
end
|
481
|
+
|
482
|
+
# @private
|
483
|
+
#
|
484
|
+
# @param headers [Hash{String=>String}, Net::HTTPHeader]
|
485
|
+
# @param stream [Enumerable]
|
486
|
+
# @param suppress_error [Boolean]
|
487
|
+
#
|
488
|
+
# @raise [JSON::ParserError]
|
489
|
+
# @return [Object]
|
490
|
+
#
|
491
|
+
def decode_content(headers, stream:, suppress_error: false)
|
492
|
+
case headers["content-type"]
|
493
|
+
in %r{^application/json}
|
494
|
+
json = stream.to_a.join
|
495
|
+
begin
|
496
|
+
JSON.parse(json, symbolize_names: true)
|
497
|
+
rescue JSON::ParserError => e
|
498
|
+
raise e unless suppress_error
|
499
|
+
json
|
500
|
+
end
|
501
|
+
in %r{^text/}
|
502
|
+
stream.to_a.join
|
503
|
+
else
|
504
|
+
# TODO: parsing other response types
|
505
|
+
StringIO.new(stream.to_a.join)
|
506
|
+
end
|
507
|
+
end
|
508
|
+
end
|
509
|
+
end
|
510
|
+
|
511
|
+
# rubocop:enable Metrics/ModuleLength
|
512
|
+
end
|
@@ -0,0 +1,116 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Standard libraries.
|
4
|
+
require "cgi"
|
5
|
+
require "date"
|
6
|
+
require "erb"
|
7
|
+
require "etc"
|
8
|
+
require "json"
|
9
|
+
require "net/http"
|
10
|
+
require "rbconfig"
|
11
|
+
require "securerandom"
|
12
|
+
require "set"
|
13
|
+
require "stringio"
|
14
|
+
require "time"
|
15
|
+
require "uri"
|
16
|
+
|
17
|
+
# Gems.
|
18
|
+
require "connection_pool"
|
19
|
+
|
20
|
+
# Package files.
|
21
|
+
require_relative "onebusaway-sdk/version"
|
22
|
+
require_relative "onebusaway-sdk/util"
|
23
|
+
require_relative "onebusaway-sdk/extern"
|
24
|
+
require_relative "onebusaway-sdk/base_model"
|
25
|
+
require_relative "onebusaway-sdk/base_page"
|
26
|
+
require_relative "onebusaway-sdk/request_options"
|
27
|
+
require_relative "onebusaway-sdk/errors"
|
28
|
+
require_relative "onebusaway-sdk/base_client"
|
29
|
+
require_relative "onebusaway-sdk/pooled_net_requester"
|
30
|
+
require_relative "onebusaway-sdk/client"
|
31
|
+
require_relative "onebusaway-sdk/models/response_wrapper"
|
32
|
+
require_relative "onebusaway-sdk/models/agencies_with_coverage_list_params"
|
33
|
+
require_relative "onebusaway-sdk/models/agencies_with_coverage_list_response"
|
34
|
+
require_relative "onebusaway-sdk/models/agency_retrieve_params"
|
35
|
+
require_relative "onebusaway-sdk/models/agency_retrieve_response"
|
36
|
+
require_relative "onebusaway-sdk/models/arrival_and_departure_list_params"
|
37
|
+
require_relative "onebusaway-sdk/models/arrival_and_departure_list_response"
|
38
|
+
require_relative "onebusaway-sdk/models/arrival_and_departure_retrieve_params"
|
39
|
+
require_relative "onebusaway-sdk/models/arrival_and_departure_retrieve_response"
|
40
|
+
require_relative "onebusaway-sdk/models/block_retrieve_params"
|
41
|
+
require_relative "onebusaway-sdk/models/block_retrieve_response"
|
42
|
+
require_relative "onebusaway-sdk/models/config_retrieve_params"
|
43
|
+
require_relative "onebusaway-sdk/models/config_retrieve_response"
|
44
|
+
require_relative "onebusaway-sdk/models/current_time_retrieve_params"
|
45
|
+
require_relative "onebusaway-sdk/models/current_time_retrieve_response"
|
46
|
+
require_relative "onebusaway-sdk/models/references"
|
47
|
+
require_relative "onebusaway-sdk/models/report_problem_with_stop_retrieve_params"
|
48
|
+
require_relative "onebusaway-sdk/models/report_problem_with_trip_retrieve_params"
|
49
|
+
require_relative "onebusaway-sdk/models/route_ids_for_agency_list_params"
|
50
|
+
require_relative "onebusaway-sdk/models/route_ids_for_agency_list_response"
|
51
|
+
require_relative "onebusaway-sdk/models/route_retrieve_params"
|
52
|
+
require_relative "onebusaway-sdk/models/route_retrieve_response"
|
53
|
+
require_relative "onebusaway-sdk/models/routes_for_agency_list_params"
|
54
|
+
require_relative "onebusaway-sdk/models/routes_for_agency_list_response"
|
55
|
+
require_relative "onebusaway-sdk/models/routes_for_location_list_params"
|
56
|
+
require_relative "onebusaway-sdk/models/routes_for_location_list_response"
|
57
|
+
require_relative "onebusaway-sdk/models/schedule_for_route_retrieve_params"
|
58
|
+
require_relative "onebusaway-sdk/models/schedule_for_route_retrieve_response"
|
59
|
+
require_relative "onebusaway-sdk/models/schedule_for_stop_retrieve_params"
|
60
|
+
require_relative "onebusaway-sdk/models/schedule_for_stop_retrieve_response"
|
61
|
+
require_relative "onebusaway-sdk/models/search_for_route_list_params"
|
62
|
+
require_relative "onebusaway-sdk/models/search_for_route_list_response"
|
63
|
+
require_relative "onebusaway-sdk/models/search_for_stop_list_params"
|
64
|
+
require_relative "onebusaway-sdk/models/search_for_stop_list_response"
|
65
|
+
require_relative "onebusaway-sdk/models/shape_retrieve_params"
|
66
|
+
require_relative "onebusaway-sdk/models/shape_retrieve_response"
|
67
|
+
require_relative "onebusaway-sdk/models/stop_ids_for_agency_list_params"
|
68
|
+
require_relative "onebusaway-sdk/models/stop_ids_for_agency_list_response"
|
69
|
+
require_relative "onebusaway-sdk/models/stop_retrieve_params"
|
70
|
+
require_relative "onebusaway-sdk/models/stop_retrieve_response"
|
71
|
+
require_relative "onebusaway-sdk/models/stops_for_agency_list_params"
|
72
|
+
require_relative "onebusaway-sdk/models/stops_for_agency_list_response"
|
73
|
+
require_relative "onebusaway-sdk/models/stops_for_location_list_params"
|
74
|
+
require_relative "onebusaway-sdk/models/stops_for_location_list_response"
|
75
|
+
require_relative "onebusaway-sdk/models/stops_for_route_list_params"
|
76
|
+
require_relative "onebusaway-sdk/models/stops_for_route_list_response"
|
77
|
+
require_relative "onebusaway-sdk/models/trip_detail_retrieve_params"
|
78
|
+
require_relative "onebusaway-sdk/models/trip_detail_retrieve_response"
|
79
|
+
require_relative "onebusaway-sdk/models/trip_for_vehicle_retrieve_params"
|
80
|
+
require_relative "onebusaway-sdk/models/trip_for_vehicle_retrieve_response"
|
81
|
+
require_relative "onebusaway-sdk/models/trip_retrieve_params"
|
82
|
+
require_relative "onebusaway-sdk/models/trip_retrieve_response"
|
83
|
+
require_relative "onebusaway-sdk/models/trips_for_location_list_params"
|
84
|
+
require_relative "onebusaway-sdk/models/trips_for_location_list_response"
|
85
|
+
require_relative "onebusaway-sdk/models/trips_for_route_list_params"
|
86
|
+
require_relative "onebusaway-sdk/models/trips_for_route_list_response"
|
87
|
+
require_relative "onebusaway-sdk/models/vehicles_for_agency_list_params"
|
88
|
+
require_relative "onebusaway-sdk/models/vehicles_for_agency_list_response"
|
89
|
+
require_relative "onebusaway-sdk/resources/agencies_with_coverage"
|
90
|
+
require_relative "onebusaway-sdk/resources/agency"
|
91
|
+
require_relative "onebusaway-sdk/resources/arrival_and_departure"
|
92
|
+
require_relative "onebusaway-sdk/resources/block"
|
93
|
+
require_relative "onebusaway-sdk/resources/config"
|
94
|
+
require_relative "onebusaway-sdk/resources/current_time"
|
95
|
+
require_relative "onebusaway-sdk/resources/report_problem_with_stop"
|
96
|
+
require_relative "onebusaway-sdk/resources/report_problem_with_trip"
|
97
|
+
require_relative "onebusaway-sdk/resources/route"
|
98
|
+
require_relative "onebusaway-sdk/resources/route_ids_for_agency"
|
99
|
+
require_relative "onebusaway-sdk/resources/routes_for_agency"
|
100
|
+
require_relative "onebusaway-sdk/resources/routes_for_location"
|
101
|
+
require_relative "onebusaway-sdk/resources/schedule_for_route"
|
102
|
+
require_relative "onebusaway-sdk/resources/schedule_for_stop"
|
103
|
+
require_relative "onebusaway-sdk/resources/search_for_route"
|
104
|
+
require_relative "onebusaway-sdk/resources/search_for_stop"
|
105
|
+
require_relative "onebusaway-sdk/resources/shape"
|
106
|
+
require_relative "onebusaway-sdk/resources/stop"
|
107
|
+
require_relative "onebusaway-sdk/resources/stop_ids_for_agency"
|
108
|
+
require_relative "onebusaway-sdk/resources/stops_for_agency"
|
109
|
+
require_relative "onebusaway-sdk/resources/stops_for_location"
|
110
|
+
require_relative "onebusaway-sdk/resources/stops_for_route"
|
111
|
+
require_relative "onebusaway-sdk/resources/trip"
|
112
|
+
require_relative "onebusaway-sdk/resources/trip_details"
|
113
|
+
require_relative "onebusaway-sdk/resources/trip_for_vehicle"
|
114
|
+
require_relative "onebusaway-sdk/resources/trips_for_location"
|
115
|
+
require_relative "onebusaway-sdk/resources/trips_for_route"
|
116
|
+
require_relative "onebusaway-sdk/resources/vehicles_for_agency"
|