zendesk_api 0.3.14 → 0.4.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- data/.yardopts +6 -2
- data/Gemfile +3 -2
- data/Gemfile.lock +4 -4
- data/Readme.md +3 -268
- data/lib/zendesk_api/actions.rb +51 -46
- data/lib/zendesk_api/association.rb +1 -1
- data/lib/zendesk_api/associations.rb +2 -6
- data/lib/zendesk_api/client.rb +8 -9
- data/lib/zendesk_api/collection.rb +84 -50
- data/lib/zendesk_api/configuration.rb +4 -0
- data/lib/zendesk_api/error.rb +22 -0
- data/lib/zendesk_api/middleware/request/etag_cache.rb +1 -7
- data/lib/zendesk_api/middleware/request/upload.rb +1 -2
- data/lib/zendesk_api/middleware/response/raise_error.rb +20 -0
- data/lib/zendesk_api/resource.rb +33 -5
- data/lib/zendesk_api/resources.rb +36 -11
- data/lib/zendesk_api/server/base.rb +1 -1
- data/lib/zendesk_api/server/helper.rb +3 -3
- data/lib/zendesk_api/server/models/zlib_json.rb +1 -1
- data/lib/zendesk_api/server/public/doc/ZendeskAPI.html +7 -7
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Ability.html +415 -13
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Activity.html +414 -51
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Attachment.html +321 -25
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Automation.html +413 -46
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Bookmark.html +389 -26
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/CRMData.html +415 -13
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/CRMDataStatus.html +415 -13
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Category.html +410 -47
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Client.html +98 -362
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Collection.html +457 -676
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Configuration.html +110 -20
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Create.html +264 -6
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Create/ClassMethods.html +43 -82
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/CreateResource.html +671 -15
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/CustomRole.html +415 -13
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Data.html +207 -233
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/DataResource.html +499 -24
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/DeleteResource.html +614 -15
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Destroy.html +73 -23
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Destroy/ClassMethod.html +68 -18
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/{FormatError.html → Error.html} +19 -27
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Error/ClientError.html +127 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/{Server/UserRequest.html → Error/NetworkError.html} +18 -16
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Error/RecordInvalid.html +371 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Error/RecordNotFound.html +127 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Forum.html +426 -63
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/ForumSubscription.html +414 -51
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Group.html +389 -26
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/GroupMembership.html +414 -51
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/JobStatus.html +405 -16
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Locale.html +405 -16
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Macro.html +413 -46
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/MobileDevice.html +404 -41
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/OAuthClient.html +606 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/OAuthToken.html +810 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Organization.html +422 -59
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/OrganizationField.html +606 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Read.html +75 -12
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/ReadResource.html +593 -16
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Request.html +418 -55
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Request/Comment.html +420 -31
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Resource.html +1025 -20
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Role.html +415 -13
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Rule.html +610 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/RuleExecution.html +317 -21
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/SatisfactionRating.html +428 -39
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Save.html +63 -79
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Search.html +34 -26
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Search/Result.html +305 -9
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Setting.html +433 -41
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/SharingAgreement.html +405 -16
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/SingularResource.html +389 -26
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/SuspendedTicket.html +600 -31
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Ticket.html +464 -101
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Ticket/Audit.html +427 -25
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Ticket/Comment.html +435 -32
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Ticket/Tag.html +389 -26
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/TicketField.html +389 -26
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/TicketMetric.html +592 -15
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Topic.html +427 -64
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Topic/TopicComment.html +907 -17
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Topic/TopicVote.html +414 -55
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/TopicComment.html +325 -29
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/TopicSubscription.html +414 -51
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Trigger.html +413 -46
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Update.html +258 -6
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Update/ClassMethod.html +62 -12
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/UpdateResource.html +671 -15
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Upload.html +800 -28
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/User.html +505 -142
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/User/Identity.html +412 -49
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/User/TopicComment.html +475 -13
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/UserField.html +606 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Verbs.html +9 -15
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/View.html +433 -66
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/ViewCount.html +415 -13
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/ViewRow.html +451 -49
- data/lib/zendesk_api/server/public/doc/_index.html +72 -72
- data/lib/zendesk_api/server/public/doc/class_list.html +1 -1
- data/lib/zendesk_api/server/public/doc/css/style.css +10 -0
- data/lib/zendesk_api/server/public/doc/file.Readme.html +20 -260
- data/lib/zendesk_api/server/public/doc/file_list.html +1 -1
- data/lib/zendesk_api/server/public/doc/frames.html +1 -1
- data/lib/zendesk_api/server/public/doc/index.html +20 -260
- data/lib/zendesk_api/server/public/doc/method_list.html +309 -517
- data/lib/zendesk_api/server/public/doc/top-level-namespace.html +3 -35
- data/lib/zendesk_api/verbs.rb +0 -4
- data/lib/zendesk_api/version.rb +1 -1
- data/spec/core/client_spec.rb +53 -13
- data/spec/core/collection_spec.rb +32 -4
- data/spec/core/create_resource_spec.rb +1 -1
- data/spec/core/data_resource_spec.rb +2 -2
- data/spec/core/middleware/request/etag_cache_spec.rb +6 -7
- data/spec/core/middleware/request/upload_spec.rb +2 -10
- data/spec/core/middleware/response/callback_spec.rb +1 -1
- data/spec/core/middleware/response/raise_error_spec.rb +40 -0
- data/spec/core/read_resource_spec.rb +0 -2
- data/spec/core/resource_spec.rb +13 -5
- data/spec/core/search_spec.rb +1 -1
- data/spec/core/spec_helper.rb +3 -3
- data/spec/live/automation_spec.rb +23 -0
- data/spec/live/organization_field_spec.rb +12 -0
- data/spec/live/ticket_spec.rb +8 -2
- data/spec/live/trigger_spec.rb +23 -0
- data/spec/live/user_field_spec.rb +12 -0
- data/spec/live/user_spec.rb +0 -2
- data/spec/live/view_spec.rb +17 -1
- data/spec/server/spec_helper.rb +2 -2
- data/zendesk_api.gemspec +1 -1
- metadata +88 -51
- checksums.yaml +0 -7
- data/lib/zendesk_api/rescue.rb +0 -63
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Console.html +0 -860
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Console/Eval.html +0 -190
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Server.html +0 -131
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Server/App.html +0 -523
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Server/Helper.html +0 -684
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Server/HtmlRenderer.html +0 -303
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Server/HtmlRenderer/RedcarpetRenderer.html +0 -508
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Server/ZlibJSON.html +0 -244
- data/spec/core/rescue_spec.rb +0 -151
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: ZendeskAPI::TopicComment
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.
|
9
|
+
— Documentation by YARD 0.8.5.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -109,12 +109,144 @@
|
|
109
109
|
|
110
110
|
|
111
111
|
|
112
|
+
<h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
|
113
|
+
<ul class="summary">
|
114
|
+
|
115
|
+
<li class="public ">
|
116
|
+
<span class="summary_signature">
|
117
|
+
|
118
|
+
<a href="#association-instance_method" title="#association (instance method)">- (ZendeskAPI::Association) <strong>association</strong> </a>
|
119
|
+
|
120
|
+
|
121
|
+
|
122
|
+
</span>
|
123
|
+
|
124
|
+
<span class="note title not_defined_here">
|
125
|
+
inherited
|
126
|
+
from <span class='object_link'><a href="Data.html#association-instance_method" title="ZendeskAPI::Data#association (method)">Data</a></span>
|
127
|
+
</span>
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
<span class="summary_desc"><div class='inline'>
|
141
|
+
<p>The association.</p>
|
142
|
+
</div></span>
|
143
|
+
|
144
|
+
</li>
|
145
|
+
|
146
|
+
|
147
|
+
<li class="public ">
|
148
|
+
<span class="summary_signature">
|
149
|
+
|
150
|
+
<a href="#attributes-instance_method" title="#attributes (instance method)">- (Hash) <strong>attributes</strong> </a>
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
(also: #to_param)
|
155
|
+
|
156
|
+
</span>
|
157
|
+
|
158
|
+
<span class="note title not_defined_here">
|
159
|
+
inherited
|
160
|
+
from <span class='object_link'><a href="Data.html#attributes-instance_method" title="ZendeskAPI::Data#attributes (method)">Data</a></span>
|
161
|
+
</span>
|
162
|
+
|
163
|
+
|
164
|
+
|
165
|
+
|
166
|
+
<span class="note title readonly">readonly</span>
|
167
|
+
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
<span class="summary_desc"><div class='inline'>
|
177
|
+
<p>The resource's attributes.</p>
|
178
|
+
</div></span>
|
179
|
+
|
180
|
+
</li>
|
181
|
+
|
182
|
+
|
183
|
+
<li class="public ">
|
184
|
+
<span class="summary_signature">
|
185
|
+
|
186
|
+
<a href="#errors-instance_method" title="#errors (instance method)">- (Array) <strong>errors</strong> </a>
|
187
|
+
|
188
|
+
|
189
|
+
|
190
|
+
</span>
|
191
|
+
|
192
|
+
<span class="note title not_defined_here">
|
193
|
+
inherited
|
194
|
+
from <span class='object_link'><a href="Data.html#errors-instance_method" title="ZendeskAPI::Data#errors (method)">Data</a></span>
|
195
|
+
</span>
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
|
204
|
+
|
205
|
+
|
112
206
|
|
207
|
+
|
208
|
+
<span class="summary_desc"><div class='inline'>
|
209
|
+
<p>The last received errors.</p>
|
210
|
+
</div></span>
|
211
|
+
|
212
|
+
</li>
|
113
213
|
|
114
|
-
|
214
|
+
|
215
|
+
<li class="public ">
|
216
|
+
<span class="summary_signature">
|
217
|
+
|
218
|
+
<a href="#response-instance_method" title="#response (instance method)">- (Object) <strong>response</strong> </a>
|
219
|
+
|
220
|
+
|
221
|
+
|
222
|
+
</span>
|
223
|
+
|
224
|
+
<span class="note title not_defined_here">
|
225
|
+
inherited
|
226
|
+
from <span class='object_link'><a href="Data.html#response-instance_method" title="ZendeskAPI::Data#response (method)">Data</a></span>
|
227
|
+
</span>
|
228
|
+
|
229
|
+
|
230
|
+
|
231
|
+
|
232
|
+
|
233
|
+
|
234
|
+
|
235
|
+
|
236
|
+
|
115
237
|
|
116
|
-
|
117
|
-
|
238
|
+
|
239
|
+
|
240
|
+
<span class="summary_desc"><div class='inline'>
|
241
|
+
<p>Place to dump the last response.</p>
|
242
|
+
</div></span>
|
243
|
+
|
244
|
+
</li>
|
245
|
+
|
246
|
+
|
247
|
+
</ul>
|
248
|
+
|
249
|
+
|
118
250
|
|
119
251
|
|
120
252
|
|
@@ -276,41 +408,205 @@
|
|
276
408
|
|
277
409
|
|
278
410
|
|
411
|
+
<div id="constructor_details" class="method_details_list">
|
412
|
+
<h2>Constructor Details</h2>
|
413
|
+
|
414
|
+
<p class="notice">This class inherits a constructor from <span class='object_link'><a href="Data.html#initialize-instance_method" title="ZendeskAPI::Data#initialize (method)">ZendeskAPI::Data</a></span></p>
|
415
|
+
|
416
|
+
</div>
|
417
|
+
<div id="method_missing_details" class="method_details_list">
|
418
|
+
<h2>Dynamic Method Handling</h2>
|
419
|
+
<p class="notice super">
|
420
|
+
This class handles dynamic methods through the <tt>method_missing</tt> method
|
421
|
+
|
422
|
+
in the class <span class='object_link'><a href="Data.html#method_missing-instance_method" title="ZendeskAPI::Data#method_missing (method)">ZendeskAPI::Data</a></span>
|
423
|
+
|
424
|
+
</p>
|
425
|
+
|
426
|
+
</div>
|
427
|
+
|
428
|
+
<div id="instance_attr_details" class="attr_details">
|
429
|
+
<h2>Instance Attribute Details</h2>
|
430
|
+
|
431
|
+
|
432
|
+
<span id="association=-instance_method"></span>
|
433
|
+
<div class="method_details first">
|
434
|
+
<h3 class="signature first" id="association-instance_method">
|
435
|
+
|
436
|
+
- (<tt><span class='object_link'>ZendeskAPI::Association</span></tt>) <strong>association</strong>
|
437
|
+
|
438
|
+
|
439
|
+
|
440
|
+
|
441
|
+
|
442
|
+
<span class="not_defined_here">
|
443
|
+
Originally defined in class
|
444
|
+
<span class='object_link'><a href="Data.html#association-instance_method" title="ZendeskAPI::Data#association (method)">Data</a></span>
|
445
|
+
</span>
|
446
|
+
|
447
|
+
</h3><div class="docstring">
|
448
|
+
<div class="discussion">
|
449
|
+
|
450
|
+
<p>The association</p>
|
451
|
+
|
452
|
+
|
453
|
+
</div>
|
454
|
+
</div>
|
455
|
+
<div class="tags">
|
279
456
|
|
457
|
+
<p class="tag_title">Returns:</p>
|
458
|
+
<ul class="return">
|
280
459
|
|
460
|
+
<li>
|
461
|
+
|
462
|
+
|
463
|
+
<span class='type'>(<tt><span class='object_link'>ZendeskAPI::Association</span></tt>)</span>
|
464
|
+
|
465
|
+
|
466
|
+
|
467
|
+
—
|
468
|
+
<div class='inline'>
|
469
|
+
<p>The association</p>
|
470
|
+
</div>
|
471
|
+
|
472
|
+
</li>
|
281
473
|
|
474
|
+
</ul>
|
475
|
+
|
476
|
+
</div>
|
477
|
+
</div>
|
478
|
+
|
479
|
+
|
480
|
+
<span id=""></span>
|
481
|
+
<div class="method_details ">
|
482
|
+
<h3 class="signature " id="attributes-instance_method">
|
282
483
|
|
484
|
+
- (<tt>Hash</tt>) <strong>attributes</strong> <span class="extras">(readonly)</span>
|
283
485
|
|
284
|
-
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Data.html" title="ZendeskAPI::Data (class)">Data</a></span></h3>
|
285
|
-
<p class="inherited"><span class='object_link'><a href="Data.html#%2F-instance_method" title="ZendeskAPI::Data#/ (method)">#/</a></span>, <span class='object_link'><a href="Data.html#%3D%3D-instance_method" title="ZendeskAPI::Data#== (method)">#==</a></span>, <span class='object_link'><a href="Data.html#format-class_method" title="ZendeskAPI::Data.format (method)">format</a></span>, <span class='object_link'><a href="Data.html#id-instance_method" title="ZendeskAPI::Data#id (method)">#id</a></span>, <span class='object_link'><a href="Data.html#initialize-instance_method" title="ZendeskAPI::Data#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="Data.html#method_missing-instance_method" title="ZendeskAPI::Data#method_missing (method)">#method_missing</a></span>, <span class='object_link'><a href="Data.html#new_record%3F-instance_method" title="ZendeskAPI::Data#new_record? (method)">#new_record?</a></span>, <span class='object_link'><a href="Data.html#path-instance_method" title="ZendeskAPI::Data#path (method)">#path</a></span>, <span class='object_link'><a href="Data.html#resource_name-class_method" title="ZendeskAPI::Data.resource_name (method)">resource_name</a></span>, <span class='object_link'><a href="Data.html#singular_resource_name-class_method" title="ZendeskAPI::Data.singular_resource_name (method)">singular_resource_name</a></span>, <span class='object_link'><a href="Data.html#subclasses-class_method" title="ZendeskAPI::Data.subclasses (method)">subclasses</a></span>, <span class='object_link'><a href="Data.html#to_json-instance_method" title="ZendeskAPI::Data#to_json (method)">#to_json</a></span></p>
|
286
486
|
|
287
487
|
|
488
|
+
<span class="aliases">Also known as:
|
489
|
+
<span class="names"><span id='to_param-instance_method'>to_param</span></span>
|
490
|
+
</span>
|
288
491
|
|
492
|
+
|
493
|
+
|
494
|
+
<span class="not_defined_here">
|
495
|
+
Originally defined in class
|
496
|
+
<span class='object_link'><a href="Data.html#attributes-instance_method" title="ZendeskAPI::Data#attributes (method)">Data</a></span>
|
497
|
+
</span>
|
498
|
+
|
499
|
+
</h3><div class="docstring">
|
500
|
+
<div class="discussion">
|
501
|
+
|
502
|
+
<p>The resource's attributes</p>
|
503
|
+
|
504
|
+
|
505
|
+
</div>
|
506
|
+
</div>
|
507
|
+
<div class="tags">
|
289
508
|
|
509
|
+
<p class="tag_title">Returns:</p>
|
510
|
+
<ul class="return">
|
290
511
|
|
512
|
+
<li>
|
513
|
+
|
514
|
+
|
515
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
516
|
+
|
517
|
+
|
518
|
+
|
519
|
+
—
|
520
|
+
<div class='inline'>
|
521
|
+
<p>The resource's attributes</p>
|
522
|
+
</div>
|
523
|
+
|
524
|
+
</li>
|
291
525
|
|
526
|
+
</ul>
|
527
|
+
|
528
|
+
</div>
|
529
|
+
</div>
|
530
|
+
|
531
|
+
|
532
|
+
<span id="errors=-instance_method"></span>
|
533
|
+
<div class="method_details ">
|
534
|
+
<h3 class="signature " id="errors-instance_method">
|
292
535
|
|
536
|
+
- (<tt>Array</tt>) <strong>errors</strong>
|
293
537
|
|
538
|
+
|
294
539
|
|
540
|
+
|
295
541
|
|
542
|
+
<span class="not_defined_here">
|
543
|
+
Originally defined in class
|
544
|
+
<span class='object_link'><a href="Data.html#errors-instance_method" title="ZendeskAPI::Data#errors (method)">Data</a></span>
|
545
|
+
</span>
|
296
546
|
|
547
|
+
</h3><div class="docstring">
|
548
|
+
<div class="discussion">
|
549
|
+
|
550
|
+
<p>The last received errors</p>
|
551
|
+
|
552
|
+
|
553
|
+
</div>
|
554
|
+
</div>
|
555
|
+
<div class="tags">
|
297
556
|
|
298
|
-
|
299
|
-
|
557
|
+
<p class="tag_title">Returns:</p>
|
558
|
+
<ul class="return">
|
300
559
|
|
301
|
-
<
|
560
|
+
<li>
|
561
|
+
|
562
|
+
|
563
|
+
<span class='type'>(<tt>Array</tt>)</span>
|
564
|
+
|
565
|
+
|
566
|
+
|
567
|
+
—
|
568
|
+
<div class='inline'>
|
569
|
+
<p>The last received errors</p>
|
570
|
+
</div>
|
571
|
+
|
572
|
+
</li>
|
302
573
|
|
574
|
+
</ul>
|
575
|
+
|
576
|
+
</div>
|
303
577
|
</div>
|
304
|
-
<div id="method_missing_details" class="method_details_list">
|
305
|
-
<h2>Dynamic Method Handling</h2>
|
306
|
-
<p class="notice super">
|
307
|
-
This class handles dynamic methods through the <tt>method_missing</tt> method
|
308
578
|
|
309
|
-
|
579
|
+
|
580
|
+
<span id="response=-instance_method"></span>
|
581
|
+
<div class="method_details ">
|
582
|
+
<h3 class="signature " id="response-instance_method">
|
583
|
+
|
584
|
+
- (<tt>Object</tt>) <strong>response</strong>
|
585
|
+
|
586
|
+
|
587
|
+
|
588
|
+
|
589
|
+
|
590
|
+
<span class="not_defined_here">
|
591
|
+
Originally defined in class
|
592
|
+
<span class='object_link'><a href="Data.html#response-instance_method" title="ZendeskAPI::Data#response (method)">Data</a></span>
|
593
|
+
</span>
|
594
|
+
|
595
|
+
</h3><div class="docstring">
|
596
|
+
<div class="discussion">
|
310
597
|
|
311
|
-
|
598
|
+
<p>Place to dump the last response</p>
|
599
|
+
|
600
|
+
|
601
|
+
</div>
|
602
|
+
</div>
|
603
|
+
<div class="tags">
|
312
604
|
|
605
|
+
|
313
606
|
</div>
|
607
|
+
</div>
|
608
|
+
|
609
|
+
</div>
|
314
610
|
|
315
611
|
|
316
612
|
<div id="instance_method_details" class="method_details_list">
|
@@ -383,10 +679,10 @@
|
|
383
679
|
<pre class="lines">
|
384
680
|
|
385
681
|
|
386
|
-
|
682
|
+
101</pre>
|
387
683
|
</td>
|
388
684
|
<td>
|
389
|
-
<pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line
|
685
|
+
<pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 101</span>
|
390
686
|
|
391
687
|
<span class='id identifier rubyid_has_many'>has_many</span> <span class='const'>Attachment</span></pre>
|
392
688
|
</td>
|
@@ -458,10 +754,10 @@
|
|
458
754
|
<pre class="lines">
|
459
755
|
|
460
756
|
|
461
|
-
|
757
|
+
101</pre>
|
462
758
|
</td>
|
463
759
|
<td>
|
464
|
-
<pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line
|
760
|
+
<pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 101</span>
|
465
761
|
|
466
762
|
<span class='id identifier rubyid_has_many'>has_many</span> <span class='const'>Attachment</span></pre>
|
467
763
|
</td>
|
@@ -513,10 +809,10 @@
|
|
513
809
|
<pre class="lines">
|
514
810
|
|
515
811
|
|
516
|
-
|
812
|
+
99</pre>
|
517
813
|
</td>
|
518
814
|
<td>
|
519
|
-
<pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line
|
815
|
+
<pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 99</span>
|
520
816
|
|
521
817
|
<span class='id identifier rubyid_has'>has</span> <span class='const'>Topic</span></pre>
|
522
818
|
</td>
|
@@ -588,10 +884,10 @@
|
|
588
884
|
<pre class="lines">
|
589
885
|
|
590
886
|
|
591
|
-
|
887
|
+
99</pre>
|
592
888
|
</td>
|
593
889
|
<td>
|
594
|
-
<pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line
|
890
|
+
<pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 99</span>
|
595
891
|
|
596
892
|
<span class='id identifier rubyid_has'>has</span> <span class='const'>Topic</span></pre>
|
597
893
|
</td>
|
@@ -643,10 +939,10 @@
|
|
643
939
|
<pre class="lines">
|
644
940
|
|
645
941
|
|
646
|
-
|
942
|
+
100</pre>
|
647
943
|
</td>
|
648
944
|
<td>
|
649
|
-
<pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line
|
945
|
+
<pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 100</span>
|
650
946
|
|
651
947
|
<span class='id identifier rubyid_has'>has</span> <span class='const'>User</span></pre>
|
652
948
|
</td>
|
@@ -718,10 +1014,10 @@
|
|
718
1014
|
<pre class="lines">
|
719
1015
|
|
720
1016
|
|
721
|
-
|
1017
|
+
100</pre>
|
722
1018
|
</td>
|
723
1019
|
<td>
|
724
|
-
<pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line
|
1020
|
+
<pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 100</span>
|
725
1021
|
|
726
1022
|
<span class='id identifier rubyid_has'>has</span> <span class='const'>User</span></pre>
|
727
1023
|
</td>
|
@@ -734,9 +1030,9 @@
|
|
734
1030
|
</div>
|
735
1031
|
|
736
1032
|
<div id="footer">
|
737
|
-
Generated on
|
1033
|
+
Generated on Wed May 15 18:59:32 2013 by
|
738
1034
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
739
|
-
0.8.
|
1035
|
+
0.8.5.2 (ruby-1.9.3).
|
740
1036
|
</div>
|
741
1037
|
|
742
1038
|
</body>
|