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,87 +1,494 @@
|
|
|
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::ParamValidationError - RDoc Documentation</title>
|
|
8
9
|
|
|
10
|
+
|
|
11
|
+
<meta
|
|
12
|
+
name="keywords"
|
|
13
|
+
content="ruby,class,Ldbws::Request::ParamValidationError"
|
|
14
|
+
>
|
|
15
|
+
|
|
16
|
+
<meta
|
|
17
|
+
name="description"
|
|
18
|
+
content="class Ldbws::Request::ParamValidationError: Raised when an error occurs when validating request parameters. dry-rb."
|
|
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::ParamValidationError - RDoc Documentation">
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
<meta property="og:description" content="Raised when an error occurs when validating request parameters. dry-rb.">
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
<!-- Twitter -->
|
|
38
|
+
<meta name="twitter:card" content="summary">
|
|
39
|
+
<meta name="twitter:title" content="class Ldbws::Request::ParamValidationError - RDoc Documentation">
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
<meta name="twitter:description" content="Raised when an error occurs when validating request parameters. dry-rb.">
|
|
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
|
-
|
|
18
|
-
<script
|
|
52
|
+
<script
|
|
53
|
+
src="../../js/theme-toggle.js?v=8.1.0"
|
|
54
|
+
></script>
|
|
55
|
+
|
|
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
|
+
>
|
|
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>
|
|
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>
|
|
342
|
+
</div>
|
|
343
|
+
</div>
|
|
19
344
|
|
|
20
|
-
|
|
21
|
-
<
|
|
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>
|
|
22
350
|
|
|
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>
|
|
353
|
+
</div>
|
|
23
354
|
|
|
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
355
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
<a href="../../table_of_contents.html#classes">Classes</a>
|
|
35
|
-
<a href="../../table_of_contents.html#methods">Methods</a>
|
|
36
|
-
</div>
|
|
37
|
-
</div>
|
|
356
|
+
<nav id="sidebar-navigation" role="navigation" hidden>
|
|
357
|
+
|
|
38
358
|
|
|
39
|
-
<div id="search-section" role="search" class="project-section initially-hidden">
|
|
40
|
-
<form action="#" method="get" accept-charset="utf-8">
|
|
41
|
-
<div id="search-field-wrapper">
|
|
42
|
-
<input id="search-field" role="combobox" aria-label="Search"
|
|
43
|
-
aria-autocomplete="list" aria-controls="search-results"
|
|
44
|
-
type="text" name="search" placeholder="Search" spellcheck="false"
|
|
45
|
-
title="Type to search, Up and Down to navigate, Enter to load">
|
|
46
|
-
</div>
|
|
47
359
|
|
|
48
|
-
<ul id="search-results" aria-label="Search Results"
|
|
49
|
-
aria-busy="false" aria-expanded="false"
|
|
50
|
-
aria-atomic="false" class="initially-hidden"></ul>
|
|
51
|
-
</form>
|
|
52
|
-
</div>
|
|
53
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>RuntimeError</li></ul>
|
|
413
|
+
</details>
|
|
65
414
|
</div>
|
|
66
415
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
<!-- Method Quickref -->
|
|
71
|
-
<div id="method-list-section" class="nav-section">
|
|
72
|
-
<h3>Methods</h3>
|
|
73
416
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
|
|
78
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-messages">messages</a></li>
|
|
438
|
+
|
|
439
|
+
</ul>
|
|
440
|
+
</details>
|
|
79
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
|
+
|
|
80
460
|
</nav>
|
|
81
461
|
|
|
82
|
-
<main role="main" aria-labelledby="class-
|
|
83
|
-
|
|
84
|
-
|
|
462
|
+
<main role="main" aria-labelledby="class-ldbws-request-paramvalidationerror">
|
|
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/Request.html">Request</a><span class="separator">::</span>
|
|
476
|
+
|
|
477
|
+
</li>
|
|
478
|
+
|
|
479
|
+
<li>
|
|
480
|
+
|
|
481
|
+
<span>ParamValidationError</span>
|
|
482
|
+
|
|
483
|
+
</li>
|
|
484
|
+
|
|
485
|
+
</ol>
|
|
486
|
+
|
|
487
|
+
|
|
488
|
+
<span id="class-Ldbws::Request::ParamValidationError" class="legacy-anchor"></span>
|
|
489
|
+
<h1 id="class-ldbws-request-paramvalidationerror" class="anchor-link class page-title">
|
|
490
|
+
<span class="page-title-kind">class</span>
|
|
491
|
+
<span class="page-title-name">Ldbws::Request::ParamValidationError</span>
|
|
85
492
|
</h1>
|
|
86
493
|
|
|
87
494
|
<section class="description">
|
|
@@ -90,49 +497,111 @@
|
|
|
90
497
|
|
|
91
498
|
</section>
|
|
92
499
|
|
|
93
|
-
|
|
500
|
+
|
|
501
|
+
<span id="5Buntitled-5D" class="legacy-anchor"></span>
|
|
502
|
+
<section class="documentation-section anchor-link">
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
|
|
506
|
+
|
|
94
507
|
|
|
95
508
|
|
|
96
509
|
|
|
97
510
|
|
|
98
511
|
|
|
99
|
-
|
|
512
|
+
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
|
|
516
|
+
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
|
|
520
|
+
|
|
521
|
+
<section id="public-instance-untitled-method-details" class="method-section anchor-link">
|
|
100
522
|
<header>
|
|
101
|
-
<h3>Public Instance Methods</h3>
|
|
523
|
+
<h3 id="public-instance-untitled-methods"><a href="#public-instance-untitled-methods">Public Instance Methods</a></h3>
|
|
102
524
|
</header>
|
|
103
525
|
|
|
104
|
-
|
|
526
|
+
|
|
527
|
+
<div id="method-i-messages" class="method-detail anchor-link ">
|
|
105
528
|
<div class="method-header">
|
|
106
|
-
<div class="method-heading">
|
|
107
|
-
|
|
108
|
-
class="method-
|
|
109
|
-
|
|
529
|
+
<div class="method-heading-group">
|
|
530
|
+
|
|
531
|
+
<div class="method-heading">
|
|
532
|
+
<a href="#method-i-messages" title="Link to this method">
|
|
533
|
+
<span class="method-name">messages</span>
|
|
534
|
+
<span class="method-args">()</span>
|
|
535
|
+
</a>
|
|
536
|
+
</div>
|
|
537
|
+
|
|
538
|
+
|
|
539
|
+
|
|
110
540
|
</div>
|
|
541
|
+
|
|
542
|
+
|
|
543
|
+
<div class="method-controls">
|
|
544
|
+
<details class="method-source-toggle">
|
|
545
|
+
<summary><span class="method-source-icon" aria-hidden="true">{}</span> Source</summary>
|
|
546
|
+
</details>
|
|
547
|
+
</div>
|
|
548
|
+
|
|
111
549
|
</div>
|
|
112
550
|
|
|
113
|
-
<div class="method-description">
|
|
114
|
-
<p>Returns the validation error messages as a hash.</p>
|
|
115
551
|
|
|
116
552
|
<div class="method-source-code" id="messages-source">
|
|
117
|
-
<pre><span class="ruby-comment"># File lib/ldbws/request/base.rb, line
|
|
118
|
-
<span class="ruby-keyword">def</span> <span class="ruby-identifier
|
|
553
|
+
<pre class="ruby"><span class="ruby-comment"># File lib/ldbws/request/base.rb, line 74</span>
|
|
554
|
+
<span class="ruby-keyword">def</span> <span class="ruby-identifier">messages</span>
|
|
119
555
|
<span class="ruby-ivar">@messages</span>
|
|
120
556
|
<span class="ruby-keyword">end</span></pre>
|
|
121
557
|
</div>
|
|
558
|
+
|
|
559
|
+
|
|
560
|
+
|
|
561
|
+
<div class="method-description">
|
|
562
|
+
|
|
563
|
+
|
|
564
|
+
<p>Returns the validation error messages as a hash.</p>
|
|
565
|
+
|
|
566
|
+
|
|
122
567
|
</div>
|
|
123
568
|
|
|
124
569
|
|
|
570
|
+
|
|
571
|
+
|
|
572
|
+
|
|
125
573
|
</div>
|
|
126
574
|
|
|
575
|
+
|
|
127
576
|
</section>
|
|
128
577
|
|
|
578
|
+
|
|
579
|
+
|
|
580
|
+
|
|
129
581
|
</section>
|
|
582
|
+
|
|
130
583
|
</main>
|
|
131
584
|
|
|
585
|
+
<aside id="table-of-contents" class="table-of-contents" role="complementary" aria-label="Table of Contents">
|
|
586
|
+
<div class="toc-sticky">
|
|
587
|
+
<h3 class="toc-heading">On This Page</h3>
|
|
588
|
+
<nav class="toc-nav" id="toc-nav" aria-label="Page sections">
|
|
589
|
+
<!-- Generated by JavaScript based on page headings -->
|
|
590
|
+
</nav>
|
|
591
|
+
</div>
|
|
592
|
+
</aside>
|
|
593
|
+
|
|
132
594
|
|
|
133
|
-
<footer
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
<
|
|
595
|
+
<footer class="site-footer">
|
|
596
|
+
|
|
597
|
+
|
|
598
|
+
<div class="footer-bottom">
|
|
599
|
+
<p>
|
|
600
|
+
Generated by <a href="https://ruby.github.io/rdoc/">RDoc 8.1.0</a>
|
|
601
|
+
using the Aliki theme by <a href="http://st0012.dev">Stan Lo</a>
|
|
602
|
+
</p>
|
|
603
|
+
</div>
|
|
137
604
|
</footer>
|
|
138
605
|
|
|
606
|
+
</body>
|
|
607
|
+
|