ldbws 1.0.2 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.editorconfig +1 -1
- data/.ruby-version +1 -0
- data/Gemfile.lock +147 -49
- data/LICENSE +1 -1
- data/README.md +17 -11
- data/doc/LICENSE.html +403 -47
- data/doc/Ldbws/Request/GetDeparturesBoard.html +487 -54
- data/doc/Ldbws/Request/GetDeparturesBoardWithDetails.html +487 -54
- data/doc/Ldbws/Request/GetServiceDetails.html +484 -51
- data/doc/Ldbws/Request/GetStationBoard.html +489 -56
- data/doc/Ldbws/Request/GetStationBoardWithDetails.html +489 -56
- data/doc/Ldbws/Request/ParamValidationError.html +538 -69
- data/doc/Ldbws/Request.html +470 -47
- data/doc/Ldbws/RequestError.html +535 -72
- data/doc/Ldbws/ResponseParsingError.html +475 -49
- data/doc/Ldbws/ResponseTypes/BaseStationBoard.html +565 -56
- data/doc/Ldbws/ResponseTypes/CallingPoint.html +498 -65
- data/doc/Ldbws/ResponseTypes/Coach.html +487 -54
- data/doc/Ldbws/ResponseTypes/DepartureItem.html +485 -52
- data/doc/Ldbws/ResponseTypes/DepartureItemWithDetails.html +485 -52
- data/doc/Ldbws/ResponseTypes/DeparturesBoard.html +484 -51
- data/doc/Ldbws/ResponseTypes/DeparturesBoardWithDetails.html +484 -51
- data/doc/Ldbws/ResponseTypes/Formation.html +485 -52
- data/doc/Ldbws/ResponseTypes/LoadingCategory.html +486 -53
- data/doc/Ldbws/ResponseTypes/Location.html +486 -53
- data/doc/Ldbws/ResponseTypes/ServiceDetails.html +510 -77
- data/doc/Ldbws/ResponseTypes/ServiceItem.html +503 -70
- data/doc/Ldbws/ResponseTypes/ServiceItemWithCallingPoints.html +485 -52
- data/doc/Ldbws/ResponseTypes/StationBoard.html +486 -53
- data/doc/Ldbws/ResponseTypes/StationBoardWithDetails.html +486 -53
- data/doc/Ldbws/ResponseTypes/ToiletAvailability.html +485 -52
- data/doc/Ldbws/ResponseTypes.html +470 -47
- data/doc/Ldbws/Service.html +1083 -245
- data/doc/Ldbws.html +520 -73
- data/doc/README_md.html +14 -20
- data/doc/created.rid +19 -20
- data/doc/css/rdoc.css +1926 -378
- data/doc/index.html +441 -108
- data/doc/js/aliki.js +489 -0
- data/doc/js/bash_highlighter.js +167 -0
- data/doc/js/c_highlighter.js +299 -0
- data/doc/js/navigation.js.gz +0 -0
- data/doc/js/search_controller.js +129 -0
- data/doc/js/search_data.js +1 -0
- data/doc/js/search_index.js +1 -1
- data/doc/js/search_index.js.gz +0 -0
- data/doc/js/search_navigation.js +105 -0
- data/doc/js/search_ranker.js +239 -0
- data/doc/js/searcher.js.gz +0 -0
- data/doc/js/theme-toggle.js +112 -0
- data/doc/table_of_contents.html +2 -3
- data/ldbws.gemspec +7 -6
- data/lib/ldbws/request/base.rb +0 -3
- data/lib/ldbws/request/get_departures_board.rb +5 -1
- data/lib/ldbws/request/get_service_details.rb +5 -1
- data/lib/ldbws/request/get_station_board.rb +14 -1
- data/lib/ldbws/response_types/calling_point.rb +2 -2
- data/lib/ldbws/response_types/station_board.rb +6 -0
- data/lib/ldbws/service.rb +2 -4
- data/lib/ldbws/version.rb +1 -1
- data/spec/helpers/request_helper.rb +27 -0
- data/spec/request/get_departures_board_spec.rb +55 -0
- data/spec/request/get_service_details_spec.rb +16 -0
- data/spec/request/get_station_board_spec.rb +73 -0
- metadata +29 -21
- data/.envrc +0 -1
|
@@ -1,78 +1,475 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
2
|
|
|
3
|
-
<html>
|
|
3
|
+
<html lang="en">
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
7
|
|
|
7
8
|
<title>class Ldbws::Request::GetDeparturesBoardWithDetails - RDoc Documentation</title>
|
|
8
9
|
|
|
10
|
+
|
|
11
|
+
<meta
|
|
12
|
+
name="keywords"
|
|
13
|
+
content="ruby,class,Ldbws::Request::GetDeparturesBoardWithDetails"
|
|
14
|
+
>
|
|
15
|
+
|
|
16
|
+
<meta
|
|
17
|
+
name="description"
|
|
18
|
+
content="class Ldbws::Request::GetDeparturesBoardWithDetails: Requests a departure board for a statuion, filtered by departures to one or more other stations. This returns more information than GetDepartureBoard."
|
|
19
|
+
>
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
<!-- Open Graph / Facebook -->
|
|
26
|
+
<meta property="og:type" content="website">
|
|
27
|
+
<meta property="og:title" content="class Ldbws::Request::GetDeparturesBoardWithDetails - RDoc Documentation">
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
<meta property="og:description" content="Requests a departure board for a statuion, filtered by departures to one or more other stations. This returns more information than GetDepartureBoard.">
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
<!-- Twitter -->
|
|
38
|
+
<meta name="twitter:card" content="summary">
|
|
39
|
+
<meta name="twitter:title" content="class Ldbws::Request::GetDeparturesBoardWithDetails - RDoc Documentation">
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
<meta name="twitter:description" content="Requests a departure board for a statuion, filtered by departures to one or more other stations. This returns more information than GetDepartureBoard.">
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
9
47
|
<script type="text/javascript">
|
|
10
48
|
var rdoc_rel_prefix = "../../";
|
|
11
49
|
var index_rel_prefix = "../../";
|
|
12
50
|
</script>
|
|
13
51
|
|
|
14
|
-
<script
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
<script src="../../js/searcher.js" defer></script>
|
|
18
|
-
<script src="../../js/darkfish.js" defer></script>
|
|
52
|
+
<script
|
|
53
|
+
src="../../js/theme-toggle.js?v=8.1.0"
|
|
54
|
+
></script>
|
|
19
55
|
|
|
20
|
-
<
|
|
21
|
-
|
|
56
|
+
<script
|
|
57
|
+
src="../../js/search_navigation.js?v=8.1.0"
|
|
58
|
+
defer
|
|
59
|
+
></script>
|
|
60
|
+
|
|
61
|
+
<script
|
|
62
|
+
src="../../js/search_data.js?v=8.1.0"
|
|
63
|
+
defer
|
|
64
|
+
></script>
|
|
65
|
+
|
|
66
|
+
<script
|
|
67
|
+
src="../../js/search_ranker.js?v=8.1.0"
|
|
68
|
+
defer
|
|
69
|
+
></script>
|
|
70
|
+
|
|
71
|
+
<script
|
|
72
|
+
src="../../js/search_controller.js?v=8.1.0"
|
|
73
|
+
defer
|
|
74
|
+
></script>
|
|
75
|
+
|
|
76
|
+
<script
|
|
77
|
+
src="../../js/c_highlighter.js?v=8.1.0"
|
|
78
|
+
defer
|
|
79
|
+
></script>
|
|
80
|
+
|
|
81
|
+
<script
|
|
82
|
+
src="../../js/bash_highlighter.js?v=8.1.0"
|
|
83
|
+
defer
|
|
84
|
+
></script>
|
|
85
|
+
|
|
86
|
+
<script
|
|
87
|
+
src="../../js/aliki.js?v=8.1.0"
|
|
88
|
+
defer
|
|
89
|
+
></script>
|
|
90
|
+
|
|
91
|
+
<link
|
|
92
|
+
href="../../css/rdoc.css?v=8.1.0"
|
|
93
|
+
rel="stylesheet"
|
|
94
|
+
>
|
|
22
95
|
|
|
23
96
|
|
|
24
|
-
<body id="top" role="document" class="class">
|
|
25
|
-
<nav role="navigation">
|
|
26
|
-
<div id="project-navigation">
|
|
27
|
-
<div id="home-section" role="region" title="Quick navigation" class="nav-section">
|
|
28
|
-
<h2>
|
|
29
|
-
<a href="../../index.html" rel="home">Home</a>
|
|
30
|
-
</h2>
|
|
31
97
|
|
|
32
|
-
<div id="table-of-contents-navigation">
|
|
33
|
-
<a href="../../table_of_contents.html#pages">Pages</a>
|
|
34
|
-
<a href="../../table_of_contents.html#classes">Classes</a>
|
|
35
|
-
<a href="../../table_of_contents.html#methods">Methods</a>
|
|
36
|
-
</div>
|
|
37
|
-
</div>
|
|
38
98
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
99
|
+
<body role="document" class="class has-toc">
|
|
100
|
+
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
|
|
101
|
+
<!-- Chevron (right arrow) - used for expand/collapse -->
|
|
102
|
+
<symbol
|
|
103
|
+
id="icon-chevron"
|
|
104
|
+
viewBox="0 0 24 24"
|
|
105
|
+
fill="none"
|
|
106
|
+
stroke="currentColor"
|
|
107
|
+
stroke-width="2"
|
|
108
|
+
stroke-linecap="round"
|
|
109
|
+
stroke-linejoin="round"
|
|
110
|
+
>
|
|
111
|
+
<polyline points="9 18 15 12 9 6"></polyline>
|
|
112
|
+
</symbol>
|
|
113
|
+
|
|
114
|
+
<!-- File/Document - Pages section -->
|
|
115
|
+
<symbol
|
|
116
|
+
id="icon-file"
|
|
117
|
+
viewBox="0 0 24 24"
|
|
118
|
+
fill="none"
|
|
119
|
+
stroke="currentColor"
|
|
120
|
+
stroke-width="2"
|
|
121
|
+
stroke-linecap="round"
|
|
122
|
+
stroke-linejoin="round"
|
|
123
|
+
>
|
|
124
|
+
<path
|
|
125
|
+
d="M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z"
|
|
126
|
+
></path>
|
|
127
|
+
|
|
128
|
+
<polyline points="14 2 14 8 20 8"></polyline>
|
|
129
|
+
</symbol>
|
|
130
|
+
|
|
131
|
+
<!-- Layers/Stack - Classes and Modules section -->
|
|
132
|
+
<symbol
|
|
133
|
+
id="icon-layers"
|
|
134
|
+
viewBox="0 0 24 24"
|
|
135
|
+
fill="none"
|
|
136
|
+
stroke="currentColor"
|
|
137
|
+
stroke-width="2"
|
|
138
|
+
stroke-linecap="round"
|
|
139
|
+
stroke-linejoin="round"
|
|
140
|
+
>
|
|
141
|
+
<polygon points="12 2 2 7 12 12 22 7 12 2"></polygon>
|
|
142
|
+
<polyline points="2 17 12 22 22 17"></polyline>
|
|
143
|
+
<polyline points="2 12 12 17 22 12"></polyline>
|
|
144
|
+
</symbol>
|
|
145
|
+
|
|
146
|
+
<!-- Curly braces with C - Class Methods section -->
|
|
147
|
+
<symbol
|
|
148
|
+
id="icon-class-methods"
|
|
149
|
+
viewBox="0 0 24 24"
|
|
150
|
+
fill="none"
|
|
151
|
+
stroke="currentColor"
|
|
152
|
+
stroke-width="2"
|
|
153
|
+
stroke-linecap="round"
|
|
154
|
+
stroke-linejoin="round"
|
|
155
|
+
>
|
|
156
|
+
<path d="M6 3C3.5 3 2 4.5 2 7v3c0 1.5-1 2-1 2s1 .5 1 2v5c0 2.5 1.5 4 4 4"></path>
|
|
157
|
+
<path d="M18 3c2.5 0 4 1.5 4 4v3c0 1.5 1 2 1 2s-1 .5-1 2v5c0 2.5-1.5 4-4 4"></path>
|
|
158
|
+
|
|
159
|
+
<text
|
|
160
|
+
x="12"
|
|
161
|
+
y="17"
|
|
162
|
+
text-anchor="middle"
|
|
163
|
+
font-size="13"
|
|
164
|
+
font-weight="bold"
|
|
165
|
+
fill="currentColor"
|
|
166
|
+
stroke="none"
|
|
167
|
+
>
|
|
168
|
+
C
|
|
169
|
+
</text>
|
|
170
|
+
</symbol>
|
|
171
|
+
|
|
172
|
+
<!-- Curly braces with I - Instance Methods section -->
|
|
173
|
+
<symbol
|
|
174
|
+
id="icon-instance-methods"
|
|
175
|
+
viewBox="0 0 24 24"
|
|
176
|
+
fill="none"
|
|
177
|
+
stroke="currentColor"
|
|
178
|
+
stroke-width="2"
|
|
179
|
+
stroke-linecap="round"
|
|
180
|
+
stroke-linejoin="round"
|
|
181
|
+
>
|
|
182
|
+
<path d="M6 3C3.5 3 2 4.5 2 7v3c0 1.5-1 2-1 2s1 .5 1 2v5c0 2.5 1.5 4 4 4"></path>
|
|
183
|
+
<path d="M18 3c2.5 0 4 1.5 4 4v3c0 1.5 1 2 1 2s-1 .5-1 2v5c0 2.5-1.5 4-4 4"></path>
|
|
184
|
+
|
|
185
|
+
<text
|
|
186
|
+
x="12"
|
|
187
|
+
y="17"
|
|
188
|
+
text-anchor="middle"
|
|
189
|
+
font-size="13"
|
|
190
|
+
font-weight="bold"
|
|
191
|
+
fill="currentColor"
|
|
192
|
+
stroke="none"
|
|
193
|
+
>
|
|
194
|
+
I
|
|
195
|
+
</text>
|
|
196
|
+
</symbol>
|
|
197
|
+
|
|
198
|
+
<!-- Double chevrons up - Ancestors section -->
|
|
199
|
+
<symbol
|
|
200
|
+
id="icon-ancestors"
|
|
201
|
+
viewBox="0 0 24 24"
|
|
202
|
+
fill="none"
|
|
203
|
+
stroke="currentColor"
|
|
204
|
+
stroke-width="2"
|
|
205
|
+
stroke-linecap="round"
|
|
206
|
+
stroke-linejoin="round"
|
|
207
|
+
>
|
|
208
|
+
<polyline points="17 11 12 6 7 11"></polyline>
|
|
209
|
+
<polyline points="17 18 12 13 7 18"></polyline>
|
|
210
|
+
</symbol>
|
|
211
|
+
|
|
212
|
+
<!-- User with plus - Included Modules section -->
|
|
213
|
+
<symbol
|
|
214
|
+
id="icon-includes"
|
|
215
|
+
viewBox="0 0 24 24"
|
|
216
|
+
fill="none"
|
|
217
|
+
stroke="currentColor"
|
|
218
|
+
stroke-width="2"
|
|
219
|
+
stroke-linecap="round"
|
|
220
|
+
stroke-linejoin="round"
|
|
221
|
+
>
|
|
222
|
+
<path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path>
|
|
223
|
+
<circle cx="8.5" cy="7" r="4"></circle>
|
|
224
|
+
|
|
225
|
+
<line
|
|
226
|
+
x1="20"
|
|
227
|
+
y1="8"
|
|
228
|
+
x2="20"
|
|
229
|
+
y2="14"
|
|
230
|
+
></line>
|
|
231
|
+
|
|
232
|
+
<line
|
|
233
|
+
x1="23"
|
|
234
|
+
y1="11"
|
|
235
|
+
x2="17"
|
|
236
|
+
y2="11"
|
|
237
|
+
></line>
|
|
238
|
+
</symbol>
|
|
239
|
+
|
|
240
|
+
<!-- User with check - Extended Modules section -->
|
|
241
|
+
<symbol
|
|
242
|
+
id="icon-extends"
|
|
243
|
+
viewBox="0 0 24 24"
|
|
244
|
+
fill="none"
|
|
245
|
+
stroke="currentColor"
|
|
246
|
+
stroke-width="2"
|
|
247
|
+
stroke-linecap="round"
|
|
248
|
+
stroke-linejoin="round"
|
|
249
|
+
>
|
|
250
|
+
<path d="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path>
|
|
251
|
+
<circle cx="8.5" cy="7" r="4"></circle>
|
|
252
|
+
<polyline points="17 11 19 13 23 9"></polyline>
|
|
253
|
+
</symbol>
|
|
254
|
+
|
|
255
|
+
<!-- List - Sections section -->
|
|
256
|
+
<symbol
|
|
257
|
+
id="icon-list"
|
|
258
|
+
viewBox="0 0 24 24"
|
|
259
|
+
fill="none"
|
|
260
|
+
stroke="currentColor"
|
|
261
|
+
stroke-width="2"
|
|
262
|
+
stroke-linecap="round"
|
|
263
|
+
stroke-linejoin="round"
|
|
264
|
+
>
|
|
265
|
+
<line
|
|
266
|
+
x1="8"
|
|
267
|
+
y1="6"
|
|
268
|
+
x2="21"
|
|
269
|
+
y2="6"
|
|
270
|
+
></line>
|
|
271
|
+
|
|
272
|
+
<line
|
|
273
|
+
x1="8"
|
|
274
|
+
y1="12"
|
|
275
|
+
x2="21"
|
|
276
|
+
y2="12"
|
|
277
|
+
></line>
|
|
278
|
+
|
|
279
|
+
<line
|
|
280
|
+
x1="8"
|
|
281
|
+
y1="18"
|
|
282
|
+
x2="21"
|
|
283
|
+
y2="18"
|
|
284
|
+
></line>
|
|
285
|
+
|
|
286
|
+
<line
|
|
287
|
+
x1="3"
|
|
288
|
+
y1="6"
|
|
289
|
+
x2="3.01"
|
|
290
|
+
y2="6"
|
|
291
|
+
></line>
|
|
292
|
+
|
|
293
|
+
<line
|
|
294
|
+
x1="3"
|
|
295
|
+
y1="12"
|
|
296
|
+
x2="3.01"
|
|
297
|
+
y2="12"
|
|
298
|
+
></line>
|
|
299
|
+
|
|
300
|
+
<line
|
|
301
|
+
x1="3"
|
|
302
|
+
y1="18"
|
|
303
|
+
x2="3.01"
|
|
304
|
+
y2="18"
|
|
305
|
+
></line>
|
|
306
|
+
</symbol>
|
|
307
|
+
</svg>
|
|
308
|
+
|
|
309
|
+
<header class="top-navbar">
|
|
310
|
+
<a href="../../index.html" class="navbar-brand">
|
|
311
|
+
RDoc Documentation
|
|
312
|
+
</a>
|
|
313
|
+
|
|
314
|
+
<div class="navbar-search" data-search-container>
|
|
315
|
+
<button id="search-toggle" class="navbar-search-mobile" aria-label="Open search"
|
|
316
|
+
aria-controls="search-surface" aria-expanded="false" type="button">
|
|
317
|
+
<span aria-hidden="true">🔍</span>
|
|
318
|
+
</button>
|
|
319
|
+
|
|
320
|
+
<div class="search-backdrop" data-search-close></div>
|
|
321
|
+
<div id="search-surface" class="search-surface">
|
|
322
|
+
<form class="search-form" role="search" action="#" method="get" accept-charset="utf-8">
|
|
323
|
+
<span class="search-icon" aria-hidden="true">🔍</span>
|
|
324
|
+
<input id="search-field" role="combobox" aria-label="Search"
|
|
325
|
+
aria-autocomplete="list" aria-controls="search-results"
|
|
326
|
+
type="text" name="search" placeholder="Search (/) for a class, method..."
|
|
327
|
+
spellcheck="false" autocomplete="off"
|
|
328
|
+
title="Type to search, Up and Down to navigate, Enter to load">
|
|
329
|
+
<button type="button" class="search-close" aria-label="Close search" data-search-close>
|
|
330
|
+
<span aria-hidden="true">esc</span>
|
|
331
|
+
</button>
|
|
332
|
+
</form>
|
|
333
|
+
|
|
334
|
+
<div class="search-body">
|
|
335
|
+
<ul id="search-results" aria-label="Search Results"
|
|
336
|
+
aria-busy="false" aria-expanded="false"
|
|
337
|
+
aria-atomic="false" class="initially-hidden search-results"></ul>
|
|
338
|
+
<div class="search-empty">
|
|
339
|
+
<p>No recent searches</p>
|
|
340
|
+
</div>
|
|
341
|
+
</div>
|
|
46
342
|
</div>
|
|
343
|
+
</div>
|
|
344
|
+
|
|
345
|
+
<!-- Theme toggle button -->
|
|
346
|
+
<button id="theme-toggle" class="theme-toggle" aria-label="Switch to dark mode" type="button">
|
|
347
|
+
<span class="theme-toggle-icon" aria-hidden="true">🌙</span>
|
|
348
|
+
</button>
|
|
349
|
+
</header>
|
|
47
350
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
aria-atomic="false" class="initially-hidden"></ul>
|
|
51
|
-
</form>
|
|
351
|
+
<div id="sidebar-navigation-toggle" role="button" tabindex="0" aria-label="Toggle sidebar" aria-expanded="false" aria-controls="sidebar-navigation">
|
|
352
|
+
<span aria-hidden="true">☰</span>
|
|
52
353
|
</div>
|
|
53
354
|
|
|
355
|
+
|
|
356
|
+
<nav id="sidebar-navigation" role="navigation" hidden>
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
<div id="fileindex-section" class="nav-section">
|
|
363
|
+
<details class="nav-section-collapsible" >
|
|
364
|
+
<summary class="nav-section-header">
|
|
365
|
+
<span class="nav-section-icon">
|
|
366
|
+
<svg>
|
|
367
|
+
<use href="#icon-file"></use>
|
|
368
|
+
</svg>
|
|
369
|
+
</span>
|
|
370
|
+
|
|
371
|
+
<span class="nav-section-title">Pages</span>
|
|
372
|
+
|
|
373
|
+
<span class="nav-section-chevron">
|
|
374
|
+
<svg>
|
|
375
|
+
<use href="#icon-chevron"></use>
|
|
376
|
+
</svg>
|
|
377
|
+
</span>
|
|
378
|
+
</summary>
|
|
379
|
+
|
|
380
|
+
<ul class="nav-list">
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
<li>
|
|
388
|
+
<a href="../../LICENSE.html">
|
|
389
|
+
LICENSE
|
|
390
|
+
</a>
|
|
391
|
+
</li>
|
|
392
|
+
|
|
393
|
+
</ul>
|
|
394
|
+
</details>
|
|
54
395
|
</div>
|
|
55
396
|
|
|
397
|
+
|
|
56
398
|
|
|
57
399
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
400
|
+
|
|
61
401
|
<div id="parent-class-section" class="nav-section">
|
|
62
|
-
<
|
|
402
|
+
<details class="nav-section-collapsible" open>
|
|
403
|
+
<summary class="nav-section-header">
|
|
404
|
+
<span class="nav-section-icon">
|
|
405
|
+
<svg><use href="#icon-ancestors"></use></svg>
|
|
406
|
+
</span>
|
|
407
|
+
<span class="nav-section-title">Ancestors</span>
|
|
408
|
+
<span class="nav-section-chevron">
|
|
409
|
+
<svg><use href="#icon-chevron"></use></svg>
|
|
410
|
+
</span>
|
|
411
|
+
</summary>
|
|
412
|
+
<ul><li><a href="GetDeparturesBoard.html">Ldbws::Request::GetDeparturesBoard</a><ul><li>Ldbws::Request::Base</li></ul></li></ul>
|
|
413
|
+
</details>
|
|
414
|
+
</div>
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
<div id="classindex-section" class="nav-section">
|
|
426
|
+
<details class="nav-section-collapsible" open>
|
|
427
|
+
<summary class="nav-section-header">
|
|
428
|
+
<span class="nav-section-icon">
|
|
429
|
+
<svg><use href="#icon-layers"></use></svg>
|
|
430
|
+
</span>
|
|
431
|
+
<span class="nav-section-title">Classes and Modules</span>
|
|
432
|
+
<span class="nav-section-chevron">
|
|
433
|
+
<svg><use href="#icon-chevron"></use></svg>
|
|
434
|
+
</span>
|
|
435
|
+
</summary>
|
|
63
436
|
|
|
64
|
-
|
|
437
|
+
<ul class="link-list nav-list"><li><details open><summary><code><a href="../../Ldbws.html">Ldbws</a></code></summary><ul class="link-list nav-list"><li><details><summary><code><a href="../../Ldbws/Request.html">Request</a></code></summary><ul class="link-list nav-list"><li><code><a href="../../Ldbws/Request/GetDeparturesBoard.html">GetDeparturesBoard</a></code></li><li><code><a href="../../Ldbws/Request/GetDeparturesBoardWithDetails.html">GetDeparturesBoardWithDetails</a></code></li><li><code><a href="../../Ldbws/Request/GetServiceDetails.html">GetServiceDetails</a></code></li><li><code><a href="../../Ldbws/Request/GetStationBoard.html">GetStationBoard</a></code></li><li><code><a href="../../Ldbws/Request/GetStationBoardWithDetails.html">GetStationBoardWithDetails</a></code></li><li><code><a href="../../Ldbws/Request/ParamValidationError.html">ParamValidationError</a></code></li></ul></details></li><li><code><a href="../../Ldbws/RequestError.html">RequestError</a></code></li><li><code><a href="../../Ldbws/ResponseParsingError.html">ResponseParsingError</a></code></li><li><details><summary><code><a href="../../Ldbws/ResponseTypes.html">ResponseTypes</a></code></summary><ul class="link-list nav-list"><li><code><a href="../../Ldbws/ResponseTypes/BaseStationBoard.html">BaseStationBoard</a></code></li><li><code><a href="../../Ldbws/ResponseTypes/CallingPoint.html">CallingPoint</a></code></li><li><code><a href="../../Ldbws/ResponseTypes/Coach.html">Coach</a></code></li><li><code><a href="../../Ldbws/ResponseTypes/DepartureItem.html">DepartureItem</a></code></li><li><code><a href="../../Ldbws/ResponseTypes/DepartureItemWithDetails.html">DepartureItemWithDetails</a></code></li><li><code><a href="../../Ldbws/ResponseTypes/DeparturesBoard.html">DeparturesBoard</a></code></li><li><code><a href="../../Ldbws/ResponseTypes/DeparturesBoardWithDetails.html">DeparturesBoardWithDetails</a></code></li><li><code><a href="../../Ldbws/ResponseTypes/Formation.html">Formation</a></code></li><li><code><a href="../../Ldbws/ResponseTypes/LoadingCategory.html">LoadingCategory</a></code></li><li><code><a href="../../Ldbws/ResponseTypes/Location.html">Location</a></code></li><li><code><a href="../../Ldbws/ResponseTypes/ServiceDetails.html">ServiceDetails</a></code></li><li><code><a href="../../Ldbws/ResponseTypes/ServiceItem.html">ServiceItem</a></code></li><li><code><a href="../../Ldbws/ResponseTypes/ServiceItemWithCallingPoints.html">ServiceItemWithCallingPoints</a></code></li><li><code><a href="../../Ldbws/ResponseTypes/StationBoard.html">StationBoard</a></code></li><li><code><a href="../../Ldbws/ResponseTypes/StationBoardWithDetails.html">StationBoardWithDetails</a></code></li><li><code><a href="../../Ldbws/ResponseTypes/ToiletAvailability.html">ToiletAvailability</a></code></li></ul></details></li><li><code><a href="../../Ldbws/Service.html">Service</a></code></li></ul></details></li></ul>
|
|
438
|
+
</details>
|
|
65
439
|
</div>
|
|
66
440
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
</div>
|
|
71
441
|
</nav>
|
|
72
442
|
|
|
73
|
-
<main role="main" aria-labelledby="class-
|
|
74
|
-
|
|
75
|
-
|
|
443
|
+
<main role="main" aria-labelledby="class-ldbws-request-getdeparturesboardwithdetails">
|
|
444
|
+
|
|
445
|
+
|
|
446
|
+
<ol role="navigation" aria-label="Breadcrumb navigation" class="breadcrumb">
|
|
447
|
+
|
|
448
|
+
<li>
|
|
449
|
+
|
|
450
|
+
<a href="../../Ldbws.html">Ldbws</a><span class="separator">::</span>
|
|
451
|
+
|
|
452
|
+
</li>
|
|
453
|
+
|
|
454
|
+
<li>
|
|
455
|
+
|
|
456
|
+
<a href="../../Ldbws/Request.html">Request</a><span class="separator">::</span>
|
|
457
|
+
|
|
458
|
+
</li>
|
|
459
|
+
|
|
460
|
+
<li>
|
|
461
|
+
|
|
462
|
+
<span>GetDeparturesBoardWithDetails</span>
|
|
463
|
+
|
|
464
|
+
</li>
|
|
465
|
+
|
|
466
|
+
</ol>
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
<span id="class-Ldbws::Request::GetDeparturesBoardWithDetails" class="legacy-anchor"></span>
|
|
470
|
+
<h1 id="class-ldbws-request-getdeparturesboardwithdetails" class="anchor-link class page-title">
|
|
471
|
+
<span class="page-title-kind">class</span>
|
|
472
|
+
<span class="page-title-name">Ldbws::Request::GetDeparturesBoardWithDetails</span>
|
|
76
473
|
</h1>
|
|
77
474
|
|
|
78
475
|
<section class="description">
|
|
@@ -81,36 +478,72 @@
|
|
|
81
478
|
|
|
82
479
|
<p>This corresponds to <code>GetDeparturesBoardWithDetailsRequest</code> in the LDBWS schema.</p>
|
|
83
480
|
|
|
84
|
-
<
|
|
85
|
-
<
|
|
481
|
+
<span id="class-Ldbws::Request::GetDeparturesBoardWithDetails-label-Parameters" class="legacy-anchor"></span>
|
|
482
|
+
<h3 id="class-ldbws-request-getdeparturesboardwithdetails-parameters"><a href="#class-ldbws-request-getdeparturesboardwithdetails-parameters">Parameters</a></h3>
|
|
483
|
+
<dl class="rdoc-list note-list"><dt>crs</dt>
|
|
86
484
|
<dd>
|
|
87
485
|
<p>the CRS code of the station you wish to get departures for (required).</p>
|
|
88
|
-
</dd><dt>filter_list
|
|
486
|
+
</dd><dt>filter_list</dt>
|
|
89
487
|
<dd>
|
|
90
488
|
<p>a list of CRS codes to filter departures (required).</p>
|
|
91
|
-
</dd><dt>time_offset
|
|
489
|
+
</dd><dt>time_offset</dt>
|
|
92
490
|
<dd>
|
|
93
491
|
<p>the offset from the current time—in minutes—to return departure information (optional).</p>
|
|
94
|
-
</dd><dt>time_window
|
|
492
|
+
</dd><dt>time_window</dt>
|
|
95
493
|
<dd>
|
|
96
494
|
<p>how far into the future—relative to <code>:time_offset</code>—to return service information for (optional).</p>
|
|
97
495
|
</dd></dl>
|
|
98
496
|
|
|
99
497
|
</section>
|
|
100
498
|
|
|
101
|
-
|
|
499
|
+
|
|
500
|
+
<span id="5Buntitled-5D" class="legacy-anchor"></span>
|
|
501
|
+
<section class="documentation-section anchor-link">
|
|
502
|
+
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
|
|
516
|
+
|
|
517
|
+
|
|
102
518
|
|
|
103
519
|
|
|
104
520
|
|
|
105
521
|
|
|
106
522
|
|
|
107
523
|
</section>
|
|
524
|
+
|
|
108
525
|
</main>
|
|
109
526
|
|
|
527
|
+
<aside id="table-of-contents" class="table-of-contents" role="complementary" aria-label="Table of Contents">
|
|
528
|
+
<div class="toc-sticky">
|
|
529
|
+
<h3 class="toc-heading">On This Page</h3>
|
|
530
|
+
<nav class="toc-nav" id="toc-nav" aria-label="Page sections">
|
|
531
|
+
<!-- Generated by JavaScript based on page headings -->
|
|
532
|
+
</nav>
|
|
533
|
+
</div>
|
|
534
|
+
</aside>
|
|
535
|
+
|
|
110
536
|
|
|
111
|
-
<footer
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
<
|
|
537
|
+
<footer class="site-footer">
|
|
538
|
+
|
|
539
|
+
|
|
540
|
+
<div class="footer-bottom">
|
|
541
|
+
<p>
|
|
542
|
+
Generated by <a href="https://ruby.github.io/rdoc/">RDoc 8.1.0</a>
|
|
543
|
+
using the Aliki theme by <a href="http://st0012.dev">Stan Lo</a>
|
|
544
|
+
</p>
|
|
545
|
+
</div>
|
|
115
546
|
</footer>
|
|
116
547
|
|
|
548
|
+
</body>
|
|
549
|
+
|