ratis 3.3.6 → 3.3.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. checksums.yaml +7 -0
  2. data/.rvmrc +1 -1
  3. data/CHANGELOG +8 -1
  4. data/Gemfile +1 -1
  5. data/Gemfile.lock +33 -35
  6. data/lib/ratis.rb +1 -1
  7. data/lib/ratis/landmark.rb +4 -3
  8. data/lib/ratis/landmark_category.rb +11 -7
  9. data/lib/ratis/location.rb +1 -0
  10. data/lib/ratis/route_stops.rb +0 -6
  11. data/lib/ratis/version.rb +1 -1
  12. data/lib/ratis/walkstop.rb +54 -0
  13. data/ratis.gemspec +3 -5
  14. data/spec/ratis/area_spec.rb +1 -1
  15. data/spec/ratis/closest_stop_spec.rb +2 -2
  16. data/spec/ratis/itinerary_spec.rb +8 -711
  17. data/spec/ratis/landmark_category_spec.rb +40 -32
  18. data/spec/ratis/landmark_spec.rb +4 -33
  19. data/spec/ratis/location_spec.rb +69 -177
  20. data/spec/ratis/next_bus2_spec.rb +21 -21
  21. data/spec/ratis/next_bus_spec.rb +19 -21
  22. data/spec/ratis/pattern_spec.rb +3 -3
  23. data/spec/ratis/plantrip_spec.rb +92 -0
  24. data/spec/ratis/point_2_point_spec.rb +12 -12
  25. data/spec/ratis/request_spec.rb +0 -1
  26. data/spec/ratis/route_pattern_spec.rb +16 -15
  27. data/spec/ratis/route_stops_spec.rb +10 -10
  28. data/spec/ratis/routes_spec.rb +5 -5
  29. data/spec/ratis/schedule_nearby_spec.rb +1 -1
  30. data/spec/ratis/timetable_spec.rb +3 -3
  31. data/spec/ratis/walkstop_spec.rb +94 -0
  32. data/spec/spec_helper.rb +16 -11
  33. data/spec/support/vcr_cassettes/Nextbus2_running_LATE.yml +142 -574
  34. data/spec/support/vcr_cassettes/Nextbus_running_LATE.yml +101 -137
  35. data/spec/support/vcr_cassettes/Point2Point.yml +63 -162
  36. data/spec/support/vcr_cassettes/Ratis_Area/_all/only_makes_one_request.yml +52 -0
  37. data/spec/support/vcr_cassettes/Ratis_ClosestStop/_where/only_makes_one_request.yml +70 -0
  38. data/spec/support/vcr_cassettes/Ratis_ClosestStop/_where/parses_out_the_stop_fields_correctly.yml +70 -0
  39. data/spec/support/vcr_cassettes/Ratis_ClosestStop/_where/returns_multiple_locations.yml +70 -0
  40. data/spec/support/vcr_cassettes/Ratis_ClosestStop/_where/should_return_a_collection_of_Ratis_Stop_s_.yml +70 -0
  41. data/spec/support/vcr_cassettes/Ratis_LandmarkCategory/_all/only_makes_one_request.yml +117 -0
  42. data/spec/support/vcr_cassettes/Ratis_LandmarkCategory/_all/should_return_a_collection_of_Ratis_LandmarkCategory_s_.yml +117 -0
  43. data/spec/support/vcr_cassettes/Ratis_LandmarkCategory/_all/should_return_all_landmark_categories.yml +117 -0
  44. data/spec/support/vcr_cassettes/Ratis_LandmarkCategory/_web_categories/does_something.yml +117 -0
  45. data/spec/support/vcr_cassettes/Ratis_Location/_where/only_makes_one_request.yml +54 -0
  46. data/spec/support/vcr_cassettes/Ratis_Location/_where/parses_out_fields_correctly.yml +54 -0
  47. data/spec/support/vcr_cassettes/Ratis_Location/_where/should_return_a_collection_of_Ratis_Location_s_.yml +54 -0
  48. data/spec/support/vcr_cassettes/Ratis_NextBus/_where/multiple_services_returned/only_makes_one_request.yml +109 -0
  49. data/spec/support/vcr_cassettes/Ratis_NextBus/_where/multiple_services_returned/returns_the_next_4_bus_times.yml +109 -0
  50. data/spec/support/vcr_cassettes/Ratis_NextBus/_where/multiple_services_returned/should_map_all_the_services_to_service_openstruct_objects.yml +109 -0
  51. data/spec/support/vcr_cassettes/Ratis_NextBus/_where/multiple_services_returned/should_raise_error_if_datetime_condition_is_not_a_DateTime_or_Time.yml +211 -0
  52. data/spec/support/vcr_cassettes/Ratis_NextBus/_where/single_service_return/only_makes_one_request.yml +75 -0
  53. data/spec/support/vcr_cassettes/Ratis_NextBus/_where/single_service_return/returns_the_next_bus_times.yml +75 -0
  54. data/spec/support/vcr_cassettes/Ratis_NextBus/_where/single_service_return/should_raise_error_if_datetime_condition_is_not_a_DateTime_or_Time.yml +143 -0
  55. data/spec/support/vcr_cassettes/Ratis_NextBus/_where/single_service_return/should_set_all_the_service_values_to_instance_vars.yml +75 -0
  56. data/spec/support/vcr_cassettes/Ratis_NextBus2/_where/Developer_can_find_a_late_bus_to_a_stop/runs/should_set_the_run_values_to_instance_vars.yml +180 -0
  57. data/spec/support/vcr_cassettes/Ratis_NextBus2/_where/Developer_can_find_a_late_bus_to_a_stop/single_next_bus/only_makes_one_request.yml +180 -0
  58. data/spec/support/vcr_cassettes/Ratis_NextBus2/_where/Developer_can_find_a_late_bus_to_a_stop/single_next_bus/requests_the_correct_SOAP_action.yml +180 -0
  59. data/spec/support/vcr_cassettes/Ratis_NextBus2/_where/Developer_can_find_a_late_bus_to_a_stop/stops/should_set_the_stop_values_to_instance_vars.yml +180 -0
  60. data/spec/support/vcr_cassettes/Ratis_Pattern/_all/only_makes_one_request.yml +56 -0
  61. data/spec/support/vcr_cassettes/Ratis_Pattern/_all/should_parse_the_route_info_fields.yml +56 -0
  62. data/spec/support/vcr_cassettes/Ratis_Pattern/_all/should_return_a_collection_Pattern_RouteInfo_s_.yml +56 -0
  63. data/spec/support/vcr_cassettes/Ratis_Pattern/_all/should_return_no_data_error_when_date_is_in_the_past.yml +53 -0
  64. data/spec/support/vcr_cassettes/Ratis_Plantrip/_where/creates_Ratis_Itineraries_for_each_trip_itinerary.yml +88 -0
  65. data/spec/support/vcr_cassettes/Ratis_Plantrip/_where/only_makes_one_request.yml +88 -0
  66. data/spec/support/vcr_cassettes/Ratis_Plantrip/_where/returns_a_Plantrip_object.yml +88 -0
  67. data/spec/support/vcr_cassettes/Ratis_Plantrip/_where/should_set_all_the_Plantrip_values_to_instance_vars.yml +88 -0
  68. data/spec/support/vcr_cassettes/Ratis_Point2Point/Routesonly_N/_where/gets_the_groups.yml +134 -0
  69. data/spec/support/vcr_cassettes/Ratis_Point2Point/Routesonly_N/_where/gets_the_trips_within_each_group.yml +134 -0
  70. data/spec/support/vcr_cassettes/Ratis_Point2Point/Routesonly_N/_where/only_makes_one_request.yml +134 -0
  71. data/spec/support/vcr_cassettes/Ratis_Point2Point/Routesonly_N/_where/parses_out_the_off_stop_fields.yml +134 -0
  72. data/spec/support/vcr_cassettes/Ratis_Point2Point/Routesonly_N/_where/parses_out_the_on_stop_fields.yml +134 -0
  73. data/spec/support/vcr_cassettes/Ratis_Point2Point/Routesonly_N/_where/parses_out_the_service.yml +134 -0
  74. data/spec/support/vcr_cassettes/Ratis_Point2Point/Routesonly_N/_where/parses_out_the_trip.yml +134 -0
  75. data/spec/support/vcr_cassettes/Ratis_Point2Point/Routesonly_N/_where/should_only_return_result_groups_for_filtered_route.yml +62 -0
  76. data/spec/support/vcr_cassettes/Ratis_Point2Point/Routesonly_N/_where/should_only_return_result_groups_for_filtered_routes.yml +68 -0
  77. data/spec/support/vcr_cassettes/Ratis_Point2Point/Routesonly_N/_where/should_raise_error_if_the_trip_is_NOT_possible_for_a_route_being_attempted_to_filter_on.yml +53 -0
  78. data/spec/support/vcr_cassettes/Ratis_Point2Point/Routesonly_Y/_where/services_from_origin_to_destination/only_makes_one_request.yml +72 -0
  79. data/spec/support/vcr_cassettes/Ratis_Point2Point/Routesonly_Y/_where/services_from_origin_to_destination/parses_out_service_fields.yml +72 -0
  80. data/spec/support/vcr_cassettes/Ratis_Point2Point/Routesonly_Y/_where/services_from_origin_to_destination/returns_a_routes_only_response_for_each_matched_service.yml +72 -0
  81. data/spec/support/vcr_cassettes/Ratis_Point2Point/Routesonly_Y/_where/services_from_origin_to_destination/returns_all_matching_services_that_fit_the_origin/destination_for_a_given_time_frame.yml +72 -0
  82. data/spec/support/vcr_cassettes/Ratis_Point2Point/Routesonly_Y/_where/services_from_origin_to_destination/should_NOT_filter_by_passed_in_routes.yml +72 -0
  83. data/spec/support/vcr_cassettes/Ratis_RoutePattern/_where/only_makes_one_request.yml +152 -0
  84. data/spec/support/vcr_cassettes/Ratis_RoutePattern/_where/should_parse_the_stop_fields.yml +152 -0
  85. data/spec/support/vcr_cassettes/Ratis_RoutePattern/_where/should_return_a_collection_Ratis_RoutePattern_Point_s_.yml +152 -0
  86. data/spec/support/vcr_cassettes/Ratis_RoutePattern/_where/should_return_a_collection_Ratis_RoutePattern_Stop_s_.yml +152 -0
  87. data/spec/support/vcr_cassettes/Ratis_RouteStops/_all/only_makes_one_request.yml +94 -0
  88. data/spec/support/vcr_cassettes/Ratis_RouteStops/_all/parses_out_the_stop_fields_correctly.yml +94 -0
  89. data/spec/support/vcr_cassettes/Ratis_RouteStops/_all/should_return_a_collection_of_Ratis_RouteStops_Stop_s_.yml +94 -0
  90. data/spec/support/vcr_cassettes/Ratis_Routes/_all/only_makes_one_request.yml +779 -0
  91. data/spec/support/vcr_cassettes/Ratis_Routes/_all/returns_all_routes.yml +779 -0
  92. data/spec/support/vcr_cassettes/Ratis_Routes/_all/should_set_directions_and_short_name_to_variables.yml +779 -0
  93. data/spec/support/vcr_cassettes/Ratis_ScheduleNearby/_where/only_makes_one_request.yml +92 -0
  94. data/spec/support/vcr_cassettes/Ratis_ScheduleNearby/_where/returns_a_non_nil_ScheduleNearby.yml +92 -0
  95. data/spec/support/vcr_cassettes/Ratis_ScheduleNearby/_where/returns_a_single_service_at_the_stop.yml +92 -0
  96. data/spec/support/vcr_cassettes/Ratis_ScheduleNearby/_where/returns_all_the_stops.yml +92 -0
  97. data/spec/support/vcr_cassettes/Ratis_ScheduleNearby/_where/should_return_no_data_error_when_date_is_in_the_past.yml +53 -0
  98. data/spec/support/vcr_cassettes/Ratis_Timetable/_where/only_makes_one_request.yml +722 -0
  99. data/spec/support/vcr_cassettes/Ratis_Timetable/_where/should_parse_the_timetable/stop/trip_fields.yml +722 -0
  100. data/spec/support/vcr_cassettes/Ratis_Timetable/_where/should_return_a_collection_Timetable_Stop_s_.yml +722 -0
  101. data/spec/support/vcr_cassettes/Ratis_Walkstop/_where/only_makes_one_request.yml +53 -0
  102. data/spec/support/vcr_cassettes/Ratis_Walkstop/_where/should_set_all_the_walkstop_values_to_instance_vars.yml +53 -0
  103. metadata +241 -219
  104. data/lib/ratis/walk.rb +0 -37
  105. data/spec/ratis/walk_spec.rb +0 -72
  106. data/spec/support/vcr_cassettes/Nextbus.yml +0 -145
  107. data/spec/support/vcr_cassettes/Nextbus2.yml +0 -336
@@ -0,0 +1,54 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://soap.valleymetro.org/cgi-bin-soap-web-262/soap.cgi
6
+ body:
7
+ encoding: UTF-8
8
+ string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
9
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="PX_WEB"
10
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><Locate xmlns="PX_WEB"><Appid>WEB</Appid><Location>1315
11
+ W. Straford Dr.</Location><Area xsi:nil="true"/><Region xsi:nil="true"/><Maxanswers>20</Maxanswers><Media>W</Media></Locate></env:Body></env:Envelope>
12
+ headers:
13
+ Soapaction:
14
+ - '"PX_WEB#Locate"'
15
+ Content-Type:
16
+ - text/xml;charset=UTF-8
17
+ Content-Length:
18
+ - '441'
19
+ Accept-Encoding:
20
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
21
+ Accept:
22
+ - '*/*'
23
+ User-Agent:
24
+ - Ruby
25
+ response:
26
+ status:
27
+ code: 200
28
+ message: OK
29
+ headers:
30
+ Date:
31
+ - Mon, 06 Jan 2014 23:53:41 GMT
32
+ Server:
33
+ - Apache/2.2.3 (CentOS)
34
+ Soapserver:
35
+ - SOAP::Lite/Perl/0.55
36
+ Content-Length:
37
+ - '1133'
38
+ Connection:
39
+ - close
40
+ Content-Type:
41
+ - text/xml; charset=utf-8
42
+ body:
43
+ encoding: UTF-8
44
+ string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?><SOAP-ENV:Envelope xmlns:xsi=\"http://www.w3.org/1999/XMLSchema-instance\"
45
+ xmlns:SOAP-ENC=\"http://schemas.xmlsoap.org/soap/encoding/\" xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\"
46
+ xmlns:xsd=\"http://www.w3.org/1999/XMLSchema\" SOAP-ENV:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\"><SOAP-ENV:Body><namesp1:LocateResponse
47
+ xmlns:namesp1=\"PX_WEB\">\n\t<Responsecode>ok</Responsecode>\n\t<Hint>1</Hint>\n\t<Version>1.13</Version>\n\t<Projection>SP</Projection>\n\t<Locationtype>A</Locationtype>\n\t<Location>\n\t\t<Name>W
48
+ STRAFORD DR</Name>\n\t\t<Area>Chandler</Area>\n\t\t<Areacode>CH</Areacode>\n\t\t<Region>1</Region>\n\t\t<Zipname>85224
49
+ - Chandler</Zipname>\n\t\t<Latitude>33.353202</Latitude>\n\t\t<Longitude>-111.864902</Longitude>\n\t\t<Address>1315</Address>\n\t\t<Landmarkid>0</Landmarkid>\n\t</Location>\n\t<Requestor>68.226.126.17</Requestor>\n\t<Host>s-rpta-soap</Host>\n\t<Copyright>XML
50
+ schema Copyright (c) 2003-2013 Trapeze Software ULC, its subsidiaries and
51
+ affiliates. All rights reserved.</Copyright>\n\t<Soapversion>2.6.3 - 11/14/13</Soapversion>\n</namesp1:LocateResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>"
52
+ http_version:
53
+ recorded_at: Mon, 06 Jan 2014 23:53:42 GMT
54
+ recorded_with: VCR 2.8.0
@@ -0,0 +1,109 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://soap.valleymetro.org/cgi-bin-soap-web-262/soap.cgi
6
+ body:
7
+ encoding: UTF-8
8
+ string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
9
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="PX_WEB"
10
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><Nextbus xmlns="PX_WEB"><Stopid>15894</Stopid><Appid>ratis-specs</Appid><Date>01/13/2014</Date><Time>1500</Time><Type>N</Type></Nextbus></env:Body></env:Envelope>
11
+ headers:
12
+ Soapaction:
13
+ - '"PX_WEB#Nextbus"'
14
+ Content-Type:
15
+ - text/xml;charset=UTF-8
16
+ Content-Length:
17
+ - '397'
18
+ Accept-Encoding:
19
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ Accept:
21
+ - '*/*'
22
+ User-Agent:
23
+ - Ruby
24
+ response:
25
+ status:
26
+ code: 200
27
+ message: OK
28
+ headers:
29
+ Date:
30
+ - Mon, 06 Jan 2014 23:53:37 GMT
31
+ Server:
32
+ - Apache/2.2.3 (CentOS)
33
+ Soapserver:
34
+ - SOAP::Lite/Perl/0.55
35
+ Content-Length:
36
+ - '8829'
37
+ Connection:
38
+ - close
39
+ Content-Type:
40
+ - text/xml; charset=utf-8
41
+ body:
42
+ encoding: UTF-8
43
+ string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?><SOAP-ENV:Envelope xmlns:xsi=\"http://www.w3.org/1999/XMLSchema-instance\"
44
+ xmlns:SOAP-ENC=\"http://schemas.xmlsoap.org/soap/encoding/\" xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\"
45
+ xmlns:xsd=\"http://www.w3.org/1999/XMLSchema\" SOAP-ENV:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\"><SOAP-ENV:Body><namesp1:NextbusResponse
46
+ xmlns:namesp1=\"PX_WEB\">\n\t<Responsecode>0</Responsecode>\n\t<Version>1.26</Version>\n\t<Input>\n\t\t<Locationlat></Locationlat>\n\t\t<Locationlong></Locationlong>\n\t\t<Locationtext></Locationtext>\n\t\t<Atisstopid>0</Atisstopid>\n\t\t<Stopid>15894</Stopid>\n\t\t<Landmarkid></Landmarkid>\n\t\t<Date>01/13/2014</Date>\n\t\t<Time>03:00
47
+ PM</Time>\n\t\t<Route></Route>\n\t</Input>\n\t<Atstop>\n\t\t<Walkdist>0.00</Walkdist>\n\t\t<Description>ELLIOT
48
+ RD &amp; CENTRAL DR</Description>\n\t\t<Area>Chandler</Area>\n\t\t<Atisstopid>6567</Atisstopid>\n\t\t<Stopid>15894</Stopid>\n\t\t<Lat>33.349730</Lat>\n\t\t<Long>-111.865807</Long>\n\t\t<Stopposition>Y</Stopposition>\n\t\t<Heading>WB</Heading>\n\t\t<Side>Far</Side>\n\t\t<Stopstatustype>N</Stopstatustype>\n\t\t<Service>\n\t\t\t<Route>108</Route>\n\t\t\t<Publicroute>108</Publicroute>\n\t\t\t<Sign>108
49
+ Elliot/48th St West To 40th St/Pecos</Sign>\n\t\t\t<Operator>FTE</Operator>\n\t\t\t<Publicoperator>FTE</Publicoperator>\n\t\t\t<Direction>W</Direction>\n\t\t\t<Status>N</Status>\n\t\t\t<Servicetype>W</Servicetype>\n\t\t\t<Routetype>B</Routetype>\n\t\t\t<Times>07:07
50
+ AM, 03:07 PM, 03:37 PM, 04:07 PM</Times>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>07:07
51
+ AM</Triptime>\n\t\t\t\t<Tripid>11912-1</Tripid>\n\t\t\t\t<Skedtripid> </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>07:07
52
+ AM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>07:07
53
+ AM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
54
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
55
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5610</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>03:07
56
+ PM</Triptime>\n\t\t\t\t<Tripid>11912-2</Tripid>\n\t\t\t\t<Skedtripid> </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>03:07
57
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>03:07
58
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
59
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
60
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5605</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>03:37
61
+ PM</Triptime>\n\t\t\t\t<Tripid>11912-2</Tripid>\n\t\t\t\t<Skedtripid> </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>03:37
62
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>03:37
63
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
64
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
65
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5606</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>04:07
66
+ PM</Triptime>\n\t\t\t\t<Tripid>11912-3</Tripid>\n\t\t\t\t<Skedtripid> </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>04:07
67
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>04:07
68
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
69
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
70
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5609</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t</Service>\n\t\t<Service>\n\t\t\t<Route>108</Route>\n\t\t\t<Publicroute>108</Publicroute>\n\t\t\t<Sign>108
71
+ Elliot/48th St West To 48th St/Chandler</Sign>\n\t\t\t<Operator>FTE</Operator>\n\t\t\t<Publicoperator>FTE</Publicoperator>\n\t\t\t<Direction>W</Direction>\n\t\t\t<Status>N</Status>\n\t\t\t<Servicetype>W</Servicetype>\n\t\t\t<Routetype>B</Routetype>\n\t\t\t<Times>02:07
72
+ PM, 07:07 PM, 07:37 PM, 08:07 PM</Times>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>02:07
73
+ PM</Triptime>\n\t\t\t\t<Tripid>11913-6</Tripid>\n\t\t\t\t<Skedtripid> </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>02:07
74
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>02:07
75
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
76
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
77
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5600</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>07:07
78
+ PM</Triptime>\n\t\t\t\t<Tripid>11913-6</Tripid>\n\t\t\t\t<Skedtripid> </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>07:07
79
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>07:07
80
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
81
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
82
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5606</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>07:37
83
+ PM</Triptime>\n\t\t\t\t<Tripid>11913-7</Tripid>\n\t\t\t\t<Skedtripid> </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>07:37
84
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>07:37
85
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
86
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
87
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5609</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>08:07
88
+ PM</Triptime>\n\t\t\t\t<Tripid>11913-7</Tripid>\n\t\t\t\t<Skedtripid> </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>08:07
89
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>08:07
90
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
91
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
92
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5610</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t</Service>\n\t\t<Service>\n\t\t\t<Route>108</Route>\n\t\t\t<Publicroute>108</Publicroute>\n\t\t\t<Sign>108
93
+ Elliot/48th St West To 48th St/Chandler Via Sosmn/Bsnln</Sign>\n\t\t\t<Operator>FTE</Operator>\n\t\t\t<Publicoperator>FTE</Publicoperator>\n\t\t\t<Direction>W</Direction>\n\t\t\t<Status>N</Status>\n\t\t\t<Servicetype>W</Servicetype>\n\t\t\t<Routetype>B</Routetype>\n\t\t\t<Times>02:37
94
+ PM, 06:37 PM</Times>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>02:37 PM</Triptime>\n\t\t\t\t<Tripid>11915-0</Tripid>\n\t\t\t\t<Skedtripid>
95
+ </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>02:37
96
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>02:37
97
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
98
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
99
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5607</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>06:37
100
+ PM</Triptime>\n\t\t\t\t<Tripid>11915-1</Tripid>\n\t\t\t\t<Skedtripid> </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>06:37
101
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>06:37
102
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
103
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
104
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5605</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t</Service>\n\t</Atstop>\n\t<Statusinfo></Statusinfo>\n\t<Requestor>68.226.126.17</Requestor>\n\t<Host>s-rpta-soap</Host>\n\t<Copyright>XML
105
+ schema Copyright (c) 2003-2013 Trapeze Software ULC, its subsidiaries and
106
+ affiliates. All rights reserved.</Copyright>\n\t<Soapversion>2.6.3 - 11/14/13</Soapversion>\n</namesp1:NextbusResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>"
107
+ http_version:
108
+ recorded_at: Mon, 06 Jan 2014 23:53:37 GMT
109
+ recorded_with: VCR 2.8.0
@@ -0,0 +1,109 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://soap.valleymetro.org/cgi-bin-soap-web-262/soap.cgi
6
+ body:
7
+ encoding: UTF-8
8
+ string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
9
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="PX_WEB"
10
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><Nextbus xmlns="PX_WEB"><Stopid>15894</Stopid><Appid>ratis-specs</Appid><Date>01/13/2014</Date><Time>1500</Time><Type>N</Type></Nextbus></env:Body></env:Envelope>
11
+ headers:
12
+ Soapaction:
13
+ - '"PX_WEB#Nextbus"'
14
+ Content-Type:
15
+ - text/xml;charset=UTF-8
16
+ Content-Length:
17
+ - '397'
18
+ Accept-Encoding:
19
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ Accept:
21
+ - '*/*'
22
+ User-Agent:
23
+ - Ruby
24
+ response:
25
+ status:
26
+ code: 200
27
+ message: OK
28
+ headers:
29
+ Date:
30
+ - Mon, 06 Jan 2014 23:53:36 GMT
31
+ Server:
32
+ - Apache/2.2.3 (CentOS)
33
+ Soapserver:
34
+ - SOAP::Lite/Perl/0.55
35
+ Content-Length:
36
+ - '8829'
37
+ Connection:
38
+ - close
39
+ Content-Type:
40
+ - text/xml; charset=utf-8
41
+ body:
42
+ encoding: UTF-8
43
+ string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?><SOAP-ENV:Envelope xmlns:xsi=\"http://www.w3.org/1999/XMLSchema-instance\"
44
+ xmlns:SOAP-ENC=\"http://schemas.xmlsoap.org/soap/encoding/\" xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\"
45
+ xmlns:xsd=\"http://www.w3.org/1999/XMLSchema\" SOAP-ENV:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\"><SOAP-ENV:Body><namesp1:NextbusResponse
46
+ xmlns:namesp1=\"PX_WEB\">\n\t<Responsecode>0</Responsecode>\n\t<Version>1.26</Version>\n\t<Input>\n\t\t<Locationlat></Locationlat>\n\t\t<Locationlong></Locationlong>\n\t\t<Locationtext></Locationtext>\n\t\t<Atisstopid>0</Atisstopid>\n\t\t<Stopid>15894</Stopid>\n\t\t<Landmarkid></Landmarkid>\n\t\t<Date>01/13/2014</Date>\n\t\t<Time>03:00
47
+ PM</Time>\n\t\t<Route></Route>\n\t</Input>\n\t<Atstop>\n\t\t<Walkdist>0.00</Walkdist>\n\t\t<Description>ELLIOT
48
+ RD &amp; CENTRAL DR</Description>\n\t\t<Area>Chandler</Area>\n\t\t<Atisstopid>6567</Atisstopid>\n\t\t<Stopid>15894</Stopid>\n\t\t<Lat>33.349730</Lat>\n\t\t<Long>-111.865807</Long>\n\t\t<Stopposition>Y</Stopposition>\n\t\t<Heading>WB</Heading>\n\t\t<Side>Far</Side>\n\t\t<Stopstatustype>N</Stopstatustype>\n\t\t<Service>\n\t\t\t<Route>108</Route>\n\t\t\t<Publicroute>108</Publicroute>\n\t\t\t<Sign>108
49
+ Elliot/48th St West To 40th St/Pecos</Sign>\n\t\t\t<Operator>FTE</Operator>\n\t\t\t<Publicoperator>FTE</Publicoperator>\n\t\t\t<Direction>W</Direction>\n\t\t\t<Status>N</Status>\n\t\t\t<Servicetype>W</Servicetype>\n\t\t\t<Routetype>B</Routetype>\n\t\t\t<Times>07:07
50
+ AM, 03:07 PM, 03:37 PM, 04:07 PM</Times>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>07:07
51
+ AM</Triptime>\n\t\t\t\t<Tripid>11912-1</Tripid>\n\t\t\t\t<Skedtripid> </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>07:07
52
+ AM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>07:07
53
+ AM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
54
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
55
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5610</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>03:07
56
+ PM</Triptime>\n\t\t\t\t<Tripid>11912-2</Tripid>\n\t\t\t\t<Skedtripid> </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>03:07
57
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>03:07
58
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
59
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
60
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5605</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>03:37
61
+ PM</Triptime>\n\t\t\t\t<Tripid>11912-2</Tripid>\n\t\t\t\t<Skedtripid> </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>03:37
62
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>03:37
63
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
64
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
65
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5606</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>04:07
66
+ PM</Triptime>\n\t\t\t\t<Tripid>11912-3</Tripid>\n\t\t\t\t<Skedtripid> </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>04:07
67
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>04:07
68
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
69
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
70
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5609</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t</Service>\n\t\t<Service>\n\t\t\t<Route>108</Route>\n\t\t\t<Publicroute>108</Publicroute>\n\t\t\t<Sign>108
71
+ Elliot/48th St West To 48th St/Chandler</Sign>\n\t\t\t<Operator>FTE</Operator>\n\t\t\t<Publicoperator>FTE</Publicoperator>\n\t\t\t<Direction>W</Direction>\n\t\t\t<Status>N</Status>\n\t\t\t<Servicetype>W</Servicetype>\n\t\t\t<Routetype>B</Routetype>\n\t\t\t<Times>02:07
72
+ PM, 07:07 PM, 07:37 PM, 08:07 PM</Times>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>02:07
73
+ PM</Triptime>\n\t\t\t\t<Tripid>11913-6</Tripid>\n\t\t\t\t<Skedtripid> </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>02:07
74
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>02:07
75
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
76
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
77
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5600</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>07:07
78
+ PM</Triptime>\n\t\t\t\t<Tripid>11913-6</Tripid>\n\t\t\t\t<Skedtripid> </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>07:07
79
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>07:07
80
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
81
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
82
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5606</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>07:37
83
+ PM</Triptime>\n\t\t\t\t<Tripid>11913-7</Tripid>\n\t\t\t\t<Skedtripid> </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>07:37
84
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>07:37
85
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
86
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
87
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5609</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>08:07
88
+ PM</Triptime>\n\t\t\t\t<Tripid>11913-7</Tripid>\n\t\t\t\t<Skedtripid> </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>08:07
89
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>08:07
90
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
91
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
92
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5610</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t</Service>\n\t\t<Service>\n\t\t\t<Route>108</Route>\n\t\t\t<Publicroute>108</Publicroute>\n\t\t\t<Sign>108
93
+ Elliot/48th St West To 48th St/Chandler Via Sosmn/Bsnln</Sign>\n\t\t\t<Operator>FTE</Operator>\n\t\t\t<Publicoperator>FTE</Publicoperator>\n\t\t\t<Direction>W</Direction>\n\t\t\t<Status>N</Status>\n\t\t\t<Servicetype>W</Servicetype>\n\t\t\t<Routetype>B</Routetype>\n\t\t\t<Times>02:37
94
+ PM, 06:37 PM</Times>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>02:37 PM</Triptime>\n\t\t\t\t<Tripid>11915-0</Tripid>\n\t\t\t\t<Skedtripid>
95
+ </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>02:37
96
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>02:37
97
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
98
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
99
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5607</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>06:37
100
+ PM</Triptime>\n\t\t\t\t<Tripid>11915-1</Tripid>\n\t\t\t\t<Skedtripid> </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>06:37
101
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>06:37
102
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
103
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
104
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5605</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t</Service>\n\t</Atstop>\n\t<Statusinfo></Statusinfo>\n\t<Requestor>68.226.126.17</Requestor>\n\t<Host>s-rpta-soap</Host>\n\t<Copyright>XML
105
+ schema Copyright (c) 2003-2013 Trapeze Software ULC, its subsidiaries and
106
+ affiliates. All rights reserved.</Copyright>\n\t<Soapversion>2.6.3 - 11/14/13</Soapversion>\n</namesp1:NextbusResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>"
107
+ http_version:
108
+ recorded_at: Mon, 06 Jan 2014 23:53:37 GMT
109
+ recorded_with: VCR 2.8.0
@@ -0,0 +1,109 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://soap.valleymetro.org/cgi-bin-soap-web-262/soap.cgi
6
+ body:
7
+ encoding: UTF-8
8
+ string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
9
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="PX_WEB"
10
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><Nextbus xmlns="PX_WEB"><Stopid>15894</Stopid><Appid>ratis-specs</Appid><Date>01/13/2014</Date><Time>1500</Time><Type>N</Type></Nextbus></env:Body></env:Envelope>
11
+ headers:
12
+ Soapaction:
13
+ - '"PX_WEB#Nextbus"'
14
+ Content-Type:
15
+ - text/xml;charset=UTF-8
16
+ Content-Length:
17
+ - '397'
18
+ Accept-Encoding:
19
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ Accept:
21
+ - '*/*'
22
+ User-Agent:
23
+ - Ruby
24
+ response:
25
+ status:
26
+ code: 200
27
+ message: OK
28
+ headers:
29
+ Date:
30
+ - Mon, 06 Jan 2014 23:53:37 GMT
31
+ Server:
32
+ - Apache/2.2.3 (CentOS)
33
+ Soapserver:
34
+ - SOAP::Lite/Perl/0.55
35
+ Content-Length:
36
+ - '8829'
37
+ Connection:
38
+ - close
39
+ Content-Type:
40
+ - text/xml; charset=utf-8
41
+ body:
42
+ encoding: UTF-8
43
+ string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?><SOAP-ENV:Envelope xmlns:xsi=\"http://www.w3.org/1999/XMLSchema-instance\"
44
+ xmlns:SOAP-ENC=\"http://schemas.xmlsoap.org/soap/encoding/\" xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\"
45
+ xmlns:xsd=\"http://www.w3.org/1999/XMLSchema\" SOAP-ENV:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\"><SOAP-ENV:Body><namesp1:NextbusResponse
46
+ xmlns:namesp1=\"PX_WEB\">\n\t<Responsecode>0</Responsecode>\n\t<Version>1.26</Version>\n\t<Input>\n\t\t<Locationlat></Locationlat>\n\t\t<Locationlong></Locationlong>\n\t\t<Locationtext></Locationtext>\n\t\t<Atisstopid>0</Atisstopid>\n\t\t<Stopid>15894</Stopid>\n\t\t<Landmarkid></Landmarkid>\n\t\t<Date>01/13/2014</Date>\n\t\t<Time>03:00
47
+ PM</Time>\n\t\t<Route></Route>\n\t</Input>\n\t<Atstop>\n\t\t<Walkdist>0.00</Walkdist>\n\t\t<Description>ELLIOT
48
+ RD &amp; CENTRAL DR</Description>\n\t\t<Area>Chandler</Area>\n\t\t<Atisstopid>6567</Atisstopid>\n\t\t<Stopid>15894</Stopid>\n\t\t<Lat>33.349730</Lat>\n\t\t<Long>-111.865807</Long>\n\t\t<Stopposition>Y</Stopposition>\n\t\t<Heading>WB</Heading>\n\t\t<Side>Far</Side>\n\t\t<Stopstatustype>N</Stopstatustype>\n\t\t<Service>\n\t\t\t<Route>108</Route>\n\t\t\t<Publicroute>108</Publicroute>\n\t\t\t<Sign>108
49
+ Elliot/48th St West To 40th St/Pecos</Sign>\n\t\t\t<Operator>FTE</Operator>\n\t\t\t<Publicoperator>FTE</Publicoperator>\n\t\t\t<Direction>W</Direction>\n\t\t\t<Status>N</Status>\n\t\t\t<Servicetype>W</Servicetype>\n\t\t\t<Routetype>B</Routetype>\n\t\t\t<Times>07:07
50
+ AM, 03:07 PM, 03:37 PM, 04:07 PM</Times>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>07:07
51
+ AM</Triptime>\n\t\t\t\t<Tripid>11912-1</Tripid>\n\t\t\t\t<Skedtripid> </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>07:07
52
+ AM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>07:07
53
+ AM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
54
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
55
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5610</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>03:07
56
+ PM</Triptime>\n\t\t\t\t<Tripid>11912-2</Tripid>\n\t\t\t\t<Skedtripid> </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>03:07
57
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>03:07
58
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
59
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
60
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5605</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>03:37
61
+ PM</Triptime>\n\t\t\t\t<Tripid>11912-2</Tripid>\n\t\t\t\t<Skedtripid> </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>03:37
62
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>03:37
63
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
64
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
65
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5606</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>04:07
66
+ PM</Triptime>\n\t\t\t\t<Tripid>11912-3</Tripid>\n\t\t\t\t<Skedtripid> </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>04:07
67
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>04:07
68
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
69
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
70
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5609</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t</Service>\n\t\t<Service>\n\t\t\t<Route>108</Route>\n\t\t\t<Publicroute>108</Publicroute>\n\t\t\t<Sign>108
71
+ Elliot/48th St West To 48th St/Chandler</Sign>\n\t\t\t<Operator>FTE</Operator>\n\t\t\t<Publicoperator>FTE</Publicoperator>\n\t\t\t<Direction>W</Direction>\n\t\t\t<Status>N</Status>\n\t\t\t<Servicetype>W</Servicetype>\n\t\t\t<Routetype>B</Routetype>\n\t\t\t<Times>02:07
72
+ PM, 07:07 PM, 07:37 PM, 08:07 PM</Times>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>02:07
73
+ PM</Triptime>\n\t\t\t\t<Tripid>11913-6</Tripid>\n\t\t\t\t<Skedtripid> </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>02:07
74
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>02:07
75
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
76
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
77
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5600</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>07:07
78
+ PM</Triptime>\n\t\t\t\t<Tripid>11913-6</Tripid>\n\t\t\t\t<Skedtripid> </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>07:07
79
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>07:07
80
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
81
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
82
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5606</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>07:37
83
+ PM</Triptime>\n\t\t\t\t<Tripid>11913-7</Tripid>\n\t\t\t\t<Skedtripid> </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>07:37
84
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>07:37
85
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
86
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
87
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5609</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>08:07
88
+ PM</Triptime>\n\t\t\t\t<Tripid>11913-7</Tripid>\n\t\t\t\t<Skedtripid> </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>08:07
89
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>08:07
90
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
91
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
92
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5610</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t</Service>\n\t\t<Service>\n\t\t\t<Route>108</Route>\n\t\t\t<Publicroute>108</Publicroute>\n\t\t\t<Sign>108
93
+ Elliot/48th St West To 48th St/Chandler Via Sosmn/Bsnln</Sign>\n\t\t\t<Operator>FTE</Operator>\n\t\t\t<Publicoperator>FTE</Publicoperator>\n\t\t\t<Direction>W</Direction>\n\t\t\t<Status>N</Status>\n\t\t\t<Servicetype>W</Servicetype>\n\t\t\t<Routetype>B</Routetype>\n\t\t\t<Times>02:37
94
+ PM, 06:37 PM</Times>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>02:37 PM</Triptime>\n\t\t\t\t<Tripid>11915-0</Tripid>\n\t\t\t\t<Skedtripid>
95
+ </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>02:37
96
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>02:37
97
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
98
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
99
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5607</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>06:37
100
+ PM</Triptime>\n\t\t\t\t<Tripid>11915-1</Tripid>\n\t\t\t\t<Skedtripid> </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>06:37
101
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>06:37
102
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
103
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
104
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5605</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t</Service>\n\t</Atstop>\n\t<Statusinfo></Statusinfo>\n\t<Requestor>68.226.126.17</Requestor>\n\t<Host>s-rpta-soap</Host>\n\t<Copyright>XML
105
+ schema Copyright (c) 2003-2013 Trapeze Software ULC, its subsidiaries and
106
+ affiliates. All rights reserved.</Copyright>\n\t<Soapversion>2.6.3 - 11/14/13</Soapversion>\n</namesp1:NextbusResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>"
107
+ http_version:
108
+ recorded_at: Mon, 06 Jan 2014 23:53:37 GMT
109
+ recorded_with: VCR 2.8.0
@@ -0,0 +1,211 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://soap.valleymetro.org/cgi-bin-soap-web-262/soap.cgi
6
+ body:
7
+ encoding: UTF-8
8
+ string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
9
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="PX_WEB"
10
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><Nextbus xmlns="PX_WEB"><Stopid>15894</Stopid><Appid>ratis-specs</Appid><Date>01/06/2014</Date><Time>1653</Time><Type>N</Type></Nextbus></env:Body></env:Envelope>
11
+ headers:
12
+ Soapaction:
13
+ - '"PX_WEB#Nextbus"'
14
+ Content-Type:
15
+ - text/xml;charset=UTF-8
16
+ Content-Length:
17
+ - '397'
18
+ Accept-Encoding:
19
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ Accept:
21
+ - '*/*'
22
+ User-Agent:
23
+ - Ruby
24
+ response:
25
+ status:
26
+ code: 200
27
+ message: OK
28
+ headers:
29
+ Date:
30
+ - Mon, 06 Jan 2014 23:53:37 GMT
31
+ Server:
32
+ - Apache/2.2.3 (CentOS)
33
+ Soapserver:
34
+ - SOAP::Lite/Perl/0.55
35
+ Content-Length:
36
+ - '8862'
37
+ Connection:
38
+ - close
39
+ Content-Type:
40
+ - text/xml; charset=utf-8
41
+ body:
42
+ encoding: UTF-8
43
+ string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?><SOAP-ENV:Envelope xmlns:xsi=\"http://www.w3.org/1999/XMLSchema-instance\"
44
+ xmlns:SOAP-ENC=\"http://schemas.xmlsoap.org/soap/encoding/\" xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\"
45
+ xmlns:xsd=\"http://www.w3.org/1999/XMLSchema\" SOAP-ENV:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\"><SOAP-ENV:Body><namesp1:NextbusResponse
46
+ xmlns:namesp1=\"PX_WEB\">\n\t<Responsecode>0</Responsecode>\n\t<Version>1.26</Version>\n\t<Input>\n\t\t<Locationlat></Locationlat>\n\t\t<Locationlong></Locationlong>\n\t\t<Locationtext></Locationtext>\n\t\t<Atisstopid>0</Atisstopid>\n\t\t<Stopid>15894</Stopid>\n\t\t<Landmarkid></Landmarkid>\n\t\t<Date>01/06/2014</Date>\n\t\t<Time>04:53
47
+ PM</Time>\n\t\t<Route></Route>\n\t</Input>\n\t<Atstop>\n\t\t<Walkdist>0.00</Walkdist>\n\t\t<Description>ELLIOT
48
+ RD &amp; CENTRAL DR</Description>\n\t\t<Area>Chandler</Area>\n\t\t<Atisstopid>6567</Atisstopid>\n\t\t<Stopid>15894</Stopid>\n\t\t<Lat>33.349730</Lat>\n\t\t<Long>-111.865807</Long>\n\t\t<Stopposition>Y</Stopposition>\n\t\t<Heading>WB</Heading>\n\t\t<Side>Far</Side>\n\t\t<Stopstatustype>N</Stopstatustype>\n\t\t<Service>\n\t\t\t<Route>108</Route>\n\t\t\t<Publicroute>108</Publicroute>\n\t\t\t<Sign>108
49
+ Elliot/48th St West To 40th St/Pecos</Sign>\n\t\t\t<Operator>FTE</Operator>\n\t\t\t<Publicoperator>FTE</Publicoperator>\n\t\t\t<Direction>W</Direction>\n\t\t\t<Status>N</Status>\n\t\t\t<Servicetype>W</Servicetype>\n\t\t\t<Routetype>B</Routetype>\n\t\t\t<Times>04:37
50
+ PM, 05:07 PM, 05:37 PM, 06:07 PM</Times>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>04:37
51
+ PM</Triptime>\n\t\t\t\t<Tripid>11912-3</Tripid>\n\t\t\t\t<Skedtripid> </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>04:37
52
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>04:37
53
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime>04:47
54
+ PM</Polltime>\n\t\t\t\t\t<Trend>S</Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>N</Stopped>\n\t\t\t\t\t<Vehicleid>6683</Vehicleid>\n\t\t\t\t\t<Lat>33.349274</Lat>\n\t\t\t\t\t<Long>-111.942589</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5610</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>05:07
55
+ PM</Triptime>\n\t\t\t\t<Tripid>11912-4</Tripid>\n\t\t\t\t<Skedtripid> </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>05:07
56
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>Y</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>05:07
57
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes>14</Estimatedminutes>\n\t\t\t\t\t<Polltime>04:51
58
+ PM</Polltime>\n\t\t\t\t\t<Trend>S</Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>Y</Reliable>\n\t\t\t\t\t<Stopped>N</Stopped>\n\t\t\t\t\t<Vehicleid>6629</Vehicleid>\n\t\t\t\t\t<Lat>33.350071</Lat>\n\t\t\t\t\t<Long>-111.789680</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5600</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>05:37
59
+ PM</Triptime>\n\t\t\t\t<Tripid>11912-4</Tripid>\n\t\t\t\t<Skedtripid> </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>05:37
60
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>05:37
61
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
62
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
63
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5607</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>06:07
64
+ PM</Triptime>\n\t\t\t\t<Tripid>11912-5</Tripid>\n\t\t\t\t<Skedtripid> </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>06:07
65
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>06:07
66
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
67
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
68
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5991</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t</Service>\n\t\t<Service>\n\t\t\t<Route>108</Route>\n\t\t\t<Publicroute>108</Publicroute>\n\t\t\t<Sign>108
69
+ Elliot/48th St West To 48th St/Chandler</Sign>\n\t\t\t<Operator>FTE</Operator>\n\t\t\t<Publicoperator>FTE</Publicoperator>\n\t\t\t<Direction>W</Direction>\n\t\t\t<Status>N</Status>\n\t\t\t<Servicetype>W</Servicetype>\n\t\t\t<Routetype>B</Routetype>\n\t\t\t<Times>02:07
70
+ PM, 07:07 PM, 07:37 PM, 08:07 PM</Times>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>02:07
71
+ PM</Triptime>\n\t\t\t\t<Tripid>11913-6</Tripid>\n\t\t\t\t<Skedtripid> </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>02:07
72
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>02:07
73
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
74
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
75
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5600</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>07:07
76
+ PM</Triptime>\n\t\t\t\t<Tripid>11913-6</Tripid>\n\t\t\t\t<Skedtripid> </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>07:07
77
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>07:07
78
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
79
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
80
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5606</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>07:37
81
+ PM</Triptime>\n\t\t\t\t<Tripid>11913-7</Tripid>\n\t\t\t\t<Skedtripid> </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>07:37
82
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>07:37
83
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
84
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
85
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5609</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>08:07
86
+ PM</Triptime>\n\t\t\t\t<Tripid>11913-7</Tripid>\n\t\t\t\t<Skedtripid> </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>08:07
87
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>08:07
88
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
89
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
90
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5610</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t</Service>\n\t\t<Service>\n\t\t\t<Route>108</Route>\n\t\t\t<Publicroute>108</Publicroute>\n\t\t\t<Sign>108
91
+ Elliot/48th St West To 48th St/Chandler Via Sosmn/Bsnln</Sign>\n\t\t\t<Operator>FTE</Operator>\n\t\t\t<Publicoperator>FTE</Publicoperator>\n\t\t\t<Direction>W</Direction>\n\t\t\t<Status>N</Status>\n\t\t\t<Servicetype>W</Servicetype>\n\t\t\t<Routetype>B</Routetype>\n\t\t\t<Times>02:37
92
+ PM, 06:37 PM</Times>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>02:37 PM</Triptime>\n\t\t\t\t<Tripid>11915-0</Tripid>\n\t\t\t\t<Skedtripid>
93
+ </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>02:37
94
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>02:37
95
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
96
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
97
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5607</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>06:37
98
+ PM</Triptime>\n\t\t\t\t<Tripid>11915-1</Tripid>\n\t\t\t\t<Skedtripid> </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>06:37
99
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>06:37
100
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
101
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
102
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5605</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t</Service>\n\t</Atstop>\n\t<Statusinfo></Statusinfo>\n\t<Requestor>68.226.126.17</Requestor>\n\t<Host>s-rpta-soap</Host>\n\t<Copyright>XML
103
+ schema Copyright (c) 2003-2013 Trapeze Software ULC, its subsidiaries and
104
+ affiliates. All rights reserved.</Copyright>\n\t<Soapversion>2.6.3 - 11/14/13</Soapversion>\n</namesp1:NextbusResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>"
105
+ http_version:
106
+ recorded_at: Mon, 06 Jan 2014 23:53:38 GMT
107
+ - request:
108
+ method: post
109
+ uri: http://soap.valleymetro.org/cgi-bin-soap-web-262/soap.cgi
110
+ body:
111
+ encoding: UTF-8
112
+ string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
113
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl="PX_WEB"
114
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><Nextbus xmlns="PX_WEB"><Stopid>15894</Stopid><Appid>ratis-specs</Appid><Date>01/06/2014</Date><Time>0000</Time><Type>N</Type></Nextbus></env:Body></env:Envelope>
115
+ headers:
116
+ Soapaction:
117
+ - '"PX_WEB#Nextbus"'
118
+ Content-Type:
119
+ - text/xml;charset=UTF-8
120
+ Content-Length:
121
+ - '397'
122
+ Accept-Encoding:
123
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
124
+ Accept:
125
+ - '*/*'
126
+ User-Agent:
127
+ - Ruby
128
+ response:
129
+ status:
130
+ code: 200
131
+ message: OK
132
+ headers:
133
+ Date:
134
+ - Mon, 06 Jan 2014 23:53:37 GMT
135
+ Server:
136
+ - Apache/2.2.3 (CentOS)
137
+ Soapserver:
138
+ - SOAP::Lite/Perl/0.55
139
+ Content-Length:
140
+ - '8862'
141
+ Connection:
142
+ - close
143
+ Content-Type:
144
+ - text/xml; charset=utf-8
145
+ body:
146
+ encoding: UTF-8
147
+ string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?><SOAP-ENV:Envelope xmlns:xsi=\"http://www.w3.org/1999/XMLSchema-instance\"
148
+ xmlns:SOAP-ENC=\"http://schemas.xmlsoap.org/soap/encoding/\" xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\"
149
+ xmlns:xsd=\"http://www.w3.org/1999/XMLSchema\" SOAP-ENV:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\"><SOAP-ENV:Body><namesp1:NextbusResponse
150
+ xmlns:namesp1=\"PX_WEB\">\n\t<Responsecode>0</Responsecode>\n\t<Version>1.26</Version>\n\t<Input>\n\t\t<Locationlat></Locationlat>\n\t\t<Locationlong></Locationlong>\n\t\t<Locationtext></Locationtext>\n\t\t<Atisstopid>0</Atisstopid>\n\t\t<Stopid>15894</Stopid>\n\t\t<Landmarkid></Landmarkid>\n\t\t<Date>01/06/2014</Date>\n\t\t<Time>04:53
151
+ PM</Time>\n\t\t<Route></Route>\n\t</Input>\n\t<Atstop>\n\t\t<Walkdist>0.00</Walkdist>\n\t\t<Description>ELLIOT
152
+ RD &amp; CENTRAL DR</Description>\n\t\t<Area>Chandler</Area>\n\t\t<Atisstopid>6567</Atisstopid>\n\t\t<Stopid>15894</Stopid>\n\t\t<Lat>33.349730</Lat>\n\t\t<Long>-111.865807</Long>\n\t\t<Stopposition>Y</Stopposition>\n\t\t<Heading>WB</Heading>\n\t\t<Side>Far</Side>\n\t\t<Stopstatustype>N</Stopstatustype>\n\t\t<Service>\n\t\t\t<Route>108</Route>\n\t\t\t<Publicroute>108</Publicroute>\n\t\t\t<Sign>108
153
+ Elliot/48th St West To 40th St/Pecos</Sign>\n\t\t\t<Operator>FTE</Operator>\n\t\t\t<Publicoperator>FTE</Publicoperator>\n\t\t\t<Direction>W</Direction>\n\t\t\t<Status>N</Status>\n\t\t\t<Servicetype>W</Servicetype>\n\t\t\t<Routetype>B</Routetype>\n\t\t\t<Times>04:37
154
+ PM, 05:07 PM, 05:37 PM, 06:07 PM</Times>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>04:37
155
+ PM</Triptime>\n\t\t\t\t<Tripid>11912-3</Tripid>\n\t\t\t\t<Skedtripid> </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>04:37
156
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>04:37
157
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime>04:47
158
+ PM</Polltime>\n\t\t\t\t\t<Trend>S</Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>N</Stopped>\n\t\t\t\t\t<Vehicleid>6683</Vehicleid>\n\t\t\t\t\t<Lat>33.349274</Lat>\n\t\t\t\t\t<Long>-111.942589</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5610</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>05:07
159
+ PM</Triptime>\n\t\t\t\t<Tripid>11912-4</Tripid>\n\t\t\t\t<Skedtripid> </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>05:07
160
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>Y</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>05:07
161
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes>14</Estimatedminutes>\n\t\t\t\t\t<Polltime>04:51
162
+ PM</Polltime>\n\t\t\t\t\t<Trend>S</Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>Y</Reliable>\n\t\t\t\t\t<Stopped>N</Stopped>\n\t\t\t\t\t<Vehicleid>6629</Vehicleid>\n\t\t\t\t\t<Lat>33.350071</Lat>\n\t\t\t\t\t<Long>-111.789680</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5600</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>05:37
163
+ PM</Triptime>\n\t\t\t\t<Tripid>11912-4</Tripid>\n\t\t\t\t<Skedtripid> </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>05:37
164
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>05:37
165
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
166
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
167
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5607</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>06:07
168
+ PM</Triptime>\n\t\t\t\t<Tripid>11912-5</Tripid>\n\t\t\t\t<Skedtripid> </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>06:07
169
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>06:07
170
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
171
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
172
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5991</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t</Service>\n\t\t<Service>\n\t\t\t<Route>108</Route>\n\t\t\t<Publicroute>108</Publicroute>\n\t\t\t<Sign>108
173
+ Elliot/48th St West To 48th St/Chandler</Sign>\n\t\t\t<Operator>FTE</Operator>\n\t\t\t<Publicoperator>FTE</Publicoperator>\n\t\t\t<Direction>W</Direction>\n\t\t\t<Status>N</Status>\n\t\t\t<Servicetype>W</Servicetype>\n\t\t\t<Routetype>B</Routetype>\n\t\t\t<Times>02:07
174
+ PM, 07:07 PM, 07:37 PM, 08:07 PM</Times>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>02:07
175
+ PM</Triptime>\n\t\t\t\t<Tripid>11913-6</Tripid>\n\t\t\t\t<Skedtripid> </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>02:07
176
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>02:07
177
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
178
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
179
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5600</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>07:07
180
+ PM</Triptime>\n\t\t\t\t<Tripid>11913-6</Tripid>\n\t\t\t\t<Skedtripid> </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>07:07
181
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>07:07
182
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
183
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
184
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5606</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>07:37
185
+ PM</Triptime>\n\t\t\t\t<Tripid>11913-7</Tripid>\n\t\t\t\t<Skedtripid> </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>07:37
186
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>07:37
187
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
188
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
189
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5609</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>08:07
190
+ PM</Triptime>\n\t\t\t\t<Tripid>11913-7</Tripid>\n\t\t\t\t<Skedtripid> </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>08:07
191
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>08:07
192
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
193
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
194
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5610</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t</Service>\n\t\t<Service>\n\t\t\t<Route>108</Route>\n\t\t\t<Publicroute>108</Publicroute>\n\t\t\t<Sign>108
195
+ Elliot/48th St West To 48th St/Chandler Via Sosmn/Bsnln</Sign>\n\t\t\t<Operator>FTE</Operator>\n\t\t\t<Publicoperator>FTE</Publicoperator>\n\t\t\t<Direction>W</Direction>\n\t\t\t<Status>N</Status>\n\t\t\t<Servicetype>W</Servicetype>\n\t\t\t<Routetype>B</Routetype>\n\t\t\t<Times>02:37
196
+ PM, 06:37 PM</Times>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>02:37 PM</Triptime>\n\t\t\t\t<Tripid>11915-0</Tripid>\n\t\t\t\t<Skedtripid>
197
+ </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>02:37
198
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>02:37
199
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
200
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
201
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5607</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t\t<Tripinfo>\n\t\t\t\t<Triptime>06:37
202
+ PM</Triptime>\n\t\t\t\t<Tripid>11915-1</Tripid>\n\t\t\t\t<Skedtripid> </Skedtripid>\n\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t<Estimatedtime>06:37
203
+ PM</Estimatedtime>\n\t\t\t\t<Realtime>\n\t\t\t\t\t<Valid>N</Valid>\n\t\t\t\t\t<Adherence>0</Adherence>\n\t\t\t\t\t<Estimatedtime>06:37
204
+ PM</Estimatedtime>\n\t\t\t\t\t<Estimatedminutes> </Estimatedminutes>\n\t\t\t\t\t<Polltime></Polltime>\n\t\t\t\t\t<Trend>
205
+ </Trend>\n\t\t\t\t\t<Speed>0.00</Speed>\n\t\t\t\t\t<Reliable>N</Reliable>\n\t\t\t\t\t<Stopped>
206
+ </Stopped>\n\t\t\t\t\t<Vehicleid></Vehicleid>\n\t\t\t\t\t<Lat>0.000000</Lat>\n\t\t\t\t\t<Long>0.000000</Long>\n\t\t\t\t</Realtime>\n\t\t\t\t<Block>5605</Block>\n\t\t\t\t<Exception>N</Exception>\n\t\t\t</Tripinfo>\n\t\t</Service>\n\t</Atstop>\n\t<Statusinfo></Statusinfo>\n\t<Requestor>68.226.126.17</Requestor>\n\t<Host>s-rpta-soap</Host>\n\t<Copyright>XML
207
+ schema Copyright (c) 2003-2013 Trapeze Software ULC, its subsidiaries and
208
+ affiliates. All rights reserved.</Copyright>\n\t<Soapversion>2.6.3 - 11/14/13</Soapversion>\n</namesp1:NextbusResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>"
209
+ http_version:
210
+ recorded_at: Mon, 06 Jan 2014 23:53:38 GMT
211
+ recorded_with: VCR 2.8.0