ldbws 1.0.3 → 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/.ruby-version +1 -0
- data/Gemfile.lock +147 -49
- data/LICENSE +1 -1
- data/README.md +2 -2
- 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/created.rid +19 -20
- data/doc/css/rdoc.css +1926 -378
- data/doc/index.html +434 -104
- 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/search_controller.js +129 -0
- data/doc/js/search_data.js +1 -0
- data/doc/js/search_navigation.js +105 -0
- data/doc/js/search_ranker.js +239 -0
- data/doc/js/theme-toggle.js +112 -0
- data/ldbws.gemspec +7 -6
- data/lib/ldbws/request/base.rb +0 -3
- data/lib/ldbws/request/get_departures_board.rb +3 -1
- data/lib/ldbws/request/get_service_details.rb +2 -0
- data/lib/ldbws/request/get_station_board.rb +12 -2
- data/lib/ldbws/response_types/calling_point.rb +2 -2
- data/lib/ldbws/response_types/station_board.rb +6 -0
- 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,108 +1,617 @@
|
|
|
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::ResponseTypes::BaseStationBoard - RDoc Documentation</title>
|
|
8
9
|
|
|
10
|
+
|
|
11
|
+
<meta
|
|
12
|
+
name="keywords"
|
|
13
|
+
content="ruby,class,Ldbws::ResponseTypes::BaseStationBoard"
|
|
14
|
+
>
|
|
15
|
+
|
|
16
|
+
<meta
|
|
17
|
+
name="description"
|
|
18
|
+
content="class Ldbws::ResponseTypes::BaseStationBoard: Base station board information. This does not directly correspond to a type in LDBWS."
|
|
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::ResponseTypes::BaseStationBoard - RDoc Documentation">
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
<meta property="og:description" content="Base station board information. This does not directly correspond to a type in LDBWS.">
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
<!-- Twitter -->
|
|
38
|
+
<meta name="twitter:card" content="summary">
|
|
39
|
+
<meta name="twitter:title" content="class Ldbws::ResponseTypes::BaseStationBoard - RDoc Documentation">
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
<meta name="twitter:description" content="Base station board information. This does not directly correspond to a type in LDBWS.">
|
|
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>
|
|
22
60
|
|
|
61
|
+
<script
|
|
62
|
+
src="../../js/search_data.js?v=8.1.0"
|
|
63
|
+
defer
|
|
64
|
+
></script>
|
|
23
65
|
|
|
24
|
-
<
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
<h2>
|
|
29
|
-
<a href="../../index.html" rel="home">Home</a>
|
|
30
|
-
</h2>
|
|
66
|
+
<script
|
|
67
|
+
src="../../js/search_ranker.js?v=8.1.0"
|
|
68
|
+
defer
|
|
69
|
+
></script>
|
|
31
70
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
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
|
+
>
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
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>
|
|
38
184
|
|
|
39
|
-
<
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
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
|
-
<
|
|
63
|
-
|
|
64
|
-
|
|
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>Ldbws::ResponseTypes::Base</li></ul>
|
|
413
|
+
</details>
|
|
65
414
|
</div>
|
|
66
415
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
<div class="nav-section">
|
|
425
|
+
<details class="nav-section-collapsible" open>
|
|
426
|
+
<summary class="nav-section-header">
|
|
427
|
+
<span class="nav-section-icon">
|
|
428
|
+
<svg><use href="#icon-instance-methods"></use></svg>
|
|
429
|
+
</span>
|
|
430
|
+
<span class="nav-section-title">Instance Methods</span>
|
|
431
|
+
<span class="nav-section-chevron">
|
|
432
|
+
<svg><use href="#icon-chevron"></use></svg>
|
|
433
|
+
</span>
|
|
434
|
+
</summary>
|
|
435
|
+
<ul class="nav-list" role="directory">
|
|
436
|
+
|
|
437
|
+
<li ><a href="#method-i-all_services">all_services</a></li>
|
|
438
|
+
|
|
439
|
+
</ul>
|
|
440
|
+
</details>
|
|
70
441
|
</div>
|
|
442
|
+
|
|
443
|
+
|
|
444
|
+
<div id="classindex-section" class="nav-section">
|
|
445
|
+
<details class="nav-section-collapsible" open>
|
|
446
|
+
<summary class="nav-section-header">
|
|
447
|
+
<span class="nav-section-icon">
|
|
448
|
+
<svg><use href="#icon-layers"></use></svg>
|
|
449
|
+
</span>
|
|
450
|
+
<span class="nav-section-title">Classes and Modules</span>
|
|
451
|
+
<span class="nav-section-chevron">
|
|
452
|
+
<svg><use href="#icon-chevron"></use></svg>
|
|
453
|
+
</span>
|
|
454
|
+
</summary>
|
|
455
|
+
|
|
456
|
+
<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>
|
|
457
|
+
</details>
|
|
458
|
+
</div>
|
|
459
|
+
|
|
71
460
|
</nav>
|
|
72
461
|
|
|
73
|
-
<main role="main" aria-labelledby="class-
|
|
74
|
-
|
|
75
|
-
|
|
462
|
+
<main role="main" aria-labelledby="class-ldbws-responsetypes-basestationboard">
|
|
463
|
+
|
|
464
|
+
|
|
465
|
+
<ol role="navigation" aria-label="Breadcrumb navigation" class="breadcrumb">
|
|
466
|
+
|
|
467
|
+
<li>
|
|
468
|
+
|
|
469
|
+
<a href="../../Ldbws.html">Ldbws</a><span class="separator">::</span>
|
|
470
|
+
|
|
471
|
+
</li>
|
|
472
|
+
|
|
473
|
+
<li>
|
|
474
|
+
|
|
475
|
+
<a href="../../Ldbws/ResponseTypes.html">ResponseTypes</a><span class="separator">::</span>
|
|
476
|
+
|
|
477
|
+
</li>
|
|
478
|
+
|
|
479
|
+
<li>
|
|
480
|
+
|
|
481
|
+
<span>BaseStationBoard</span>
|
|
482
|
+
|
|
483
|
+
</li>
|
|
484
|
+
|
|
485
|
+
</ol>
|
|
486
|
+
|
|
487
|
+
|
|
488
|
+
<span id="class-Ldbws::ResponseTypes::BaseStationBoard" class="legacy-anchor"></span>
|
|
489
|
+
<h1 id="class-ldbws-responsetypes-basestationboard" class="anchor-link class page-title">
|
|
490
|
+
<span class="page-title-kind">class</span>
|
|
491
|
+
<span class="page-title-name">Ldbws::ResponseTypes::BaseStationBoard</span>
|
|
76
492
|
</h1>
|
|
77
493
|
|
|
78
494
|
<section class="description">
|
|
79
495
|
|
|
80
496
|
<p>Base station board information. This does not directly correspond to a type in LDBWS.</p>
|
|
81
497
|
|
|
82
|
-
<
|
|
83
|
-
<
|
|
84
|
-
<dt>
|
|
85
|
-
<dt>
|
|
86
|
-
<dt>
|
|
87
|
-
<dt>
|
|
88
|
-
<dt>
|
|
498
|
+
<span id="class-Ldbws::ResponseTypes::BaseStationBoard-label-Properties" class="legacy-anchor"></span>
|
|
499
|
+
<h3 id="class-ldbws-responsetypes-basestationboard-properties"><a href="#class-ldbws-responsetypes-basestationboard-properties">Properties</a></h3>
|
|
500
|
+
<dl class="rdoc-list note-list"><dt>generated_at</dt>
|
|
501
|
+
<dt>location_name</dt>
|
|
502
|
+
<dt>crs</dt>
|
|
503
|
+
<dt>nrcc_messages</dt>
|
|
504
|
+
<dt>platform_available</dt>
|
|
505
|
+
<dt>are_services_available</dt>
|
|
89
506
|
<dd></dd></dl>
|
|
90
507
|
|
|
91
508
|
</section>
|
|
92
509
|
|
|
93
|
-
|
|
510
|
+
|
|
511
|
+
<span id="5Buntitled-5D" class="legacy-anchor"></span>
|
|
512
|
+
<section class="documentation-section anchor-link">
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
|
|
516
|
+
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
|
|
520
|
+
|
|
521
|
+
|
|
522
|
+
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
|
|
94
526
|
|
|
95
527
|
|
|
96
528
|
|
|
97
529
|
|
|
98
530
|
|
|
531
|
+
<section id="public-instance-untitled-method-details" class="method-section anchor-link">
|
|
532
|
+
<header>
|
|
533
|
+
<h3 id="public-instance-untitled-methods"><a href="#public-instance-untitled-methods">Public Instance Methods</a></h3>
|
|
534
|
+
</header>
|
|
535
|
+
|
|
536
|
+
|
|
537
|
+
<div id="method-i-all_services" class="method-detail anchor-link ">
|
|
538
|
+
<div class="method-header">
|
|
539
|
+
<div class="method-heading-group">
|
|
540
|
+
|
|
541
|
+
<div class="method-heading">
|
|
542
|
+
<a href="#method-i-all_services" title="Link to this method">
|
|
543
|
+
<span class="method-name">all_services</span>
|
|
544
|
+
<span class="method-args">()</span>
|
|
545
|
+
</a>
|
|
546
|
+
</div>
|
|
547
|
+
|
|
548
|
+
|
|
549
|
+
|
|
550
|
+
</div>
|
|
551
|
+
|
|
552
|
+
|
|
553
|
+
<div class="method-controls">
|
|
554
|
+
<details class="method-source-toggle">
|
|
555
|
+
<summary><span class="method-source-icon" aria-hidden="true">{}</span> Source</summary>
|
|
556
|
+
</details>
|
|
557
|
+
</div>
|
|
558
|
+
|
|
559
|
+
</div>
|
|
560
|
+
|
|
561
|
+
|
|
562
|
+
<div class="method-source-code" id="all_services-source">
|
|
563
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/ldbws/response_types/station_board.rb, line 24</span>
|
|
564
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">all_services</span>
|
|
565
|
+
(<span class="ruby-identifier">train_services</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">bus_services</span> <span class="ruby-operator">+</span> <span class="ruby-identifier">ferry_services</span>).<span class="ruby-identifier">sort_by</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">s</span><span class="ruby-operator">|</span> <span class="ruby-identifier">s</span>.<span class="ruby-identifier">std</span> <span class="ruby-operator">||</span> <span class="ruby-identifier">s</span>.<span class="ruby-identifier">sta</span> }
|
|
566
|
+
<span class="ruby-keyword">end</span></pre>
|
|
567
|
+
</div>
|
|
568
|
+
|
|
569
|
+
|
|
570
|
+
|
|
571
|
+
<div class="method-description">
|
|
572
|
+
|
|
573
|
+
|
|
574
|
+
<p>Returns a combined list of all services (train, bus, and ferry), ordered by scheduled time of departure or arrival.</p>
|
|
575
|
+
|
|
576
|
+
|
|
577
|
+
</div>
|
|
578
|
+
|
|
579
|
+
|
|
580
|
+
|
|
581
|
+
|
|
582
|
+
|
|
583
|
+
</div>
|
|
584
|
+
|
|
585
|
+
|
|
586
|
+
</section>
|
|
587
|
+
|
|
588
|
+
|
|
589
|
+
|
|
590
|
+
|
|
99
591
|
</section>
|
|
592
|
+
|
|
100
593
|
</main>
|
|
101
594
|
|
|
595
|
+
<aside id="table-of-contents" class="table-of-contents" role="complementary" aria-label="Table of Contents">
|
|
596
|
+
<div class="toc-sticky">
|
|
597
|
+
<h3 class="toc-heading">On This Page</h3>
|
|
598
|
+
<nav class="toc-nav" id="toc-nav" aria-label="Page sections">
|
|
599
|
+
<!-- Generated by JavaScript based on page headings -->
|
|
600
|
+
</nav>
|
|
601
|
+
</div>
|
|
602
|
+
</aside>
|
|
603
|
+
|
|
102
604
|
|
|
103
|
-
<footer
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
<
|
|
605
|
+
<footer class="site-footer">
|
|
606
|
+
|
|
607
|
+
|
|
608
|
+
<div class="footer-bottom">
|
|
609
|
+
<p>
|
|
610
|
+
Generated by <a href="https://ruby.github.io/rdoc/">RDoc 8.1.0</a>
|
|
611
|
+
using the Aliki theme by <a href="http://st0012.dev">Stan Lo</a>
|
|
612
|
+
</p>
|
|
613
|
+
</div>
|
|
107
614
|
</footer>
|
|
108
615
|
|
|
616
|
+
</body>
|
|
617
|
+
|