zabbix-api-simple 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/exe/zapishell.rb +15 -1
- data/lib/zabbix/api/client.rb +54 -1
- data/lib/zabbix/api/version.rb +1 -1
- data/lib/zabbix/api.rb +0 -6
- data/public/Zabbix/Api/Client.html +154 -79
- data/public/Zabbix/Api/FaradayMiddleware/ZabbixApiRequest.html +19 -11
- data/public/Zabbix/Api/FaradayMiddleware.html +1 -1
- data/public/Zabbix/Api/OpenStruct.html +384 -0
- data/public/Zabbix/Api/ZabbixStruct.html +384 -0
- data/public/Zabbix/Api.html +5 -5
- data/public/Zabbix.html +3 -3
- data/public/_index.html +7 -7
- data/public/class_list.html +1 -1
- data/public/file.CHANGELOG.html +15 -1
- data/public/file.LICENSE.html +1 -1
- data/public/file.README.html +1 -1
- data/public/index.html +1 -1
- data/public/method_list.html +32 -0
- data/public/top-level-namespace.html +1 -1
- data/zabbix-api.gemspec +2 -1
- metadata +19 -3
- data/public/Zabbix/Api/Error.html +0 -124
@@ -0,0 +1,384 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
+
<title>
|
7
|
+
Class: Zabbix::Api::ZabbixStruct
|
8
|
+
|
9
|
+
— Documentation by YARD 0.9.26
|
10
|
+
|
11
|
+
</title>
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="../../css/style.css" type="text/css" />
|
14
|
+
|
15
|
+
<link rel="stylesheet" href="../../css/common.css" type="text/css" />
|
16
|
+
|
17
|
+
<script type="text/javascript">
|
18
|
+
pathId = "Zabbix::Api::ZabbixStruct";
|
19
|
+
relpath = '../../';
|
20
|
+
</script>
|
21
|
+
|
22
|
+
|
23
|
+
<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
|
24
|
+
|
25
|
+
<script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
|
26
|
+
|
27
|
+
|
28
|
+
</head>
|
29
|
+
<body>
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="../../class_list.html?1"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
38
|
+
|
39
|
+
<a href="../../_index.html">Index (Z)</a> »
|
40
|
+
<span class='title'><span class='object_link'><a href="../../Zabbix.html" title="Zabbix (module)">Zabbix</a></span></span> » <span class='title'><span class='object_link'><a href="../Api.html" title="Zabbix::Api (module)">Api</a></span></span>
|
41
|
+
»
|
42
|
+
<span class="title">ZabbixStruct</span>
|
43
|
+
|
44
|
+
</div>
|
45
|
+
|
46
|
+
<div id="search">
|
47
|
+
|
48
|
+
<a class="full_list_link" id="class_list_link"
|
49
|
+
href="../../class_list.html">
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
56
|
+
</a>
|
57
|
+
|
58
|
+
</div>
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
61
|
+
|
62
|
+
<div id="content"><h1>Class: Zabbix::Api::ZabbixStruct
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
</h1>
|
67
|
+
<div class="box_info">
|
68
|
+
|
69
|
+
<dl>
|
70
|
+
<dt>Inherits:</dt>
|
71
|
+
<dd>
|
72
|
+
<span class="inheritName">OpenStruct</span>
|
73
|
+
|
74
|
+
<ul class="fullTree">
|
75
|
+
<li>Object</li>
|
76
|
+
|
77
|
+
<li class="next">OpenStruct</li>
|
78
|
+
|
79
|
+
<li class="next">Zabbix::Api::ZabbixStruct</li>
|
80
|
+
|
81
|
+
</ul>
|
82
|
+
<a href="#" class="inheritanceTree">show all</a>
|
83
|
+
|
84
|
+
</dd>
|
85
|
+
</dl>
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
<dl>
|
98
|
+
<dt>Defined in:</dt>
|
99
|
+
<dd>lib/zabbix/api/client.rb</dd>
|
100
|
+
</dl>
|
101
|
+
|
102
|
+
</div>
|
103
|
+
|
104
|
+
<h2>Overview</h2><div class="docstring">
|
105
|
+
<div class="discussion">
|
106
|
+
|
107
|
+
<p>Subclass of OpenStruct adds some niceties for REPL etc</p>
|
108
|
+
|
109
|
+
|
110
|
+
</div>
|
111
|
+
</div>
|
112
|
+
<div class="tags">
|
113
|
+
|
114
|
+
|
115
|
+
</div>
|
116
|
+
|
117
|
+
<h2>
|
118
|
+
Constant Summary
|
119
|
+
<small><a href="#" class="constants_summary_toggle">collapse</a></small>
|
120
|
+
</h2>
|
121
|
+
|
122
|
+
<dl class="constants">
|
123
|
+
|
124
|
+
<dt id="prettymode-classvariable" class="">@@prettymode =
|
125
|
+
<div class="docstring">
|
126
|
+
<div class="discussion">
|
127
|
+
|
128
|
+
<p>If true, inspect returns awesome_inspect instead of default</p>
|
129
|
+
|
130
|
+
|
131
|
+
</div>
|
132
|
+
</div>
|
133
|
+
<div class="tags">
|
134
|
+
|
135
|
+
|
136
|
+
</div>
|
137
|
+
</dt>
|
138
|
+
<dd><pre class="code"><span class='kw'>false</span></pre></dd>
|
139
|
+
|
140
|
+
</dl>
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
|
150
|
+
<h2>
|
151
|
+
Class Method Summary
|
152
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
153
|
+
</h2>
|
154
|
+
|
155
|
+
<ul class="summary">
|
156
|
+
|
157
|
+
<li class="public ">
|
158
|
+
<span class="summary_signature">
|
159
|
+
|
160
|
+
<a href="#prettymode-class_method" title="prettymode (class method)">.<strong>prettymode</strong> ⇒ Object </a>
|
161
|
+
|
162
|
+
|
163
|
+
|
164
|
+
</span>
|
165
|
+
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
|
174
|
+
<span class="summary_desc"><div class='inline'>
|
175
|
+
<p>returns current value of prettymode.</p>
|
176
|
+
</div></span>
|
177
|
+
|
178
|
+
</li>
|
179
|
+
|
180
|
+
|
181
|
+
<li class="public ">
|
182
|
+
<span class="summary_signature">
|
183
|
+
|
184
|
+
<a href="#prettymode=-class_method" title="prettymode= (class method)">.<strong>prettymode=</strong>(aBool) ⇒ Object </a>
|
185
|
+
|
186
|
+
|
187
|
+
|
188
|
+
</span>
|
189
|
+
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
|
194
|
+
|
195
|
+
|
196
|
+
|
197
|
+
|
198
|
+
<span class="summary_desc"><div class='inline'>
|
199
|
+
<p>sets prettymod to aBool.</p>
|
200
|
+
</div></span>
|
201
|
+
|
202
|
+
</li>
|
203
|
+
|
204
|
+
|
205
|
+
</ul>
|
206
|
+
|
207
|
+
<h2>
|
208
|
+
Instance Method Summary
|
209
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
210
|
+
</h2>
|
211
|
+
|
212
|
+
<ul class="summary">
|
213
|
+
|
214
|
+
<li class="public ">
|
215
|
+
<span class="summary_signature">
|
216
|
+
|
217
|
+
<a href="#inspect-instance_method" title="#inspect (instance method)">#<strong>inspect</strong> ⇒ Object </a>
|
218
|
+
|
219
|
+
|
220
|
+
|
221
|
+
</span>
|
222
|
+
|
223
|
+
|
224
|
+
|
225
|
+
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
|
230
|
+
|
231
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
232
|
+
|
233
|
+
</li>
|
234
|
+
|
235
|
+
|
236
|
+
</ul>
|
237
|
+
|
238
|
+
|
239
|
+
|
240
|
+
|
241
|
+
|
242
|
+
<div id="class_method_details" class="method_details_list">
|
243
|
+
<h2>Class Method Details</h2>
|
244
|
+
|
245
|
+
|
246
|
+
<div class="method_details first">
|
247
|
+
<h3 class="signature first" id="prettymode-class_method">
|
248
|
+
|
249
|
+
.<strong>prettymode</strong> ⇒ <tt>Object</tt>
|
250
|
+
|
251
|
+
|
252
|
+
|
253
|
+
|
254
|
+
|
255
|
+
</h3><div class="docstring">
|
256
|
+
<div class="discussion">
|
257
|
+
|
258
|
+
<p>returns current value of prettymode</p>
|
259
|
+
|
260
|
+
|
261
|
+
</div>
|
262
|
+
</div>
|
263
|
+
<div class="tags">
|
264
|
+
|
265
|
+
|
266
|
+
</div><table class="source_code">
|
267
|
+
<tr>
|
268
|
+
<td>
|
269
|
+
<pre class="lines">
|
270
|
+
|
271
|
+
|
272
|
+
58
|
273
|
+
59
|
274
|
+
60</pre>
|
275
|
+
</td>
|
276
|
+
<td>
|
277
|
+
<pre class="code"><span class="info file"># File 'lib/zabbix/api/client.rb', line 58</span>
|
278
|
+
|
279
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_prettymode'>prettymode</span>
|
280
|
+
<span class='cvar'>@@prettymode</span>
|
281
|
+
<span class='kw'>end</span></pre>
|
282
|
+
</td>
|
283
|
+
</tr>
|
284
|
+
</table>
|
285
|
+
</div>
|
286
|
+
|
287
|
+
<div class="method_details ">
|
288
|
+
<h3 class="signature " id="prettymode=-class_method">
|
289
|
+
|
290
|
+
.<strong>prettymode=</strong>(aBool) ⇒ <tt>Object</tt>
|
291
|
+
|
292
|
+
|
293
|
+
|
294
|
+
|
295
|
+
|
296
|
+
</h3><div class="docstring">
|
297
|
+
<div class="discussion">
|
298
|
+
|
299
|
+
<p>sets prettymod to aBool</p>
|
300
|
+
|
301
|
+
|
302
|
+
</div>
|
303
|
+
</div>
|
304
|
+
<div class="tags">
|
305
|
+
|
306
|
+
|
307
|
+
</div><table class="source_code">
|
308
|
+
<tr>
|
309
|
+
<td>
|
310
|
+
<pre class="lines">
|
311
|
+
|
312
|
+
|
313
|
+
64
|
314
|
+
65
|
315
|
+
66</pre>
|
316
|
+
</td>
|
317
|
+
<td>
|
318
|
+
<pre class="code"><span class="info file"># File 'lib/zabbix/api/client.rb', line 64</span>
|
319
|
+
|
320
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_prettymode='>prettymode=</span><span class='lparen'>(</span><span class='id identifier rubyid_aBool'>aBool</span><span class='rparen'>)</span>
|
321
|
+
<span class='cvar'>@@prettymode</span> <span class='op'>=</span> <span class='id identifier rubyid_aBool'>aBool</span>
|
322
|
+
<span class='kw'>end</span></pre>
|
323
|
+
</td>
|
324
|
+
</tr>
|
325
|
+
</table>
|
326
|
+
</div>
|
327
|
+
|
328
|
+
</div>
|
329
|
+
|
330
|
+
<div id="instance_method_details" class="method_details_list">
|
331
|
+
<h2>Instance Method Details</h2>
|
332
|
+
|
333
|
+
|
334
|
+
<div class="method_details first">
|
335
|
+
<h3 class="signature first" id="inspect-instance_method">
|
336
|
+
|
337
|
+
#<strong>inspect</strong> ⇒ <tt>Object</tt>
|
338
|
+
|
339
|
+
|
340
|
+
|
341
|
+
|
342
|
+
|
343
|
+
</h3><table class="source_code">
|
344
|
+
<tr>
|
345
|
+
<td>
|
346
|
+
<pre class="lines">
|
347
|
+
|
348
|
+
|
349
|
+
69
|
350
|
+
70
|
351
|
+
71
|
352
|
+
72
|
353
|
+
73
|
354
|
+
74
|
355
|
+
75</pre>
|
356
|
+
</td>
|
357
|
+
<td>
|
358
|
+
<pre class="code"><span class="info file"># File 'lib/zabbix/api/client.rb', line 69</span>
|
359
|
+
|
360
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_inspect'>inspect</span>
|
361
|
+
<span class='kw'>if</span> <span class='cvar'>@@prettymode</span>
|
362
|
+
<span class='id identifier rubyid_awesome_inspect'>awesome_inspect</span>
|
363
|
+
<span class='kw'>else</span>
|
364
|
+
<span class='kw'>super</span>
|
365
|
+
<span class='kw'>end</span>
|
366
|
+
<span class='kw'>end</span></pre>
|
367
|
+
</td>
|
368
|
+
</tr>
|
369
|
+
</table>
|
370
|
+
</div>
|
371
|
+
|
372
|
+
</div>
|
373
|
+
|
374
|
+
</div>
|
375
|
+
|
376
|
+
<div id="footer">
|
377
|
+
Generated on Sat Sep 18 20:24:53 2021 by
|
378
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
379
|
+
0.9.26 (ruby-2.7.4).
|
380
|
+
</div>
|
381
|
+
|
382
|
+
</div>
|
383
|
+
</body>
|
384
|
+
</html>
|
data/public/Zabbix/Api.html
CHANGED
@@ -78,8 +78,8 @@
|
|
78
78
|
|
79
79
|
<dl>
|
80
80
|
<dt>Defined in:</dt>
|
81
|
-
<dd>lib/zabbix/api.rb<span class="defines">,<br />
|
82
|
-
lib/zabbix/api/
|
81
|
+
<dd>lib/zabbix/api/client.rb<span class="defines">,<br />
|
82
|
+
lib/zabbix/api/version.rb</span>
|
83
83
|
</dd>
|
84
84
|
</dl>
|
85
85
|
|
@@ -93,7 +93,7 @@
|
|
93
93
|
|
94
94
|
|
95
95
|
|
96
|
-
<strong class="classes">Classes:</strong> <span class='object_link'><a href="Api/Client.html" title="Zabbix::Api::Client (class)">Client</a></span>, <span class='object_link'><a href="Api/
|
96
|
+
<strong class="classes">Classes:</strong> <span class='object_link'><a href="Api/Client.html" title="Zabbix::Api::Client (class)">Client</a></span>, <span class='object_link'><a href="Api/OpenStruct.html" title="Zabbix::Api::OpenStruct (class)">OpenStruct</a></span>
|
97
97
|
|
98
98
|
|
99
99
|
</p>
|
@@ -109,7 +109,7 @@
|
|
109
109
|
<dt id="VERSION-constant" class="">VERSION =
|
110
110
|
|
111
111
|
</dt>
|
112
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>0.1.
|
112
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>0.1.5</span><span class='tstring_end'>"</span></span></pre></dd>
|
113
113
|
|
114
114
|
</dl>
|
115
115
|
|
@@ -125,7 +125,7 @@
|
|
125
125
|
</div>
|
126
126
|
|
127
127
|
<div id="footer">
|
128
|
-
Generated on Sat Sep
|
128
|
+
Generated on Sat Sep 18 20:44:22 2021 by
|
129
129
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
130
130
|
0.9.26 (ruby-2.7.4).
|
131
131
|
</div>
|
data/public/Zabbix.html
CHANGED
@@ -78,8 +78,8 @@
|
|
78
78
|
|
79
79
|
<dl>
|
80
80
|
<dt>Defined in:</dt>
|
81
|
-
<dd>lib/zabbix/api.rb<span class="defines">,<br />
|
82
|
-
lib/zabbix/api/
|
81
|
+
<dd>lib/zabbix/api/client.rb<span class="defines">,<br />
|
82
|
+
lib/zabbix/api/version.rb</span>
|
83
83
|
</dd>
|
84
84
|
</dl>
|
85
85
|
|
@@ -107,7 +107,7 @@
|
|
107
107
|
</div>
|
108
108
|
|
109
109
|
<div id="footer">
|
110
|
-
Generated on Sat Sep
|
110
|
+
Generated on Sat Sep 18 20:44:22 2021 by
|
111
111
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
112
112
|
0.9.26 (ruby-2.7.4).
|
113
113
|
</div>
|
data/public/_index.html
CHANGED
@@ -112,12 +112,12 @@
|
|
112
112
|
</ul>
|
113
113
|
|
114
114
|
|
115
|
-
<ul id="
|
116
|
-
<li class="letter">
|
115
|
+
<ul id="alpha_F" class="alpha">
|
116
|
+
<li class="letter">F</li>
|
117
117
|
<ul>
|
118
118
|
|
119
119
|
<li>
|
120
|
-
<span class='object_link'><a href="Zabbix/Api/
|
120
|
+
<span class='object_link'><a href="Zabbix/Api/FaradayMiddleware.html" title="Zabbix::Api::FaradayMiddleware (module)">FaradayMiddleware</a></span>
|
121
121
|
|
122
122
|
<small>(Zabbix::Api)</small>
|
123
123
|
|
@@ -127,12 +127,12 @@
|
|
127
127
|
</ul>
|
128
128
|
|
129
129
|
|
130
|
-
<ul id="
|
131
|
-
<li class="letter">
|
130
|
+
<ul id="alpha_O" class="alpha">
|
131
|
+
<li class="letter">O</li>
|
132
132
|
<ul>
|
133
133
|
|
134
134
|
<li>
|
135
|
-
<span class='object_link'><a href="Zabbix/Api/
|
135
|
+
<span class='object_link'><a href="Zabbix/Api/OpenStruct.html" title="Zabbix::Api::OpenStruct (class)">OpenStruct</a></span>
|
136
136
|
|
137
137
|
<small>(Zabbix::Api)</small>
|
138
138
|
|
@@ -170,7 +170,7 @@
|
|
170
170
|
</div>
|
171
171
|
|
172
172
|
<div id="footer">
|
173
|
-
Generated on Sat Sep
|
173
|
+
Generated on Sat Sep 18 20:44:22 2021 by
|
174
174
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
175
175
|
0.9.26 (ruby-2.7.4).
|
176
176
|
</div>
|
data/public/class_list.html
CHANGED
@@ -43,7 +43,7 @@
|
|
43
43
|
|
44
44
|
<ul id="full_list" class="class">
|
45
45
|
<li id="object_" class="odd"><div class="item" style="padding-left:30px"><span class='object_link'><a href="top-level-namespace.html" title="Top Level Namespace (root)">Top Level Namespace</a></span></div></li>
|
46
|
-
<li id='object_Zabbix' class='even'><div class='item' style='padding-left:30px'><a class='toggle'></a> <span class='object_link'><a href="Zabbix.html" title="Zabbix (module)">Zabbix</a></span><small class='search_info'>Top Level Namespace</small></div><ul><li id='object_Zabbix::Api' class='collapsed odd'><div class='item' style='padding-left:45px'><a class='toggle'></a> <span class='object_link'><a href="Zabbix/Api.html" title="Zabbix::Api (module)">Api</a></span><small class='search_info'>Zabbix</small></div><ul><li id='object_Zabbix::Api::Client' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Zabbix/Api/Client.html" title="Zabbix::Api::Client (class)">Client</a></span> < Object<small class='search_info'>Zabbix::Api</small></div></li><li id='object_Zabbix::Api::
|
46
|
+
<li id='object_Zabbix' class='even'><div class='item' style='padding-left:30px'><a class='toggle'></a> <span class='object_link'><a href="Zabbix.html" title="Zabbix (module)">Zabbix</a></span><small class='search_info'>Top Level Namespace</small></div><ul><li id='object_Zabbix::Api' class='collapsed odd'><div class='item' style='padding-left:45px'><a class='toggle'></a> <span class='object_link'><a href="Zabbix/Api.html" title="Zabbix::Api (module)">Api</a></span><small class='search_info'>Zabbix</small></div><ul><li id='object_Zabbix::Api::Client' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Zabbix/Api/Client.html" title="Zabbix::Api::Client (class)">Client</a></span> < Object<small class='search_info'>Zabbix::Api</small></div></li><li id='object_Zabbix::Api::FaradayMiddleware' class='collapsed'><div class='item' style='padding-left:60px'><a class='toggle'></a> <span class='object_link'><a href="Zabbix/Api/FaradayMiddleware.html" title="Zabbix::Api::FaradayMiddleware (module)">FaradayMiddleware</a></span><small class='search_info'>Zabbix::Api</small></div><ul><li id='object_Zabbix::Api::FaradayMiddleware::ZabbixApiRequest' class='collapsed'><div class='item' style='padding-left:75px'><span class='object_link'><a href="Zabbix/Api/FaradayMiddleware/ZabbixApiRequest.html" title="Zabbix::Api::FaradayMiddleware::ZabbixApiRequest (class)">ZabbixApiRequest</a></span> < Middleware<small class='search_info'>Zabbix::Api::FaradayMiddleware</small></div></li></ul></li><li id='object_Zabbix::Api::OpenStruct' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Zabbix/Api/OpenStruct.html" title="Zabbix::Api::OpenStruct (class)">OpenStruct</a></span> < OpenStruct<small class='search_info'>Zabbix::Api</small></div></li></ul></li></ul></li>
|
47
47
|
|
48
48
|
</ul>
|
49
49
|
</div>
|
data/public/file.CHANGELOG.html
CHANGED
@@ -61,11 +61,25 @@
|
|
61
61
|
<h1 id="label-0.1.4">0.1.4</h1>
|
62
62
|
<ul><li>
|
63
63
|
<p>Just doc changes</p>
|
64
|
+
|
65
|
+
<h1 id="label-0.1.5">0.1.5</h1>
|
66
|
+
</li><li>
|
67
|
+
<p>deps fix for pry</p>
|
68
|
+
</li><li>
|
69
|
+
<p>add known_objects method</p>
|
70
|
+
</li><li>
|
71
|
+
<p>add exception trap for json parse issues w/ note about php memory</p>
|
72
|
+
</li><li>
|
73
|
+
<p>change zapishell.rb to start in the api context</p>
|
74
|
+
</li><li>
|
75
|
+
<p>add exception for apiinfo.version (refuses auth token for some reason)</p>
|
76
|
+
</li><li>
|
77
|
+
<p>add pretty inspection mode to zapishell.rb</p>
|
64
78
|
</li></ul>
|
65
79
|
</div></div>
|
66
80
|
|
67
81
|
<div id="footer">
|
68
|
-
Generated on Sat Sep
|
82
|
+
Generated on Sat Sep 18 20:44:22 2021 by
|
69
83
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
70
84
|
0.9.26 (ruby-2.7.4).
|
71
85
|
</div>
|
data/public/file.LICENSE.html
CHANGED
@@ -60,7 +60,7 @@
|
|
60
60
|
<div id="content"><div id='filecontents'>MIT License<br/><br/>Copyright (c) 2021 David Parker<br/><br/>Permission is hereby granted, free of charge, to any person obtaining a copy<br/>of this software and associated documentation files (the "Software"), to deal<br/>in the Software without restriction, including without limitation the rights<br/>to use, copy, modify, merge, publish, distribute, sublicense, and/or sell<br/>copies of the Software, and to permit persons to whom the Software is<br/>furnished to do so, subject to the following conditions:<br/><br/>The above copyright notice and this permission notice shall be included in all<br/>copies or substantial portions of the Software.<br/><br/>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR<br/>IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,<br/>FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE<br/>AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER<br/>LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,<br/>OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE<br/>SOFTWARE.</div></div>
|
61
61
|
|
62
62
|
<div id="footer">
|
63
|
-
Generated on Sat Sep
|
63
|
+
Generated on Sat Sep 18 20:44:22 2021 by
|
64
64
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
65
65
|
0.9.26 (ruby-2.7.4).
|
66
66
|
</div>
|
data/public/file.README.html
CHANGED
@@ -180,7 +180,7 @@ Options:
|
|
180
180
|
</div></div>
|
181
181
|
|
182
182
|
<div id="footer">
|
183
|
-
Generated on Sat Sep
|
183
|
+
Generated on Sat Sep 18 20:44:22 2021 by
|
184
184
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
185
185
|
0.9.26 (ruby-2.7.4).
|
186
186
|
</div>
|
data/public/index.html
CHANGED
@@ -180,7 +180,7 @@ Options:
|
|
180
180
|
</div></div>
|
181
181
|
|
182
182
|
<div id="footer">
|
183
|
-
Generated on Sat Sep
|
183
|
+
Generated on Sat Sep 18 20:44:22 2021 by
|
184
184
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
185
185
|
0.9.26 (ruby-2.7.4).
|
186
186
|
</div>
|
data/public/method_list.html
CHANGED
@@ -76,6 +76,22 @@
|
|
76
76
|
</li>
|
77
77
|
|
78
78
|
|
79
|
+
<li class="odd ">
|
80
|
+
<div class="item">
|
81
|
+
<span class='object_link'><a href="Zabbix/Api/OpenStruct.html#inspect-instance_method" title="Zabbix::Api::OpenStruct#inspect (method)">#inspect</a></span>
|
82
|
+
<small>Zabbix::Api::OpenStruct</small>
|
83
|
+
</div>
|
84
|
+
</li>
|
85
|
+
|
86
|
+
|
87
|
+
<li class="even ">
|
88
|
+
<div class="item">
|
89
|
+
<span class='object_link'><a href="Zabbix/Api/Client.html#known_objects-instance_method" title="Zabbix::Api::Client#known_objects (method)">#known_objects</a></span>
|
90
|
+
<small>Zabbix::Api::Client</small>
|
91
|
+
</div>
|
92
|
+
</li>
|
93
|
+
|
94
|
+
|
79
95
|
<li class="odd ">
|
80
96
|
<div class="item">
|
81
97
|
<span class='object_link'><a href="Zabbix/Api/Client.html#last-class_method" title="Zabbix::Api::Client.last (method)">last</a></span>
|
@@ -140,6 +156,22 @@
|
|
140
156
|
</li>
|
141
157
|
|
142
158
|
|
159
|
+
<li class="odd ">
|
160
|
+
<div class="item">
|
161
|
+
<span class='object_link'><a href="Zabbix/Api/OpenStruct.html#prettymode-class_method" title="Zabbix::Api::OpenStruct.prettymode (method)">prettymode</a></span>
|
162
|
+
<small>Zabbix::Api::OpenStruct</small>
|
163
|
+
</div>
|
164
|
+
</li>
|
165
|
+
|
166
|
+
|
167
|
+
<li class="even ">
|
168
|
+
<div class="item">
|
169
|
+
<span class='object_link'><a href="Zabbix/Api/OpenStruct.html#prettymode=-class_method" title="Zabbix::Api::OpenStruct.prettymode= (method)">prettymode=</a></span>
|
170
|
+
<small>Zabbix::Api::OpenStruct</small>
|
171
|
+
</div>
|
172
|
+
</li>
|
173
|
+
|
174
|
+
|
143
175
|
<li class="odd ">
|
144
176
|
<div class="item">
|
145
177
|
<span class='object_link'><a href="Zabbix/Api/Client.html#token-instance_method" title="Zabbix::Api::Client#token (method)">#token</a></span>
|
@@ -100,7 +100,7 @@
|
|
100
100
|
</div>
|
101
101
|
|
102
102
|
<div id="footer">
|
103
|
-
Generated on Sat Sep
|
103
|
+
Generated on Sat Sep 18 20:44:22 2021 by
|
104
104
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
105
105
|
0.9.26 (ruby-2.7.4).
|
106
106
|
</div>
|
data/zabbix-api.gemspec
CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
|
|
17
17
|
|
18
18
|
spec.metadata["homepage_uri"] = spec.homepage
|
19
19
|
spec.metadata["source_code_uri"] = 'https://gitlab.com/svdasein/zabbix-api'
|
20
|
-
|
20
|
+
spec.metadata["changelog_uri"] = "https://gitlab.com/svdasein/zabbix-api/-/blob/master/CHANGELOG.md"
|
21
21
|
|
22
22
|
# Specify which files should be added to the gem when it is released.
|
23
23
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
@@ -36,4 +36,5 @@ Gem::Specification.new do |spec|
|
|
36
36
|
spec.add_dependency 'faraday'
|
37
37
|
spec.add_dependency 'optimist'
|
38
38
|
spec.add_dependency 'amazing_print'
|
39
|
+
spec.add_dependency 'pry'
|
39
40
|
end
|