ierail 0.3.5 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8624329e17244b7bebb63b152459c3bf590a3458
4
- data.tar.gz: 8614aa0c660b016fb50b2f537215268e0a49684f
3
+ metadata.gz: dcec3d20ba10592e6c62c3f550348bf3cc824447
4
+ data.tar.gz: 599ded72790ac9e28913b631fdf5402f4cc97125
5
5
  SHA512:
6
- metadata.gz: fbec8afce43b9f6da40921a3dacb4c851e10376810a095a25a3cd3f106dff6afcdedcc01cf01f6768476aa7b408af4965ccca818673bac424946ee5027413d7d
7
- data.tar.gz: 92f1ff53061f37dd7805b887670dbc6c9dff4da32f0c55223aac514efd332e81d1e3e33babee693fed9a04e1e6169d0b45f3f1fe431995babe7fd9845a377cb0
6
+ metadata.gz: 44b06afc0d1b59e498f868018182a1deb8ef1a760868d2516a0389d498f1754f45fcfbe8e84405f2faef3a84575c576b067846d82481eb03b2f41a9d6382344a
7
+ data.tar.gz: a7152722377491ba6d849d5d3a25ee603043642386645c08b65c23ea6f2362e98509c9d31d068cdfe63a97a3e9aefd92472bcf229cb355415cd45e59d0d116a8
data/.gitignore CHANGED
@@ -1,2 +1,3 @@
1
1
  coverage
2
2
  .DS_Store
3
+ .ruby-version
data/Gemfile.lock CHANGED
@@ -1,41 +1,60 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ierail (0.3.5)
5
- json (~> 1.7, >= 1.7.7)
6
- nokogiri (~> 1.5, >= 1.5.0)
4
+ ierail (0.4.0)
5
+ json (~> 1.8, >= 1.8.1)
6
+ nokogiri (~> 1.6, >= 1.6.1)
7
7
  rest-client (~> 1.6, >= 1.6.7)
8
- tzinfo (~> 0.3, >= 0.3.37)
8
+ tzinfo (~> 1.1, >= 1.1.0)
9
9
 
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- colorize (0.5.8)
14
- coveralls (0.6.6)
15
- colorize
13
+ addressable (2.3.6)
14
+ coveralls (0.7.0)
16
15
  multi_json (~> 1.3)
17
16
  rest-client
18
17
  simplecov (>= 0.7)
18
+ term-ansicolor
19
19
  thor
20
+ crack (0.4.2)
21
+ safe_yaml (~> 1.0.0)
22
+ docile (1.1.3)
20
23
  json (1.8.1)
21
- mime-types (1.23)
22
- multi_json (1.7.3)
23
- nokogiri (1.5.11)
24
- rake (10.0.4)
24
+ mime-types (2.2)
25
+ mini_portile (0.5.3)
26
+ multi_json (1.9.2)
27
+ nokogiri (1.6.1)
28
+ mini_portile (~> 0.5.0)
29
+ rake (10.3.1)
25
30
  rest-client (1.6.7)
26
31
  mime-types (>= 1.16)
27
- simplecov (0.7.1)
28
- multi_json (~> 1.0)
29
- simplecov-html (~> 0.7.1)
30
- simplecov-html (0.7.1)
31
- thor (0.18.1)
32
- tzinfo (0.3.39)
32
+ safe_yaml (1.0.2)
33
+ simplecov (0.8.2)
34
+ docile (~> 1.1.0)
35
+ multi_json
36
+ simplecov-html (~> 0.8.0)
37
+ simplecov-html (0.8.0)
38
+ term-ansicolor (1.3.0)
39
+ tins (~> 1.0)
40
+ thor (0.19.1)
41
+ thread_safe (0.3.3)
42
+ timecop (0.7.1)
43
+ tins (1.1.0)
44
+ tzinfo (1.1.0)
45
+ thread_safe (~> 0.1)
46
+ vcr (2.9.0)
47
+ webmock (1.17.4)
48
+ addressable (>= 2.2.7)
49
+ crack (>= 0.3.2)
33
50
 
34
51
  PLATFORMS
35
- java
36
52
  ruby
37
53
 
38
54
  DEPENDENCIES
39
55
  coveralls
40
56
  ierail!
41
57
  rake
58
+ timecop (~> 0.6, >= 0.6.2)
59
+ vcr (~> 2.9, >= 2.9.0)
60
+ webmock (~> 1.17, >= 1.17.4)
data/README.md CHANGED
@@ -56,7 +56,7 @@ trains = ir.southbound_from('malahide').in(N)
56
56
  ### Find out information for a specific train
57
57
 
58
58
  ```ruby
59
- trains = ir.station('clongriffin', 60)
59
+ trains = ir.station_times('clongriffin', 60)
60
60
 
61
61
  trains.first.last_location # "Arrived Harmonstown"
62
62
 
@@ -73,8 +73,44 @@ trains.first.duein # "2"
73
73
  trains.first.late? # 0 || 1
74
74
  ```
75
75
 
76
+ ### Find out the movements of a specific train
77
+
78
+ ```ruby
79
+ trains = ir.station_times('clongriffin', 60)
80
+
81
+ train_code = trains.first.code
82
+
83
+ train_movements = ir.train_movements(train_code) # Gets the movements of the train for today
84
+ train_movements = ir.train_movements(train_code, date) # Gets the movements of train for some date
85
+
86
+ fourth_stop = train_movements.at(4)
87
+
88
+ fourth_stop.location #{:code => "GRGD", :location_full_name => "Clongriffin", :stop_number => 4, :location_type => "S"}
89
+
90
+ fourth_stop.arrival # {:scheduled=>2013-05-13 22:09:00 +0100, :expected=>2013-05-13 22:10:00 +0100, :actual=2013-05-13 22:10:00 +0100}
91
+
92
+ fourth_stop.departure # {:scheduled=>2013-05-13 22:09:00 +0100, :expected=>2013-05-13 22:10:00 +0100, :actual=2013-05-13 22:10:00 +0100}
93
+
94
+ fourth_stop.train #{:code => "E808", :date => 2013-05-13 22:09:00 +0100, :origin => "Malahide"}
95
+ ```
96
+
97
+
76
98
  Check the [main.rb](main.rb) for additional usage.
77
99
 
100
+ ## Development
101
+
102
+ ### Testing
103
+
104
+ Rather than having the test suite hit the API, this project is using [VCR](https://github.com/vcr/vcr) alongside [Timecop](https://github.com/travisjeffery/timecop) to use stubbed responses.
105
+ These responses are stored in the `fixtures/vcr_cassettes` directory and can be updated by running
106
+
107
+ 1. `rm -r fixtures`
108
+ 2. `rake test`
109
+
110
+ As the API functionality is highly time dependent, Timecop is used to set/freeze time so that we can run time based queries on the older fixture data.
111
+
112
+ ---
113
+
78
114
  Pull requests welcome, because there's damn all in it at the moment. Please accompany the pull request with an appropriate test, and if you can, an example here in the README.
79
115
 
80
116
 
@@ -0,0 +1,40 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.irishrail.ie/realtime/realtime.asmx/getStationsFilterXML?StationText=Dublin%20Connolly
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - "*/*; q=0.5, application/xml"
12
+ Accept-Encoding:
13
+ - gzip, deflate
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Cache-Control:
22
+ - private, max-age=0
23
+ Content-Type:
24
+ - text/xml; charset=utf-8
25
+ Server:
26
+ - ''
27
+ Date:
28
+ - Sat, 19 Apr 2014 18:10:55 GMT
29
+ Content-Length:
30
+ - '428'
31
+ body:
32
+ encoding: UTF-8
33
+ string: "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<ArrayOfObjStationFilter
34
+ xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
35
+ xmlns=\"http://api.irishrail.ie/realtime/\">\r\n <objStationFilter>\r\n <StationDesc_sp>Dublin&amp;nbsp;Connolly</StationDesc_sp>\r\n
36
+ \ <StationDesc>Dublin Connolly</StationDesc>\r\n <StationCode>CNLLY</StationCode>\r\n
37
+ \ </objStationFilter>\r\n</ArrayOfObjStationFilter>"
38
+ http_version:
39
+ recorded_at: Sat, 19 Apr 2014 18:10:57 GMT
40
+ recorded_with: VCR 2.9.0
@@ -0,0 +1,241 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.irishrail.ie/realtime/realtime.asmx/getStationDataByNameXML?StationDesc=Dublin%20Connolly
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - "*/*; q=0.5, application/xml"
12
+ Accept-Encoding:
13
+ - gzip, deflate
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Cache-Control:
22
+ - private, max-age=0
23
+ Content-Type:
24
+ - text/xml; charset=utf-8
25
+ Server:
26
+ - ''
27
+ Date:
28
+ - Sat, 19 Apr 2014 18:10:55 GMT
29
+ Content-Length:
30
+ - '16433'
31
+ body:
32
+ encoding: UTF-8
33
+ string: "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<ArrayOfObjStationData
34
+ xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
35
+ xmlns=\"http://api.irishrail.ie/realtime/\">\r\n <objStationData>\r\n <Servertime>2014-04-19T19:10:55.34</Servertime>\r\n
36
+ \ <Traincode>D819 </Traincode>\r\n <Stationfullname>Dublin Connolly</Stationfullname>\r\n
37
+ \ <Stationcode>CNLLY</Stationcode>\r\n <Querytime>19:10:55</Querytime>\r\n
38
+ \ <Traindate>19 Apr 2014</Traindate>\r\n <Origin>Dublin Pearse</Origin>\r\n
39
+ \ <Destination>Drogheda</Destination>\r\n <Origintime>19:13</Origintime>\r\n
40
+ \ <Destinationtime>20:16</Destinationtime>\r\n <Status>No Information</Status>\r\n
41
+ \ <Lastlocation />\r\n <Duein>10</Duein>\r\n <Late>0</Late>\r\n <Exparrival>19:19</Exparrival>\r\n
42
+ \ <Expdepart>19:20</Expdepart>\r\n <Scharrival>19:19</Scharrival>\r\n
43
+ \ <Schdepart>19:20</Schdepart>\r\n <Direction>Northbound</Direction>\r\n
44
+ \ <Traintype>Train</Traintype>\r\n <Locationtype>S</Locationtype>\r\n
45
+ \ </objStationData>\r\n <objStationData>\r\n <Servertime>2014-04-19T19:10:55.34</Servertime>\r\n
46
+ \ <Traincode>E930 </Traincode>\r\n <Stationfullname>Dublin Connolly</Stationfullname>\r\n
47
+ \ <Stationcode>CNLLY</Stationcode>\r\n <Querytime>19:10:55</Querytime>\r\n
48
+ \ <Traindate>19 Apr 2014</Traindate>\r\n <Origin>Greystones</Origin>\r\n
49
+ \ <Destination>Howth</Destination>\r\n <Origintime>18:30</Origintime>\r\n
50
+ \ <Destinationtime>19:52</Destinationtime>\r\n <Status>En Route</Status>\r\n
51
+ \ <Lastlocation>Arrived Booterstown</Lastlocation>\r\n <Duein>17</Duein>\r\n
52
+ \ <Late>-1</Late>\r\n <Exparrival>19:26</Exparrival>\r\n <Expdepart>19:27</Expdepart>\r\n
53
+ \ <Scharrival>19:27</Scharrival>\r\n <Schdepart>19:28</Schdepart>\r\n
54
+ \ <Direction>Northbound</Direction>\r\n <Traintype>DART</Traintype>\r\n
55
+ \ <Locationtype>S</Locationtype>\r\n </objStationData>\r\n <objStationData>\r\n
56
+ \ <Servertime>2014-04-19T19:10:55.34</Servertime>\r\n <Traincode>E827
57
+ </Traincode>\r\n <Stationfullname>Dublin Connolly</Stationfullname>\r\n
58
+ \ <Stationcode>CNLLY</Stationcode>\r\n <Querytime>19:10:55</Querytime>\r\n
59
+ \ <Traindate>19 Apr 2014</Traindate>\r\n <Origin>Bray</Origin>\r\n <Destination>Malahide</Destination>\r\n
60
+ \ <Origintime>18:55</Origintime>\r\n <Destinationtime>20:05</Destinationtime>\r\n
61
+ \ <Status>En Route</Status>\r\n <Lastlocation>Arrived Glenageary</Lastlocation>\r\n
62
+ \ <Duein>30</Duein>\r\n <Late>1</Late>\r\n <Exparrival>19:39</Exparrival>\r\n
63
+ \ <Expdepart>19:40</Expdepart>\r\n <Scharrival>19:38</Scharrival>\r\n
64
+ \ <Schdepart>19:39</Schdepart>\r\n <Direction>Northbound</Direction>\r\n
65
+ \ <Traintype>DART</Traintype>\r\n <Locationtype>S</Locationtype>\r\n
66
+ \ </objStationData>\r\n <objStationData>\r\n <Servertime>2014-04-19T19:10:55.34</Servertime>\r\n
67
+ \ <Traincode>D929 </Traincode>\r\n <Stationfullname>Dublin Connolly</Stationfullname>\r\n
68
+ \ <Stationcode>CNLLY</Stationcode>\r\n <Querytime>19:10:55</Querytime>\r\n
69
+ \ <Traindate>19 Apr 2014</Traindate>\r\n <Origin>Dublin Pearse</Origin>\r\n
70
+ \ <Destination>Maynooth</Destination>\r\n <Origintime>19:40</Origintime>\r\n
71
+ \ <Destinationtime>20:26</Destinationtime>\r\n <Status>No Information</Status>\r\n
72
+ \ <Lastlocation />\r\n <Duein>37</Duein>\r\n <Late>0</Late>\r\n <Exparrival>19:46</Exparrival>\r\n
73
+ \ <Expdepart>19:47</Expdepart>\r\n <Scharrival>19:46</Scharrival>\r\n
74
+ \ <Schdepart>19:47</Schdepart>\r\n <Direction>Northbound</Direction>\r\n
75
+ \ <Traintype>Train</Traintype>\r\n <Locationtype>S</Locationtype>\r\n
76
+ \ </objStationData>\r\n <objStationData>\r\n <Servertime>2014-04-19T19:10:55.34</Servertime>\r\n
77
+ \ <Traincode>E931 </Traincode>\r\n <Stationfullname>Dublin Connolly</Stationfullname>\r\n
78
+ \ <Stationcode>CNLLY</Stationcode>\r\n <Querytime>19:10:55</Querytime>\r\n
79
+ \ <Traindate>19 Apr 2014</Traindate>\r\n <Origin>Bray</Origin>\r\n <Destination>Howth</Destination>\r\n
80
+ \ <Origintime>19:10</Origintime>\r\n <Destinationtime>20:18</Destinationtime>\r\n
81
+ \ <Status>No Information</Status>\r\n <Lastlocation />\r\n <Duein>44</Duein>\r\n
82
+ \ <Late>0</Late>\r\n <Exparrival>19:53</Exparrival>\r\n <Expdepart>19:54</Expdepart>\r\n
83
+ \ <Scharrival>19:53</Scharrival>\r\n <Schdepart>19:54</Schdepart>\r\n
84
+ \ <Direction>Northbound</Direction>\r\n <Traintype>DART</Traintype>\r\n
85
+ \ <Locationtype>S</Locationtype>\r\n </objStationData>\r\n <objStationData>\r\n
86
+ \ <Servertime>2014-04-19T19:10:55.34</Servertime>\r\n <Traincode>E932
87
+ </Traincode>\r\n <Stationfullname>Dublin Connolly</Stationfullname>\r\n
88
+ \ <Stationcode>CNLLY</Stationcode>\r\n <Querytime>19:10:55</Querytime>\r\n
89
+ \ <Traindate>19 Apr 2014</Traindate>\r\n <Origin>Bray</Origin>\r\n <Destination>Howth</Destination>\r\n
90
+ \ <Origintime>19:25</Origintime>\r\n <Destinationtime>20:33</Destinationtime>\r\n
91
+ \ <Status>No Information</Status>\r\n <Lastlocation />\r\n <Duein>58</Duein>\r\n
92
+ \ <Late>0</Late>\r\n <Exparrival>20:07</Exparrival>\r\n <Expdepart>20:08</Expdepart>\r\n
93
+ \ <Scharrival>20:07</Scharrival>\r\n <Schdepart>20:08</Schdepart>\r\n
94
+ \ <Direction>Northbound</Direction>\r\n <Traintype>DART</Traintype>\r\n
95
+ \ <Locationtype>S</Locationtype>\r\n </objStationData>\r\n <objStationData>\r\n
96
+ \ <Servertime>2014-04-19T19:10:55.34</Servertime>\r\n <Traincode>D930
97
+ </Traincode>\r\n <Stationfullname>Dublin Connolly</Stationfullname>\r\n
98
+ \ <Stationcode>CNLLY</Stationcode>\r\n <Querytime>19:10:55</Querytime>\r\n
99
+ \ <Traindate>19 Apr 2014</Traindate>\r\n <Origin>Dublin Pearse</Origin>\r\n
100
+ \ <Destination>Maynooth</Destination>\r\n <Origintime>20:08</Origintime>\r\n
101
+ \ <Destinationtime>20:54</Destinationtime>\r\n <Status>No Information</Status>\r\n
102
+ \ <Lastlocation />\r\n <Duein>64</Duein>\r\n <Late>0</Late>\r\n <Exparrival>20:13</Exparrival>\r\n
103
+ \ <Expdepart>20:14</Expdepart>\r\n <Scharrival>20:13</Scharrival>\r\n
104
+ \ <Schdepart>20:14</Schdepart>\r\n <Direction>Northbound</Direction>\r\n
105
+ \ <Traintype>Train</Traintype>\r\n <Locationtype>S</Locationtype>\r\n
106
+ \ </objStationData>\r\n <objStationData>\r\n <Servertime>2014-04-19T19:10:55.34</Servertime>\r\n
107
+ \ <Traincode>D820 </Traincode>\r\n <Stationfullname>Dublin Connolly</Stationfullname>\r\n
108
+ \ <Stationcode>CNLLY</Stationcode>\r\n <Querytime>19:10:55</Querytime>\r\n
109
+ \ <Traindate>19 Apr 2014</Traindate>\r\n <Origin>Dublin Pearse</Origin>\r\n
110
+ \ <Destination>Drogheda</Destination>\r\n <Origintime>20:13</Origintime>\r\n
111
+ \ <Destinationtime>21:15</Destinationtime>\r\n <Status>No Information</Status>\r\n
112
+ \ <Lastlocation />\r\n <Duein>70</Duein>\r\n <Late>0</Late>\r\n <Exparrival>20:19</Exparrival>\r\n
113
+ \ <Expdepart>20:20</Expdepart>\r\n <Scharrival>20:19</Scharrival>\r\n
114
+ \ <Schdepart>20:20</Schdepart>\r\n <Direction>Northbound</Direction>\r\n
115
+ \ <Traintype>Train</Traintype>\r\n <Locationtype>S</Locationtype>\r\n
116
+ \ </objStationData>\r\n <objStationData>\r\n <Servertime>2014-04-19T19:10:55.34</Servertime>\r\n
117
+ \ <Traincode>E828 </Traincode>\r\n <Stationfullname>Dublin Connolly</Stationfullname>\r\n
118
+ \ <Stationcode>CNLLY</Stationcode>\r\n <Querytime>19:10:55</Querytime>\r\n
119
+ \ <Traindate>19 Apr 2014</Traindate>\r\n <Origin>Greystones</Origin>\r\n
120
+ \ <Destination>Malahide</Destination>\r\n <Origintime>19:30</Origintime>\r\n
121
+ \ <Destinationtime>20:50</Destinationtime>\r\n <Status>No Information</Status>\r\n
122
+ \ <Lastlocation />\r\n <Duein>74</Duein>\r\n <Late>0</Late>\r\n <Exparrival>20:23</Exparrival>\r\n
123
+ \ <Expdepart>20:24</Expdepart>\r\n <Scharrival>20:23</Scharrival>\r\n
124
+ \ <Schdepart>20:24</Schdepart>\r\n <Direction>Northbound</Direction>\r\n
125
+ \ <Traintype>DART</Traintype>\r\n <Locationtype>S</Locationtype>\r\n
126
+ \ </objStationData>\r\n <objStationData>\r\n <Servertime>2014-04-19T19:10:55.34</Servertime>\r\n
127
+ \ <Traincode>E933 </Traincode>\r\n <Stationfullname>Dublin Connolly</Stationfullname>\r\n
128
+ \ <Stationcode>CNLLY</Stationcode>\r\n <Querytime>19:10:55</Querytime>\r\n
129
+ \ <Traindate>19 Apr 2014</Traindate>\r\n <Origin>Bray</Origin>\r\n <Destination>Howth</Destination>\r\n
130
+ \ <Origintime>19:55</Origintime>\r\n <Destinationtime>21:02</Destinationtime>\r\n
131
+ \ <Status>No Information</Status>\r\n <Lastlocation />\r\n <Duein>88</Duein>\r\n
132
+ \ <Late>0</Late>\r\n <Exparrival>20:37</Exparrival>\r\n <Expdepart>20:38</Expdepart>\r\n
133
+ \ <Scharrival>20:37</Scharrival>\r\n <Schdepart>20:38</Schdepart>\r\n
134
+ \ <Direction>Northbound</Direction>\r\n <Traintype>DART</Traintype>\r\n
135
+ \ <Locationtype>S</Locationtype>\r\n </objStationData>\r\n <objStationData>\r\n
136
+ \ <Servertime>2014-04-19T19:10:55.34</Servertime>\r\n <Traincode>P667
137
+ </Traincode>\r\n <Stationfullname>Dublin Connolly</Stationfullname>\r\n
138
+ \ <Stationcode>CNLLY</Stationcode>\r\n <Querytime>19:10:55</Querytime>\r\n
139
+ \ <Traindate>19 Apr 2014</Traindate>\r\n <Origin>Maynooth</Origin>\r\n
140
+ \ <Destination>Dublin Pearse</Destination>\r\n <Origintime>18:40</Origintime>\r\n
141
+ \ <Destinationtime>19:23</Destinationtime>\r\n <Status>En Route</Status>\r\n
142
+ \ <Lastlocation>Departed Ashtown</Lastlocation>\r\n <Duein>12</Duein>\r\n
143
+ \ <Late>3</Late>\r\n <Exparrival>19:22</Exparrival>\r\n <Expdepart>19:22</Expdepart>\r\n
144
+ \ <Scharrival>19:18</Scharrival>\r\n <Schdepart>19:19</Schdepart>\r\n
145
+ \ <Direction>Southbound</Direction>\r\n <Traintype>Train</Traintype>\r\n
146
+ \ <Locationtype>S</Locationtype>\r\n </objStationData>\r\n <objStationData>\r\n
147
+ \ <Servertime>2014-04-19T19:10:55.34</Servertime>\r\n <Traincode>E126
148
+ </Traincode>\r\n <Stationfullname>Dublin Connolly</Stationfullname>\r\n
149
+ \ <Stationcode>CNLLY</Stationcode>\r\n <Querytime>19:10:55</Querytime>\r\n
150
+ \ <Traindate>19 Apr 2014</Traindate>\r\n <Origin>Howth</Origin>\r\n <Destination>Greystones</Destination>\r\n
151
+ \ <Origintime>19:00</Origintime>\r\n <Destinationtime>20:20</Destinationtime>\r\n
152
+ \ <Status>En Route</Status>\r\n <Lastlocation>Departed Howth Junction</Lastlocation>\r\n
153
+ \ <Duein>15</Duein>\r\n <Late>0</Late>\r\n <Exparrival>19:24</Exparrival>\r\n
154
+ \ <Expdepart>19:25</Expdepart>\r\n <Scharrival>19:24</Scharrival>\r\n
155
+ \ <Schdepart>19:25</Schdepart>\r\n <Direction>Southbound</Direction>\r\n
156
+ \ <Traintype>DART</Traintype>\r\n <Locationtype>S</Locationtype>\r\n
157
+ \ </objStationData>\r\n <objStationData>\r\n <Servertime>2014-04-19T19:10:55.34</Servertime>\r\n
158
+ \ <Traincode>E227 </Traincode>\r\n <Stationfullname>Dublin Connolly</Stationfullname>\r\n
159
+ \ <Stationcode>CNLLY</Stationcode>\r\n <Querytime>19:10:55</Querytime>\r\n
160
+ \ <Traindate>19 Apr 2014</Traindate>\r\n <Origin>Malahide</Origin>\r\n
161
+ \ <Destination>Bray</Destination>\r\n <Origintime>19:15</Origintime>\r\n
162
+ \ <Destinationtime>20:24</Destinationtime>\r\n <Status>No Information</Status>\r\n
163
+ \ <Lastlocation />\r\n <Duein>30</Duein>\r\n <Late>0</Late>\r\n <Exparrival>19:39</Exparrival>\r\n
164
+ \ <Expdepart>19:40</Expdepart>\r\n <Scharrival>19:39</Scharrival>\r\n
165
+ \ <Schdepart>19:40</Schdepart>\r\n <Direction>Southbound</Direction>\r\n
166
+ \ <Traintype>DART</Traintype>\r\n <Locationtype>S</Locationtype>\r\n
167
+ \ </objStationData>\r\n <objStationData>\r\n <Servertime>2014-04-19T19:10:55.34</Servertime>\r\n
168
+ \ <Traincode>P622 </Traincode>\r\n <Stationfullname>Dublin Connolly</Stationfullname>\r\n
169
+ \ <Stationcode>CNLLY</Stationcode>\r\n <Querytime>19:10:55</Querytime>\r\n
170
+ \ <Traindate>19 Apr 2014</Traindate>\r\n <Origin>Drogheda</Origin>\r\n
171
+ \ <Destination>Dublin Pearse</Destination>\r\n <Origintime>18:50</Origintime>\r\n
172
+ \ <Destinationtime>19:51</Destinationtime>\r\n <Status>En Route</Status>\r\n
173
+ \ <Lastlocation>Departed Balbriggan</Lastlocation>\r\n <Duein>37</Duein>\r\n
174
+ \ <Late>1</Late>\r\n <Exparrival>19:46</Exparrival>\r\n <Expdepart>19:47</Expdepart>\r\n
175
+ \ <Scharrival>19:45</Scharrival>\r\n <Schdepart>19:46</Schdepart>\r\n
176
+ \ <Direction>Southbound</Direction>\r\n <Traintype>Train</Traintype>\r\n
177
+ \ <Locationtype>S</Locationtype>\r\n </objStationData>\r\n <objStationData>\r\n
178
+ \ <Servertime>2014-04-19T19:10:55.34</Servertime>\r\n <Traincode>E252
179
+ </Traincode>\r\n <Stationfullname>Dublin Connolly</Stationfullname>\r\n
180
+ \ <Stationcode>CNLLY</Stationcode>\r\n <Querytime>19:10:55</Querytime>\r\n
181
+ \ <Traindate>19 Apr 2014</Traindate>\r\n <Origin>Howth</Origin>\r\n <Destination>Bray</Destination>\r\n
182
+ \ <Origintime>19:30</Origintime>\r\n <Destinationtime>20:39</Destinationtime>\r\n
183
+ \ <Status>No Information</Status>\r\n <Lastlocation />\r\n <Duein>45</Duein>\r\n
184
+ \ <Late>0</Late>\r\n <Exparrival>19:54</Exparrival>\r\n <Expdepart>19:55</Expdepart>\r\n
185
+ \ <Scharrival>19:54</Scharrival>\r\n <Schdepart>19:55</Schdepart>\r\n
186
+ \ <Direction>Southbound</Direction>\r\n <Traintype>DART</Traintype>\r\n
187
+ \ <Locationtype>S</Locationtype>\r\n </objStationData>\r\n <objStationData>\r\n
188
+ \ <Servertime>2014-04-19T19:10:55.34</Servertime>\r\n <Traincode>E228
189
+ </Traincode>\r\n <Stationfullname>Dublin Connolly</Stationfullname>\r\n
190
+ \ <Stationcode>CNLLY</Stationcode>\r\n <Querytime>19:10:55</Querytime>\r\n
191
+ \ <Traindate>19 Apr 2014</Traindate>\r\n <Origin>Malahide</Origin>\r\n
192
+ \ <Destination>Bray</Destination>\r\n <Origintime>19:45</Origintime>\r\n
193
+ \ <Destinationtime>20:54</Destinationtime>\r\n <Status>No Information</Status>\r\n
194
+ \ <Lastlocation />\r\n <Duein>60</Duein>\r\n <Late>0</Late>\r\n <Exparrival>20:09</Exparrival>\r\n
195
+ \ <Expdepart>20:10</Expdepart>\r\n <Scharrival>20:09</Scharrival>\r\n
196
+ \ <Schdepart>20:10</Schdepart>\r\n <Direction>Southbound</Direction>\r\n
197
+ \ <Traintype>DART</Traintype>\r\n <Locationtype>S</Locationtype>\r\n
198
+ \ </objStationData>\r\n <objStationData>\r\n <Servertime>2014-04-19T19:10:55.34</Servertime>\r\n
199
+ \ <Traincode>A133 </Traincode>\r\n <Stationfullname>Dublin Connolly</Stationfullname>\r\n
200
+ \ <Stationcode>CNLLY</Stationcode>\r\n <Querytime>19:10:55</Querytime>\r\n
201
+ \ <Traindate>19 Apr 2014</Traindate>\r\n <Origin>Belfast Central</Origin>\r\n
202
+ \ <Destination>Dublin Connolly</Destination>\r\n <Origintime>18:05</Origintime>\r\n
203
+ \ <Destinationtime>20:15</Destinationtime>\r\n <Status>No Information</Status>\r\n
204
+ \ <Lastlocation />\r\n <Duein>65</Duein>\r\n <Late>0</Late>\r\n <Exparrival>20:15</Exparrival>\r\n
205
+ \ <Expdepart>00:00</Expdepart>\r\n <Scharrival>20:15</Scharrival>\r\n
206
+ \ <Schdepart>00:00</Schdepart>\r\n <Direction>Southbound</Direction>\r\n
207
+ \ <Traintype>Train</Traintype>\r\n <Locationtype>D</Locationtype>\r\n
208
+ \ </objStationData>\r\n <objStationData>\r\n <Servertime>2014-04-19T19:10:55.34</Servertime>\r\n
209
+ \ <Traincode>P668 </Traincode>\r\n <Stationfullname>Dublin Connolly</Stationfullname>\r\n
210
+ \ <Stationcode>CNLLY</Stationcode>\r\n <Querytime>19:10:55</Querytime>\r\n
211
+ \ <Traindate>19 Apr 2014</Traindate>\r\n <Origin>Maynooth</Origin>\r\n
212
+ \ <Destination>Dublin Pearse</Destination>\r\n <Origintime>19:41</Origintime>\r\n
213
+ \ <Destinationtime>20:26</Destinationtime>\r\n <Status>No Information</Status>\r\n
214
+ \ <Lastlocation />\r\n <Duein>71</Duein>\r\n <Late>0</Late>\r\n <Exparrival>20:20</Exparrival>\r\n
215
+ \ <Expdepart>20:21</Expdepart>\r\n <Scharrival>20:20</Scharrival>\r\n
216
+ \ <Schdepart>20:21</Schdepart>\r\n <Direction>Southbound</Direction>\r\n
217
+ \ <Traintype>Train</Traintype>\r\n <Locationtype>S</Locationtype>\r\n
218
+ \ </objStationData>\r\n <objStationData>\r\n <Servertime>2014-04-19T19:10:55.34</Servertime>\r\n
219
+ \ <Traincode>E128 </Traincode>\r\n <Stationfullname>Dublin Connolly</Stationfullname>\r\n
220
+ \ <Stationcode>CNLLY</Stationcode>\r\n <Querytime>19:10:55</Querytime>\r\n
221
+ \ <Traindate>19 Apr 2014</Traindate>\r\n <Origin>Howth</Origin>\r\n <Destination>Greystones</Destination>\r\n
222
+ \ <Origintime>20:00</Origintime>\r\n <Destinationtime>21:20</Destinationtime>\r\n
223
+ \ <Status>No Information</Status>\r\n <Lastlocation />\r\n <Duein>75</Duein>\r\n
224
+ \ <Late>0</Late>\r\n <Exparrival>20:24</Exparrival>\r\n <Expdepart>20:25</Expdepart>\r\n
225
+ \ <Scharrival>20:24</Scharrival>\r\n <Schdepart>20:25</Schdepart>\r\n
226
+ \ <Direction>Southbound</Direction>\r\n <Traintype>DART</Traintype>\r\n
227
+ \ <Locationtype>S</Locationtype>\r\n </objStationData>\r\n <objStationData>\r\n
228
+ \ <Servertime>2014-04-19T19:10:55.34</Servertime>\r\n <Traincode>E229
229
+ </Traincode>\r\n <Stationfullname>Dublin Connolly</Stationfullname>\r\n
230
+ \ <Stationcode>CNLLY</Stationcode>\r\n <Querytime>19:10:55</Querytime>\r\n
231
+ \ <Traindate>19 Apr 2014</Traindate>\r\n <Origin>Malahide</Origin>\r\n
232
+ \ <Destination>Bray</Destination>\r\n <Origintime>20:15</Origintime>\r\n
233
+ \ <Destinationtime>21:24</Destinationtime>\r\n <Status>No Information</Status>\r\n
234
+ \ <Lastlocation />\r\n <Duein>90</Duein>\r\n <Late>0</Late>\r\n <Exparrival>20:39</Exparrival>\r\n
235
+ \ <Expdepart>20:40</Expdepart>\r\n <Scharrival>20:39</Scharrival>\r\n
236
+ \ <Schdepart>20:40</Schdepart>\r\n <Direction>Southbound</Direction>\r\n
237
+ \ <Traintype>DART</Traintype>\r\n <Locationtype>S</Locationtype>\r\n
238
+ \ </objStationData>\r\n</ArrayOfObjStationData>"
239
+ http_version:
240
+ recorded_at: Sat, 19 Apr 2014 18:10:57 GMT
241
+ recorded_with: VCR 2.9.0
@@ -0,0 +1,241 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.irishrail.ie/realtime/realtime.asmx/getStationDataByNameXML?StationDesc=Dublin%20Connolly
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - "*/*; q=0.5, application/xml"
12
+ Accept-Encoding:
13
+ - gzip, deflate
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Cache-Control:
22
+ - private, max-age=0
23
+ Content-Type:
24
+ - text/xml; charset=utf-8
25
+ Server:
26
+ - ''
27
+ Date:
28
+ - Sat, 19 Apr 2014 18:10:55 GMT
29
+ Content-Length:
30
+ - '16433'
31
+ body:
32
+ encoding: UTF-8
33
+ string: "<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<ArrayOfObjStationData
34
+ xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
35
+ xmlns=\"http://api.irishrail.ie/realtime/\">\r\n <objStationData>\r\n <Servertime>2014-04-19T19:10:55.46</Servertime>\r\n
36
+ \ <Traincode>D819 </Traincode>\r\n <Stationfullname>Dublin Connolly</Stationfullname>\r\n
37
+ \ <Stationcode>CNLLY</Stationcode>\r\n <Querytime>19:10:55</Querytime>\r\n
38
+ \ <Traindate>19 Apr 2014</Traindate>\r\n <Origin>Dublin Pearse</Origin>\r\n
39
+ \ <Destination>Drogheda</Destination>\r\n <Origintime>19:13</Origintime>\r\n
40
+ \ <Destinationtime>20:16</Destinationtime>\r\n <Status>No Information</Status>\r\n
41
+ \ <Lastlocation />\r\n <Duein>10</Duein>\r\n <Late>0</Late>\r\n <Exparrival>19:19</Exparrival>\r\n
42
+ \ <Expdepart>19:20</Expdepart>\r\n <Scharrival>19:19</Scharrival>\r\n
43
+ \ <Schdepart>19:20</Schdepart>\r\n <Direction>Northbound</Direction>\r\n
44
+ \ <Traintype>Train</Traintype>\r\n <Locationtype>S</Locationtype>\r\n
45
+ \ </objStationData>\r\n <objStationData>\r\n <Servertime>2014-04-19T19:10:55.46</Servertime>\r\n
46
+ \ <Traincode>E930 </Traincode>\r\n <Stationfullname>Dublin Connolly</Stationfullname>\r\n
47
+ \ <Stationcode>CNLLY</Stationcode>\r\n <Querytime>19:10:55</Querytime>\r\n
48
+ \ <Traindate>19 Apr 2014</Traindate>\r\n <Origin>Greystones</Origin>\r\n
49
+ \ <Destination>Howth</Destination>\r\n <Origintime>18:30</Origintime>\r\n
50
+ \ <Destinationtime>19:52</Destinationtime>\r\n <Status>En Route</Status>\r\n
51
+ \ <Lastlocation>Arrived Booterstown</Lastlocation>\r\n <Duein>17</Duein>\r\n
52
+ \ <Late>-1</Late>\r\n <Exparrival>19:26</Exparrival>\r\n <Expdepart>19:27</Expdepart>\r\n
53
+ \ <Scharrival>19:27</Scharrival>\r\n <Schdepart>19:28</Schdepart>\r\n
54
+ \ <Direction>Northbound</Direction>\r\n <Traintype>DART</Traintype>\r\n
55
+ \ <Locationtype>S</Locationtype>\r\n </objStationData>\r\n <objStationData>\r\n
56
+ \ <Servertime>2014-04-19T19:10:55.46</Servertime>\r\n <Traincode>E827
57
+ </Traincode>\r\n <Stationfullname>Dublin Connolly</Stationfullname>\r\n
58
+ \ <Stationcode>CNLLY</Stationcode>\r\n <Querytime>19:10:55</Querytime>\r\n
59
+ \ <Traindate>19 Apr 2014</Traindate>\r\n <Origin>Bray</Origin>\r\n <Destination>Malahide</Destination>\r\n
60
+ \ <Origintime>18:55</Origintime>\r\n <Destinationtime>20:05</Destinationtime>\r\n
61
+ \ <Status>En Route</Status>\r\n <Lastlocation>Arrived Glenageary</Lastlocation>\r\n
62
+ \ <Duein>30</Duein>\r\n <Late>1</Late>\r\n <Exparrival>19:39</Exparrival>\r\n
63
+ \ <Expdepart>19:40</Expdepart>\r\n <Scharrival>19:38</Scharrival>\r\n
64
+ \ <Schdepart>19:39</Schdepart>\r\n <Direction>Northbound</Direction>\r\n
65
+ \ <Traintype>DART</Traintype>\r\n <Locationtype>S</Locationtype>\r\n
66
+ \ </objStationData>\r\n <objStationData>\r\n <Servertime>2014-04-19T19:10:55.46</Servertime>\r\n
67
+ \ <Traincode>D929 </Traincode>\r\n <Stationfullname>Dublin Connolly</Stationfullname>\r\n
68
+ \ <Stationcode>CNLLY</Stationcode>\r\n <Querytime>19:10:55</Querytime>\r\n
69
+ \ <Traindate>19 Apr 2014</Traindate>\r\n <Origin>Dublin Pearse</Origin>\r\n
70
+ \ <Destination>Maynooth</Destination>\r\n <Origintime>19:40</Origintime>\r\n
71
+ \ <Destinationtime>20:26</Destinationtime>\r\n <Status>No Information</Status>\r\n
72
+ \ <Lastlocation />\r\n <Duein>37</Duein>\r\n <Late>0</Late>\r\n <Exparrival>19:46</Exparrival>\r\n
73
+ \ <Expdepart>19:47</Expdepart>\r\n <Scharrival>19:46</Scharrival>\r\n
74
+ \ <Schdepart>19:47</Schdepart>\r\n <Direction>Northbound</Direction>\r\n
75
+ \ <Traintype>Train</Traintype>\r\n <Locationtype>S</Locationtype>\r\n
76
+ \ </objStationData>\r\n <objStationData>\r\n <Servertime>2014-04-19T19:10:55.46</Servertime>\r\n
77
+ \ <Traincode>E931 </Traincode>\r\n <Stationfullname>Dublin Connolly</Stationfullname>\r\n
78
+ \ <Stationcode>CNLLY</Stationcode>\r\n <Querytime>19:10:55</Querytime>\r\n
79
+ \ <Traindate>19 Apr 2014</Traindate>\r\n <Origin>Bray</Origin>\r\n <Destination>Howth</Destination>\r\n
80
+ \ <Origintime>19:10</Origintime>\r\n <Destinationtime>20:18</Destinationtime>\r\n
81
+ \ <Status>No Information</Status>\r\n <Lastlocation />\r\n <Duein>44</Duein>\r\n
82
+ \ <Late>0</Late>\r\n <Exparrival>19:53</Exparrival>\r\n <Expdepart>19:54</Expdepart>\r\n
83
+ \ <Scharrival>19:53</Scharrival>\r\n <Schdepart>19:54</Schdepart>\r\n
84
+ \ <Direction>Northbound</Direction>\r\n <Traintype>DART</Traintype>\r\n
85
+ \ <Locationtype>S</Locationtype>\r\n </objStationData>\r\n <objStationData>\r\n
86
+ \ <Servertime>2014-04-19T19:10:55.46</Servertime>\r\n <Traincode>E932
87
+ </Traincode>\r\n <Stationfullname>Dublin Connolly</Stationfullname>\r\n
88
+ \ <Stationcode>CNLLY</Stationcode>\r\n <Querytime>19:10:55</Querytime>\r\n
89
+ \ <Traindate>19 Apr 2014</Traindate>\r\n <Origin>Bray</Origin>\r\n <Destination>Howth</Destination>\r\n
90
+ \ <Origintime>19:25</Origintime>\r\n <Destinationtime>20:33</Destinationtime>\r\n
91
+ \ <Status>No Information</Status>\r\n <Lastlocation />\r\n <Duein>58</Duein>\r\n
92
+ \ <Late>0</Late>\r\n <Exparrival>20:07</Exparrival>\r\n <Expdepart>20:08</Expdepart>\r\n
93
+ \ <Scharrival>20:07</Scharrival>\r\n <Schdepart>20:08</Schdepart>\r\n
94
+ \ <Direction>Northbound</Direction>\r\n <Traintype>DART</Traintype>\r\n
95
+ \ <Locationtype>S</Locationtype>\r\n </objStationData>\r\n <objStationData>\r\n
96
+ \ <Servertime>2014-04-19T19:10:55.46</Servertime>\r\n <Traincode>D930
97
+ </Traincode>\r\n <Stationfullname>Dublin Connolly</Stationfullname>\r\n
98
+ \ <Stationcode>CNLLY</Stationcode>\r\n <Querytime>19:10:55</Querytime>\r\n
99
+ \ <Traindate>19 Apr 2014</Traindate>\r\n <Origin>Dublin Pearse</Origin>\r\n
100
+ \ <Destination>Maynooth</Destination>\r\n <Origintime>20:08</Origintime>\r\n
101
+ \ <Destinationtime>20:54</Destinationtime>\r\n <Status>No Information</Status>\r\n
102
+ \ <Lastlocation />\r\n <Duein>64</Duein>\r\n <Late>0</Late>\r\n <Exparrival>20:13</Exparrival>\r\n
103
+ \ <Expdepart>20:14</Expdepart>\r\n <Scharrival>20:13</Scharrival>\r\n
104
+ \ <Schdepart>20:14</Schdepart>\r\n <Direction>Northbound</Direction>\r\n
105
+ \ <Traintype>Train</Traintype>\r\n <Locationtype>S</Locationtype>\r\n
106
+ \ </objStationData>\r\n <objStationData>\r\n <Servertime>2014-04-19T19:10:55.46</Servertime>\r\n
107
+ \ <Traincode>D820 </Traincode>\r\n <Stationfullname>Dublin Connolly</Stationfullname>\r\n
108
+ \ <Stationcode>CNLLY</Stationcode>\r\n <Querytime>19:10:55</Querytime>\r\n
109
+ \ <Traindate>19 Apr 2014</Traindate>\r\n <Origin>Dublin Pearse</Origin>\r\n
110
+ \ <Destination>Drogheda</Destination>\r\n <Origintime>20:13</Origintime>\r\n
111
+ \ <Destinationtime>21:15</Destinationtime>\r\n <Status>No Information</Status>\r\n
112
+ \ <Lastlocation />\r\n <Duein>70</Duein>\r\n <Late>0</Late>\r\n <Exparrival>20:19</Exparrival>\r\n
113
+ \ <Expdepart>20:20</Expdepart>\r\n <Scharrival>20:19</Scharrival>\r\n
114
+ \ <Schdepart>20:20</Schdepart>\r\n <Direction>Northbound</Direction>\r\n
115
+ \ <Traintype>Train</Traintype>\r\n <Locationtype>S</Locationtype>\r\n
116
+ \ </objStationData>\r\n <objStationData>\r\n <Servertime>2014-04-19T19:10:55.46</Servertime>\r\n
117
+ \ <Traincode>E828 </Traincode>\r\n <Stationfullname>Dublin Connolly</Stationfullname>\r\n
118
+ \ <Stationcode>CNLLY</Stationcode>\r\n <Querytime>19:10:55</Querytime>\r\n
119
+ \ <Traindate>19 Apr 2014</Traindate>\r\n <Origin>Greystones</Origin>\r\n
120
+ \ <Destination>Malahide</Destination>\r\n <Origintime>19:30</Origintime>\r\n
121
+ \ <Destinationtime>20:50</Destinationtime>\r\n <Status>No Information</Status>\r\n
122
+ \ <Lastlocation />\r\n <Duein>74</Duein>\r\n <Late>0</Late>\r\n <Exparrival>20:23</Exparrival>\r\n
123
+ \ <Expdepart>20:24</Expdepart>\r\n <Scharrival>20:23</Scharrival>\r\n
124
+ \ <Schdepart>20:24</Schdepart>\r\n <Direction>Northbound</Direction>\r\n
125
+ \ <Traintype>DART</Traintype>\r\n <Locationtype>S</Locationtype>\r\n
126
+ \ </objStationData>\r\n <objStationData>\r\n <Servertime>2014-04-19T19:10:55.46</Servertime>\r\n
127
+ \ <Traincode>E933 </Traincode>\r\n <Stationfullname>Dublin Connolly</Stationfullname>\r\n
128
+ \ <Stationcode>CNLLY</Stationcode>\r\n <Querytime>19:10:55</Querytime>\r\n
129
+ \ <Traindate>19 Apr 2014</Traindate>\r\n <Origin>Bray</Origin>\r\n <Destination>Howth</Destination>\r\n
130
+ \ <Origintime>19:55</Origintime>\r\n <Destinationtime>21:02</Destinationtime>\r\n
131
+ \ <Status>No Information</Status>\r\n <Lastlocation />\r\n <Duein>88</Duein>\r\n
132
+ \ <Late>0</Late>\r\n <Exparrival>20:37</Exparrival>\r\n <Expdepart>20:38</Expdepart>\r\n
133
+ \ <Scharrival>20:37</Scharrival>\r\n <Schdepart>20:38</Schdepart>\r\n
134
+ \ <Direction>Northbound</Direction>\r\n <Traintype>DART</Traintype>\r\n
135
+ \ <Locationtype>S</Locationtype>\r\n </objStationData>\r\n <objStationData>\r\n
136
+ \ <Servertime>2014-04-19T19:10:55.46</Servertime>\r\n <Traincode>P667
137
+ </Traincode>\r\n <Stationfullname>Dublin Connolly</Stationfullname>\r\n
138
+ \ <Stationcode>CNLLY</Stationcode>\r\n <Querytime>19:10:55</Querytime>\r\n
139
+ \ <Traindate>19 Apr 2014</Traindate>\r\n <Origin>Maynooth</Origin>\r\n
140
+ \ <Destination>Dublin Pearse</Destination>\r\n <Origintime>18:40</Origintime>\r\n
141
+ \ <Destinationtime>19:23</Destinationtime>\r\n <Status>En Route</Status>\r\n
142
+ \ <Lastlocation>Departed Ashtown</Lastlocation>\r\n <Duein>12</Duein>\r\n
143
+ \ <Late>3</Late>\r\n <Exparrival>19:22</Exparrival>\r\n <Expdepart>19:22</Expdepart>\r\n
144
+ \ <Scharrival>19:18</Scharrival>\r\n <Schdepart>19:19</Schdepart>\r\n
145
+ \ <Direction>Southbound</Direction>\r\n <Traintype>Train</Traintype>\r\n
146
+ \ <Locationtype>S</Locationtype>\r\n </objStationData>\r\n <objStationData>\r\n
147
+ \ <Servertime>2014-04-19T19:10:55.46</Servertime>\r\n <Traincode>E126
148
+ </Traincode>\r\n <Stationfullname>Dublin Connolly</Stationfullname>\r\n
149
+ \ <Stationcode>CNLLY</Stationcode>\r\n <Querytime>19:10:55</Querytime>\r\n
150
+ \ <Traindate>19 Apr 2014</Traindate>\r\n <Origin>Howth</Origin>\r\n <Destination>Greystones</Destination>\r\n
151
+ \ <Origintime>19:00</Origintime>\r\n <Destinationtime>20:20</Destinationtime>\r\n
152
+ \ <Status>En Route</Status>\r\n <Lastlocation>Departed Howth Junction</Lastlocation>\r\n
153
+ \ <Duein>15</Duein>\r\n <Late>0</Late>\r\n <Exparrival>19:24</Exparrival>\r\n
154
+ \ <Expdepart>19:25</Expdepart>\r\n <Scharrival>19:24</Scharrival>\r\n
155
+ \ <Schdepart>19:25</Schdepart>\r\n <Direction>Southbound</Direction>\r\n
156
+ \ <Traintype>DART</Traintype>\r\n <Locationtype>S</Locationtype>\r\n
157
+ \ </objStationData>\r\n <objStationData>\r\n <Servertime>2014-04-19T19:10:55.46</Servertime>\r\n
158
+ \ <Traincode>E227 </Traincode>\r\n <Stationfullname>Dublin Connolly</Stationfullname>\r\n
159
+ \ <Stationcode>CNLLY</Stationcode>\r\n <Querytime>19:10:55</Querytime>\r\n
160
+ \ <Traindate>19 Apr 2014</Traindate>\r\n <Origin>Malahide</Origin>\r\n
161
+ \ <Destination>Bray</Destination>\r\n <Origintime>19:15</Origintime>\r\n
162
+ \ <Destinationtime>20:24</Destinationtime>\r\n <Status>No Information</Status>\r\n
163
+ \ <Lastlocation />\r\n <Duein>30</Duein>\r\n <Late>0</Late>\r\n <Exparrival>19:39</Exparrival>\r\n
164
+ \ <Expdepart>19:40</Expdepart>\r\n <Scharrival>19:39</Scharrival>\r\n
165
+ \ <Schdepart>19:40</Schdepart>\r\n <Direction>Southbound</Direction>\r\n
166
+ \ <Traintype>DART</Traintype>\r\n <Locationtype>S</Locationtype>\r\n
167
+ \ </objStationData>\r\n <objStationData>\r\n <Servertime>2014-04-19T19:10:55.46</Servertime>\r\n
168
+ \ <Traincode>P622 </Traincode>\r\n <Stationfullname>Dublin Connolly</Stationfullname>\r\n
169
+ \ <Stationcode>CNLLY</Stationcode>\r\n <Querytime>19:10:55</Querytime>\r\n
170
+ \ <Traindate>19 Apr 2014</Traindate>\r\n <Origin>Drogheda</Origin>\r\n
171
+ \ <Destination>Dublin Pearse</Destination>\r\n <Origintime>18:50</Origintime>\r\n
172
+ \ <Destinationtime>19:51</Destinationtime>\r\n <Status>En Route</Status>\r\n
173
+ \ <Lastlocation>Departed Balbriggan</Lastlocation>\r\n <Duein>37</Duein>\r\n
174
+ \ <Late>1</Late>\r\n <Exparrival>19:46</Exparrival>\r\n <Expdepart>19:47</Expdepart>\r\n
175
+ \ <Scharrival>19:45</Scharrival>\r\n <Schdepart>19:46</Schdepart>\r\n
176
+ \ <Direction>Southbound</Direction>\r\n <Traintype>Train</Traintype>\r\n
177
+ \ <Locationtype>S</Locationtype>\r\n </objStationData>\r\n <objStationData>\r\n
178
+ \ <Servertime>2014-04-19T19:10:55.46</Servertime>\r\n <Traincode>E252
179
+ </Traincode>\r\n <Stationfullname>Dublin Connolly</Stationfullname>\r\n
180
+ \ <Stationcode>CNLLY</Stationcode>\r\n <Querytime>19:10:55</Querytime>\r\n
181
+ \ <Traindate>19 Apr 2014</Traindate>\r\n <Origin>Howth</Origin>\r\n <Destination>Bray</Destination>\r\n
182
+ \ <Origintime>19:30</Origintime>\r\n <Destinationtime>20:39</Destinationtime>\r\n
183
+ \ <Status>No Information</Status>\r\n <Lastlocation />\r\n <Duein>45</Duein>\r\n
184
+ \ <Late>0</Late>\r\n <Exparrival>19:54</Exparrival>\r\n <Expdepart>19:55</Expdepart>\r\n
185
+ \ <Scharrival>19:54</Scharrival>\r\n <Schdepart>19:55</Schdepart>\r\n
186
+ \ <Direction>Southbound</Direction>\r\n <Traintype>DART</Traintype>\r\n
187
+ \ <Locationtype>S</Locationtype>\r\n </objStationData>\r\n <objStationData>\r\n
188
+ \ <Servertime>2014-04-19T19:10:55.46</Servertime>\r\n <Traincode>E228
189
+ </Traincode>\r\n <Stationfullname>Dublin Connolly</Stationfullname>\r\n
190
+ \ <Stationcode>CNLLY</Stationcode>\r\n <Querytime>19:10:55</Querytime>\r\n
191
+ \ <Traindate>19 Apr 2014</Traindate>\r\n <Origin>Malahide</Origin>\r\n
192
+ \ <Destination>Bray</Destination>\r\n <Origintime>19:45</Origintime>\r\n
193
+ \ <Destinationtime>20:54</Destinationtime>\r\n <Status>No Information</Status>\r\n
194
+ \ <Lastlocation />\r\n <Duein>60</Duein>\r\n <Late>0</Late>\r\n <Exparrival>20:09</Exparrival>\r\n
195
+ \ <Expdepart>20:10</Expdepart>\r\n <Scharrival>20:09</Scharrival>\r\n
196
+ \ <Schdepart>20:10</Schdepart>\r\n <Direction>Southbound</Direction>\r\n
197
+ \ <Traintype>DART</Traintype>\r\n <Locationtype>S</Locationtype>\r\n
198
+ \ </objStationData>\r\n <objStationData>\r\n <Servertime>2014-04-19T19:10:55.46</Servertime>\r\n
199
+ \ <Traincode>A133 </Traincode>\r\n <Stationfullname>Dublin Connolly</Stationfullname>\r\n
200
+ \ <Stationcode>CNLLY</Stationcode>\r\n <Querytime>19:10:55</Querytime>\r\n
201
+ \ <Traindate>19 Apr 2014</Traindate>\r\n <Origin>Belfast Central</Origin>\r\n
202
+ \ <Destination>Dublin Connolly</Destination>\r\n <Origintime>18:05</Origintime>\r\n
203
+ \ <Destinationtime>20:15</Destinationtime>\r\n <Status>No Information</Status>\r\n
204
+ \ <Lastlocation />\r\n <Duein>65</Duein>\r\n <Late>0</Late>\r\n <Exparrival>20:15</Exparrival>\r\n
205
+ \ <Expdepart>00:00</Expdepart>\r\n <Scharrival>20:15</Scharrival>\r\n
206
+ \ <Schdepart>00:00</Schdepart>\r\n <Direction>Southbound</Direction>\r\n
207
+ \ <Traintype>Train</Traintype>\r\n <Locationtype>D</Locationtype>\r\n
208
+ \ </objStationData>\r\n <objStationData>\r\n <Servertime>2014-04-19T19:10:55.46</Servertime>\r\n
209
+ \ <Traincode>P668 </Traincode>\r\n <Stationfullname>Dublin Connolly</Stationfullname>\r\n
210
+ \ <Stationcode>CNLLY</Stationcode>\r\n <Querytime>19:10:55</Querytime>\r\n
211
+ \ <Traindate>19 Apr 2014</Traindate>\r\n <Origin>Maynooth</Origin>\r\n
212
+ \ <Destination>Dublin Pearse</Destination>\r\n <Origintime>19:41</Origintime>\r\n
213
+ \ <Destinationtime>20:26</Destinationtime>\r\n <Status>No Information</Status>\r\n
214
+ \ <Lastlocation />\r\n <Duein>71</Duein>\r\n <Late>0</Late>\r\n <Exparrival>20:20</Exparrival>\r\n
215
+ \ <Expdepart>20:21</Expdepart>\r\n <Scharrival>20:20</Scharrival>\r\n
216
+ \ <Schdepart>20:21</Schdepart>\r\n <Direction>Southbound</Direction>\r\n
217
+ \ <Traintype>Train</Traintype>\r\n <Locationtype>S</Locationtype>\r\n
218
+ \ </objStationData>\r\n <objStationData>\r\n <Servertime>2014-04-19T19:10:55.46</Servertime>\r\n
219
+ \ <Traincode>E128 </Traincode>\r\n <Stationfullname>Dublin Connolly</Stationfullname>\r\n
220
+ \ <Stationcode>CNLLY</Stationcode>\r\n <Querytime>19:10:55</Querytime>\r\n
221
+ \ <Traindate>19 Apr 2014</Traindate>\r\n <Origin>Howth</Origin>\r\n <Destination>Greystones</Destination>\r\n
222
+ \ <Origintime>20:00</Origintime>\r\n <Destinationtime>21:20</Destinationtime>\r\n
223
+ \ <Status>No Information</Status>\r\n <Lastlocation />\r\n <Duein>75</Duein>\r\n
224
+ \ <Late>0</Late>\r\n <Exparrival>20:24</Exparrival>\r\n <Expdepart>20:25</Expdepart>\r\n
225
+ \ <Scharrival>20:24</Scharrival>\r\n <Schdepart>20:25</Schdepart>\r\n
226
+ \ <Direction>Southbound</Direction>\r\n <Traintype>DART</Traintype>\r\n
227
+ \ <Locationtype>S</Locationtype>\r\n </objStationData>\r\n <objStationData>\r\n
228
+ \ <Servertime>2014-04-19T19:10:55.46</Servertime>\r\n <Traincode>E229
229
+ </Traincode>\r\n <Stationfullname>Dublin Connolly</Stationfullname>\r\n
230
+ \ <Stationcode>CNLLY</Stationcode>\r\n <Querytime>19:10:55</Querytime>\r\n
231
+ \ <Traindate>19 Apr 2014</Traindate>\r\n <Origin>Malahide</Origin>\r\n
232
+ \ <Destination>Bray</Destination>\r\n <Origintime>20:15</Origintime>\r\n
233
+ \ <Destinationtime>21:24</Destinationtime>\r\n <Status>No Information</Status>\r\n
234
+ \ <Lastlocation />\r\n <Duein>90</Duein>\r\n <Late>0</Late>\r\n <Exparrival>20:39</Exparrival>\r\n
235
+ \ <Expdepart>20:40</Expdepart>\r\n <Scharrival>20:39</Scharrival>\r\n
236
+ \ <Schdepart>20:40</Schdepart>\r\n <Direction>Southbound</Direction>\r\n
237
+ \ <Traintype>DART</Traintype>\r\n <Locationtype>S</Locationtype>\r\n
238
+ \ </objStationData>\r\n</ArrayOfObjStationData>"
239
+ http_version:
240
+ recorded_at: Sat, 19 Apr 2014 18:10:57 GMT
241
+ recorded_with: VCR 2.9.0