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.
Files changed (141) hide show
  1. data/.yardopts +6 -2
  2. data/Gemfile +3 -2
  3. data/Gemfile.lock +4 -4
  4. data/Readme.md +3 -268
  5. data/lib/zendesk_api/actions.rb +51 -46
  6. data/lib/zendesk_api/association.rb +1 -1
  7. data/lib/zendesk_api/associations.rb +2 -6
  8. data/lib/zendesk_api/client.rb +8 -9
  9. data/lib/zendesk_api/collection.rb +84 -50
  10. data/lib/zendesk_api/configuration.rb +4 -0
  11. data/lib/zendesk_api/error.rb +22 -0
  12. data/lib/zendesk_api/middleware/request/etag_cache.rb +1 -7
  13. data/lib/zendesk_api/middleware/request/upload.rb +1 -2
  14. data/lib/zendesk_api/middleware/response/raise_error.rb +20 -0
  15. data/lib/zendesk_api/resource.rb +33 -5
  16. data/lib/zendesk_api/resources.rb +36 -11
  17. data/lib/zendesk_api/server/base.rb +1 -1
  18. data/lib/zendesk_api/server/helper.rb +3 -3
  19. data/lib/zendesk_api/server/models/zlib_json.rb +1 -1
  20. data/lib/zendesk_api/server/public/doc/ZendeskAPI.html +7 -7
  21. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Ability.html +415 -13
  22. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Activity.html +414 -51
  23. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Attachment.html +321 -25
  24. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Automation.html +413 -46
  25. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Bookmark.html +389 -26
  26. data/lib/zendesk_api/server/public/doc/ZendeskAPI/CRMData.html +415 -13
  27. data/lib/zendesk_api/server/public/doc/ZendeskAPI/CRMDataStatus.html +415 -13
  28. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Category.html +410 -47
  29. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Client.html +98 -362
  30. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Collection.html +457 -676
  31. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Configuration.html +110 -20
  32. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Create.html +264 -6
  33. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Create/ClassMethods.html +43 -82
  34. data/lib/zendesk_api/server/public/doc/ZendeskAPI/CreateResource.html +671 -15
  35. data/lib/zendesk_api/server/public/doc/ZendeskAPI/CustomRole.html +415 -13
  36. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Data.html +207 -233
  37. data/lib/zendesk_api/server/public/doc/ZendeskAPI/DataResource.html +499 -24
  38. data/lib/zendesk_api/server/public/doc/ZendeskAPI/DeleteResource.html +614 -15
  39. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Destroy.html +73 -23
  40. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Destroy/ClassMethod.html +68 -18
  41. data/lib/zendesk_api/server/public/doc/ZendeskAPI/{FormatError.html → Error.html} +19 -27
  42. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Error/ClientError.html +127 -0
  43. data/lib/zendesk_api/server/public/doc/ZendeskAPI/{Server/UserRequest.html → Error/NetworkError.html} +18 -16
  44. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Error/RecordInvalid.html +371 -0
  45. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Error/RecordNotFound.html +127 -0
  46. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Forum.html +426 -63
  47. data/lib/zendesk_api/server/public/doc/ZendeskAPI/ForumSubscription.html +414 -51
  48. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Group.html +389 -26
  49. data/lib/zendesk_api/server/public/doc/ZendeskAPI/GroupMembership.html +414 -51
  50. data/lib/zendesk_api/server/public/doc/ZendeskAPI/JobStatus.html +405 -16
  51. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Locale.html +405 -16
  52. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Macro.html +413 -46
  53. data/lib/zendesk_api/server/public/doc/ZendeskAPI/MobileDevice.html +404 -41
  54. data/lib/zendesk_api/server/public/doc/ZendeskAPI/OAuthClient.html +606 -0
  55. data/lib/zendesk_api/server/public/doc/ZendeskAPI/OAuthToken.html +810 -0
  56. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Organization.html +422 -59
  57. data/lib/zendesk_api/server/public/doc/ZendeskAPI/OrganizationField.html +606 -0
  58. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Read.html +75 -12
  59. data/lib/zendesk_api/server/public/doc/ZendeskAPI/ReadResource.html +593 -16
  60. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Request.html +418 -55
  61. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Request/Comment.html +420 -31
  62. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Resource.html +1025 -20
  63. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Role.html +415 -13
  64. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Rule.html +610 -0
  65. data/lib/zendesk_api/server/public/doc/ZendeskAPI/RuleExecution.html +317 -21
  66. data/lib/zendesk_api/server/public/doc/ZendeskAPI/SatisfactionRating.html +428 -39
  67. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Save.html +63 -79
  68. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Search.html +34 -26
  69. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Search/Result.html +305 -9
  70. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Setting.html +433 -41
  71. data/lib/zendesk_api/server/public/doc/ZendeskAPI/SharingAgreement.html +405 -16
  72. data/lib/zendesk_api/server/public/doc/ZendeskAPI/SingularResource.html +389 -26
  73. data/lib/zendesk_api/server/public/doc/ZendeskAPI/SuspendedTicket.html +600 -31
  74. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Ticket.html +464 -101
  75. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Ticket/Audit.html +427 -25
  76. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Ticket/Comment.html +435 -32
  77. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Ticket/Tag.html +389 -26
  78. data/lib/zendesk_api/server/public/doc/ZendeskAPI/TicketField.html +389 -26
  79. data/lib/zendesk_api/server/public/doc/ZendeskAPI/TicketMetric.html +592 -15
  80. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Topic.html +427 -64
  81. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Topic/TopicComment.html +907 -17
  82. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Topic/TopicVote.html +414 -55
  83. data/lib/zendesk_api/server/public/doc/ZendeskAPI/TopicComment.html +325 -29
  84. data/lib/zendesk_api/server/public/doc/ZendeskAPI/TopicSubscription.html +414 -51
  85. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Trigger.html +413 -46
  86. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Update.html +258 -6
  87. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Update/ClassMethod.html +62 -12
  88. data/lib/zendesk_api/server/public/doc/ZendeskAPI/UpdateResource.html +671 -15
  89. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Upload.html +800 -28
  90. data/lib/zendesk_api/server/public/doc/ZendeskAPI/User.html +505 -142
  91. data/lib/zendesk_api/server/public/doc/ZendeskAPI/User/Identity.html +412 -49
  92. data/lib/zendesk_api/server/public/doc/ZendeskAPI/User/TopicComment.html +475 -13
  93. data/lib/zendesk_api/server/public/doc/ZendeskAPI/UserField.html +606 -0
  94. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Verbs.html +9 -15
  95. data/lib/zendesk_api/server/public/doc/ZendeskAPI/View.html +433 -66
  96. data/lib/zendesk_api/server/public/doc/ZendeskAPI/ViewCount.html +415 -13
  97. data/lib/zendesk_api/server/public/doc/ZendeskAPI/ViewRow.html +451 -49
  98. data/lib/zendesk_api/server/public/doc/_index.html +72 -72
  99. data/lib/zendesk_api/server/public/doc/class_list.html +1 -1
  100. data/lib/zendesk_api/server/public/doc/css/style.css +10 -0
  101. data/lib/zendesk_api/server/public/doc/file.Readme.html +20 -260
  102. data/lib/zendesk_api/server/public/doc/file_list.html +1 -1
  103. data/lib/zendesk_api/server/public/doc/frames.html +1 -1
  104. data/lib/zendesk_api/server/public/doc/index.html +20 -260
  105. data/lib/zendesk_api/server/public/doc/method_list.html +309 -517
  106. data/lib/zendesk_api/server/public/doc/top-level-namespace.html +3 -35
  107. data/lib/zendesk_api/verbs.rb +0 -4
  108. data/lib/zendesk_api/version.rb +1 -1
  109. data/spec/core/client_spec.rb +53 -13
  110. data/spec/core/collection_spec.rb +32 -4
  111. data/spec/core/create_resource_spec.rb +1 -1
  112. data/spec/core/data_resource_spec.rb +2 -2
  113. data/spec/core/middleware/request/etag_cache_spec.rb +6 -7
  114. data/spec/core/middleware/request/upload_spec.rb +2 -10
  115. data/spec/core/middleware/response/callback_spec.rb +1 -1
  116. data/spec/core/middleware/response/raise_error_spec.rb +40 -0
  117. data/spec/core/read_resource_spec.rb +0 -2
  118. data/spec/core/resource_spec.rb +13 -5
  119. data/spec/core/search_spec.rb +1 -1
  120. data/spec/core/spec_helper.rb +3 -3
  121. data/spec/live/automation_spec.rb +23 -0
  122. data/spec/live/organization_field_spec.rb +12 -0
  123. data/spec/live/ticket_spec.rb +8 -2
  124. data/spec/live/trigger_spec.rb +23 -0
  125. data/spec/live/user_field_spec.rb +12 -0
  126. data/spec/live/user_spec.rb +0 -2
  127. data/spec/live/view_spec.rb +17 -1
  128. data/spec/server/spec_helper.rb +2 -2
  129. data/zendesk_api.gemspec +1 -1
  130. metadata +88 -51
  131. checksums.yaml +0 -7
  132. data/lib/zendesk_api/rescue.rb +0 -63
  133. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Console.html +0 -860
  134. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Console/Eval.html +0 -190
  135. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Server.html +0 -131
  136. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Server/App.html +0 -523
  137. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Server/Helper.html +0 -684
  138. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Server/HtmlRenderer.html +0 -303
  139. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Server/HtmlRenderer/RedcarpetRenderer.html +0 -508
  140. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Server/ZlibJSON.html +0 -244
  141. data/spec/core/rescue_spec.rb +0 -151
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: ZendeskAPI::User
8
8
 
9
- &mdash; Documentation by YARD 0.8.4.1
9
+ &mdash; Documentation by YARD 0.8.5.2
10
10
 
11
11
  </title>
12
12
 
@@ -121,17 +121,208 @@
121
121
 
122
122
 
123
123
 
124
+ <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
125
+ <ul class="summary">
126
+
127
+ <li class="public ">
128
+ <span class="summary_signature">
129
+
130
+ <a href="#association-instance_method" title="#association (instance method)">- (ZendeskAPI::Association) <strong>association</strong> </a>
131
+
132
+
133
+
134
+ </span>
135
+
136
+ <span class="note title not_defined_here">
137
+ inherited
138
+ from <span class='object_link'><a href="Data.html#association-instance_method" title="ZendeskAPI::Data#association (method)">Data</a></span>
139
+ </span>
140
+
141
+
142
+
143
+
144
+
145
+
146
+
147
+
148
+
149
+
150
+
151
+
152
+ <span class="summary_desc"><div class='inline'>
153
+ <p>The association.</p>
154
+ </div></span>
155
+
156
+ </li>
157
+
158
+
159
+ <li class="public ">
160
+ <span class="summary_signature">
161
+
162
+ <a href="#attributes-instance_method" title="#attributes (instance method)">- (Hash) <strong>attributes</strong> </a>
163
+
164
+
165
+
166
+ (also: #to_param)
167
+
168
+ </span>
169
+
170
+ <span class="note title not_defined_here">
171
+ inherited
172
+ from <span class='object_link'><a href="Data.html#attributes-instance_method" title="ZendeskAPI::Data#attributes (method)">Data</a></span>
173
+ </span>
174
+
175
+
176
+
177
+
178
+ <span class="note title readonly">readonly</span>
179
+
180
+
181
+
182
+
183
+
184
+
185
+
186
+
187
+
188
+ <span class="summary_desc"><div class='inline'>
189
+ <p>The resource's attributes.</p>
190
+ </div></span>
191
+
192
+ </li>
124
193
 
194
+
195
+ <li class="public ">
196
+ <span class="summary_signature">
197
+
198
+ <a href="#error-instance_method" title="#error (instance method)">- (Object) <strong>error</strong> </a>
199
+
125
200
 
126
- <h2>Instance Attribute Summary</h2>
201
+
202
+ </span>
203
+
204
+ <span class="note title not_defined_here">
205
+ inherited
206
+ from <span class='object_link'><a href="DataResource.html#error-instance_method" title="ZendeskAPI::DataResource#error (method)">DataResource</a></span>
207
+ </span>
208
+
209
+
210
+
211
+
212
+
213
+
214
+
215
+
216
+
127
217
 
128
- <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="DataResource.html" title="ZendeskAPI::DataResource (class)">DataResource</a></span></h3>
129
- <p class="inherited"><span class='object_link'><a href="DataResource.html#error-instance_method" title="ZendeskAPI::DataResource#error (method)">#error</a></span>, <span class='object_link'><a href="DataResource.html#error_message-instance_method" title="ZendeskAPI::DataResource#error_message (method)">#error_message</a></span></p>
130
218
 
131
219
 
220
+ <span class="summary_desc"><div class='inline'>
221
+ <p>Returns the value of attribute error.</p>
222
+ </div></span>
132
223
 
133
- <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Data.html" title="ZendeskAPI::Data (class)">Data</a></span></h3>
134
- <p class="inherited"><span class='object_link'><a href="Data.html#association-instance_method" title="ZendeskAPI::Data#association (method)">#association</a></span>, <span class='object_link'><a href="Data.html#attributes-instance_method" title="ZendeskAPI::Data#attributes (method)">#attributes</a></span>, <span class='object_link'><a href="Data.html#response-instance_method" title="ZendeskAPI::Data#response (method)">#response</a></span></p>
224
+ </li>
225
+
226
+
227
+ <li class="public ">
228
+ <span class="summary_signature">
229
+
230
+ <a href="#error_message-instance_method" title="#error_message (instance method)">- (Object) <strong>error_message</strong> </a>
231
+
232
+
233
+
234
+ </span>
235
+
236
+ <span class="note title not_defined_here">
237
+ inherited
238
+ from <span class='object_link'><a href="DataResource.html#error_message-instance_method" title="ZendeskAPI::DataResource#error_message (method)">DataResource</a></span>
239
+ </span>
240
+
241
+
242
+
243
+
244
+
245
+
246
+
247
+
248
+
249
+
250
+
251
+
252
+ <span class="summary_desc"><div class='inline'>
253
+ <p>Returns the value of attribute error_message.</p>
254
+ </div></span>
255
+
256
+ </li>
257
+
258
+
259
+ <li class="public ">
260
+ <span class="summary_signature">
261
+
262
+ <a href="#errors-instance_method" title="#errors (instance method)">- (Array) <strong>errors</strong> </a>
263
+
264
+
265
+
266
+ </span>
267
+
268
+ <span class="note title not_defined_here">
269
+ inherited
270
+ from <span class='object_link'><a href="Data.html#errors-instance_method" title="ZendeskAPI::Data#errors (method)">Data</a></span>
271
+ </span>
272
+
273
+
274
+
275
+
276
+
277
+
278
+
279
+
280
+
281
+
282
+
283
+
284
+ <span class="summary_desc"><div class='inline'>
285
+ <p>The last received errors.</p>
286
+ </div></span>
287
+
288
+ </li>
289
+
290
+
291
+ <li class="public ">
292
+ <span class="summary_signature">
293
+
294
+ <a href="#response-instance_method" title="#response (instance method)">- (Object) <strong>response</strong> </a>
295
+
296
+
297
+
298
+ </span>
299
+
300
+ <span class="note title not_defined_here">
301
+ inherited
302
+ from <span class='object_link'><a href="Data.html#response-instance_method" title="ZendeskAPI::Data#response (method)">Data</a></span>
303
+ </span>
304
+
305
+
306
+
307
+
308
+
309
+
310
+
311
+
312
+
313
+
314
+
315
+
316
+ <span class="summary_desc"><div class='inline'>
317
+ <p>Place to dump the last response.</p>
318
+ </div></span>
319
+
320
+ </li>
321
+
322
+
323
+ </ul>
324
+
325
+
135
326
 
136
327
 
137
328
 
@@ -1002,98 +1193,304 @@
1002
1193
 
1003
1194
 
1004
1195
 
1005
- <h3 class="inherited">Methods included from <span class='object_link'><a href="Read.html" title="ZendeskAPI::Read (module)">Read</a></span></h3>
1006
- <p class="inherited"><span class='object_link'><a href="Read.html#find-instance_method" title="ZendeskAPI::Read#find (method)">#find</a></span></p>
1007
-
1008
-
1009
-
1010
-
1011
-
1012
-
1013
-
1014
1196
 
1015
1197
 
1016
1198
 
1017
1199
 
1018
1200
 
1201
+ <div id="constructor_details" class="method_details_list">
1202
+ <h2>Constructor Details</h2>
1019
1203
 
1204
+ <div class="method_details first">
1205
+ <h3 class="signature first" id="initialize-instance_method">
1020
1206
 
1207
+ - (<tt><span class='object_link'><a href="" title="ZendeskAPI::User (class)">User</a></span></tt>) <strong>initialize</strong>
1021
1208
 
1022
- <h3 class="inherited">Methods included from <span class='object_link'><a href="Destroy.html" title="ZendeskAPI::Destroy (module)">Destroy</a></span></h3>
1023
- <p class="inherited"><span class='object_link'><a href="Destroy.html#destroy-instance_method" title="ZendeskAPI::Destroy#destroy (method)">#destroy</a></span>, <span class='object_link'><a href="Destroy.html#destroyed%3F-instance_method" title="ZendeskAPI::Destroy#destroyed? (method)">#destroyed?</a></span></p>
1024
1209
 
1025
1210
 
1211
+
1026
1212
 
1213
+ </h3><div class="docstring">
1214
+ <div class="discussion">
1215
+
1216
+ <p>A new instance of User</p>
1217
+
1218
+
1219
+ </div>
1220
+ </div>
1221
+ <div class="tags">
1027
1222
 
1223
+
1224
+ </div><table class="source_code">
1225
+ <tr>
1226
+ <td>
1227
+ <pre class="lines">
1228
+
1229
+
1230
+ 348
1231
+ 349
1232
+ 350
1233
+ 351
1234
+ 352
1235
+ 353</pre>
1236
+ </td>
1237
+ <td>
1238
+ <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 348</span>
1239
+
1240
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='op'>*</span><span class='rparen'>)</span>
1241
+ <span class='kw'>super</span>
1242
+
1243
+ <span class='comment'># Needed for proper Role sideloading
1244
+ </span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_role_id'>role_id</span> <span class='op'>=</span> <span class='id identifier rubyid_role'>role</span><span class='period'>.</span><span class='id identifier rubyid_name'>name</span> <span class='kw'>if</span> <span class='id identifier rubyid_key?'>key?</span><span class='lparen'>(</span><span class='symbol'>:role</span><span class='rparen'>)</span>
1245
+ <span class='kw'>end</span></pre>
1246
+ </td>
1247
+ </tr>
1248
+ </table>
1249
+ </div>
1028
1250
 
1251
+ </div>
1252
+ <div id="method_missing_details" class="method_details_list">
1253
+ <h2>Dynamic Method Handling</h2>
1254
+ <p class="notice super">
1255
+ This class handles dynamic methods through the <tt>method_missing</tt> method
1256
+
1257
+ 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>
1258
+
1259
+ </p>
1029
1260
 
1261
+ </div>
1262
+
1263
+ <div id="instance_attr_details" class="attr_details">
1264
+ <h2>Instance Attribute Details</h2>
1265
+
1266
+
1267
+ <span id="association=-instance_method"></span>
1268
+ <div class="method_details first">
1269
+ <h3 class="signature first" id="association-instance_method">
1030
1270
 
1271
+ - (<tt><span class='object_link'>ZendeskAPI::Association</span></tt>) <strong>association</strong>
1031
1272
 
1273
+
1032
1274
 
1033
-
1034
-
1035
-
1036
-
1037
-
1038
-
1039
- <h3 class="inherited">Methods included from <span class='object_link'><a href="Save.html" title="ZendeskAPI::Save (module)">Save</a></span></h3>
1040
- <p class="inherited"><span class='object_link'><a href="Save.html#clear_associations-instance_method" title="ZendeskAPI::Save#clear_associations (method)">#clear_associations</a></span>, <span class='object_link'><a href="Save.html#save-instance_method" title="ZendeskAPI::Save#save (method)">#save</a></span>, <span class='object_link'><a href="Save.html#save%21-instance_method" title="ZendeskAPI::Save#save! (method)">#save!</a></span>, <span class='object_link'><a href="Save.html#save_associations-instance_method" title="ZendeskAPI::Save#save_associations (method)">#save_associations</a></span></p>
1041
1275
 
1042
1276
 
1277
+ <span class="not_defined_here">
1278
+ Originally defined in class
1279
+ <span class='object_link'><a href="Data.html#association-instance_method" title="ZendeskAPI::Data#association (method)">Data</a></span>
1280
+ </span>
1043
1281
 
1282
+ </h3><div class="docstring">
1283
+ <div class="discussion">
1284
+
1285
+ <p>The association</p>
1286
+
1287
+
1288
+ </div>
1289
+ </div>
1290
+ <div class="tags">
1044
1291
 
1292
+ <p class="tag_title">Returns:</p>
1293
+ <ul class="return">
1045
1294
 
1295
+ <li>
1296
+
1297
+
1298
+ <span class='type'>(<tt><span class='object_link'>ZendeskAPI::Association</span></tt>)</span>
1299
+
1300
+
1301
+
1302
+ &mdash;
1303
+ <div class='inline'>
1304
+ <p>The association</p>
1305
+ </div>
1306
+
1307
+ </li>
1046
1308
 
1309
+ </ul>
1310
+
1311
+ </div>
1312
+ </div>
1313
+
1314
+
1315
+ <span id=""></span>
1316
+ <div class="method_details ">
1317
+ <h3 class="signature " id="attributes-instance_method">
1047
1318
 
1319
+ - (<tt>Hash</tt>) <strong>attributes</strong> <span class="extras">(readonly)</span>
1048
1320
 
1321
+
1049
1322
 
1323
+ <span class="aliases">Also known as:
1324
+ <span class="names"><span id='to_param-instance_method'>to_param</span></span>
1325
+ </span>
1050
1326
 
1327
+
1051
1328
 
1329
+ <span class="not_defined_here">
1330
+ Originally defined in class
1331
+ <span class='object_link'><a href="Data.html#attributes-instance_method" title="ZendeskAPI::Data#attributes (method)">Data</a></span>
1332
+ </span>
1052
1333
 
1334
+ </h3><div class="docstring">
1335
+ <div class="discussion">
1336
+
1337
+ <p>The resource's attributes</p>
1338
+
1339
+
1340
+ </div>
1341
+ </div>
1342
+ <div class="tags">
1053
1343
 
1344
+ <p class="tag_title">Returns:</p>
1345
+ <ul class="return">
1054
1346
 
1347
+ <li>
1348
+
1349
+
1350
+ <span class='type'>(<tt>Hash</tt>)</span>
1351
+
1352
+
1353
+
1354
+ &mdash;
1355
+ <div class='inline'>
1356
+ <p>The resource's attributes</p>
1357
+ </div>
1358
+
1359
+ </li>
1055
1360
 
1361
+ </ul>
1362
+
1363
+ </div>
1364
+ </div>
1365
+
1366
+
1367
+ <span id="error=-instance_method"></span>
1368
+ <div class="method_details ">
1369
+ <h3 class="signature " id="error-instance_method">
1056
1370
 
1371
+ - (<tt>Object</tt>) <strong>error</strong>
1057
1372
 
1373
+
1058
1374
 
1375
+
1059
1376
 
1377
+ <span class="not_defined_here">
1378
+ Originally defined in class
1379
+ <span class='object_link'><a href="DataResource.html#error-instance_method" title="ZendeskAPI::DataResource#error (method)">DataResource</a></span>
1380
+ </span>
1060
1381
 
1382
+ </h3><div class="docstring">
1383
+ <div class="discussion">
1384
+
1385
+ <p>Returns the value of attribute error</p>
1386
+
1387
+
1388
+ </div>
1389
+ </div>
1390
+ <div class="tags">
1061
1391
 
1062
- <h3 class="inherited">Methods included from <span class='object_link'><a href="Verbs.html" title="ZendeskAPI::Verbs (module)">Verbs</a></span></h3>
1063
- <p class="inherited"><span class='object_link'><a href="Verbs.html#delete-instance_method" title="ZendeskAPI::Verbs#delete (method)">#delete</a></span>, <span class='object_link'><a href="Verbs.html#post-instance_method" title="ZendeskAPI::Verbs#post (method)">#post</a></span>, <span class='object_link'><a href="Verbs.html#put-instance_method" title="ZendeskAPI::Verbs#put (method)">#put</a></span></p>
1064
1392
 
1393
+ </div>
1394
+ </div>
1395
+
1396
+
1397
+ <span id="error_message=-instance_method"></span>
1398
+ <div class="method_details ">
1399
+ <h3 class="signature " id="error_message-instance_method">
1065
1400
 
1401
+ - (<tt>Object</tt>) <strong>error_message</strong>
1066
1402
 
1403
+
1067
1404
 
1405
+
1068
1406
 
1407
+ <span class="not_defined_here">
1408
+ Originally defined in class
1409
+ <span class='object_link'><a href="DataResource.html#error_message-instance_method" title="ZendeskAPI::DataResource#error_message (method)">DataResource</a></span>
1410
+ </span>
1069
1411
 
1412
+ </h3><div class="docstring">
1413
+ <div class="discussion">
1414
+
1415
+ <p>Returns the value of attribute error_message</p>
1416
+
1417
+
1418
+ </div>
1419
+ </div>
1420
+ <div class="tags">
1070
1421
 
1422
+
1423
+ </div>
1424
+ </div>
1425
+
1426
+
1427
+ <span id="errors=-instance_method"></span>
1428
+ <div class="method_details ">
1429
+ <h3 class="signature " id="errors-instance_method">
1071
1430
 
1431
+ - (<tt>Array</tt>) <strong>errors</strong>
1072
1432
 
1073
- <h3 class="inherited">Methods inherited from <span class='object_link'><a href="Data.html" title="ZendeskAPI::Data (class)">Data</a></span></h3>
1074
- <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#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>
1075
1433
 
1076
1434
 
1435
+
1077
1436
 
1437
+ <span class="not_defined_here">
1438
+ Originally defined in class
1439
+ <span class='object_link'><a href="Data.html#errors-instance_method" title="ZendeskAPI::Data#errors (method)">Data</a></span>
1440
+ </span>
1078
1441
 
1442
+ </h3><div class="docstring">
1443
+ <div class="discussion">
1444
+
1445
+ <p>The last received errors</p>
1446
+
1447
+
1448
+ </div>
1449
+ </div>
1450
+ <div class="tags">
1079
1451
 
1452
+ <p class="tag_title">Returns:</p>
1453
+ <ul class="return">
1080
1454
 
1081
- <div id="constructor_details" class="method_details_list">
1082
- <h2>Constructor Details</h2>
1455
+ <li>
1456
+
1457
+
1458
+ <span class='type'>(<tt>Array</tt>)</span>
1459
+
1460
+
1461
+
1462
+ &mdash;
1463
+ <div class='inline'>
1464
+ <p>The last received errors</p>
1465
+ </div>
1466
+
1467
+ </li>
1083
1468
 
1084
- <div class="method_details first">
1085
- <h3 class="signature first" id="initialize-instance_method">
1469
+ </ul>
1470
+
1471
+ </div>
1472
+ </div>
1473
+
1474
+
1475
+ <span id="response=-instance_method"></span>
1476
+ <div class="method_details ">
1477
+ <h3 class="signature " id="response-instance_method">
1086
1478
 
1087
- - (<tt><span class='object_link'><a href="" title="ZendeskAPI::User (class)">User</a></span></tt>) <strong>initialize</strong>
1479
+ - (<tt>Object</tt>) <strong>response</strong>
1088
1480
 
1089
1481
 
1090
1482
 
1091
1483
 
1092
1484
 
1485
+ <span class="not_defined_here">
1486
+ Originally defined in class
1487
+ <span class='object_link'><a href="Data.html#response-instance_method" title="ZendeskAPI::Data#response (method)">Data</a></span>
1488
+ </span>
1489
+
1093
1490
  </h3><div class="docstring">
1094
1491
  <div class="discussion">
1095
1492
 
1096
- <p>A new instance of User</p>
1493
+ <p>Place to dump the last response</p>
1097
1494
 
1098
1495
 
1099
1496
  </div>
@@ -1101,44 +1498,10 @@
1101
1498
  <div class="tags">
1102
1499
 
1103
1500
 
1104
- </div><table class="source_code">
1105
- <tr>
1106
- <td>
1107
- <pre class="lines">
1108
-
1109
-
1110
- 331
1111
- 332
1112
- 333
1113
- 334
1114
- 335
1115
- 336</pre>
1116
- </td>
1117
- <td>
1118
- <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 331</span>
1119
-
1120
- <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='op'>*</span><span class='rparen'>)</span>
1121
- <span class='kw'>super</span>
1122
-
1123
- <span class='comment'># Needed for side-loading to work
1124
- </span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_role_id'>role_id</span> <span class='op'>=</span> <span class='id identifier rubyid_role'>role</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span> <span class='kw'>if</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_key?'>key?</span><span class='lparen'>(</span><span class='symbol'>:role</span><span class='rparen'>)</span>
1125
- <span class='kw'>end</span></pre>
1126
- </td>
1127
- </tr>
1128
- </table>
1129
1501
  </div>
1130
-
1131
1502
  </div>
1132
- <div id="method_missing_details" class="method_details_list">
1133
- <h2>Dynamic Method Handling</h2>
1134
- <p class="notice super">
1135
- This class handles dynamic methods through the <tt>method_missing</tt> method
1136
-
1137
- 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>
1138
1503
 
1139
- </p>
1140
-
1141
- </div>
1504
+ </div>
1142
1505
 
1143
1506
 
1144
1507
  <div id="instance_method_details" class="method_details_list">
@@ -1189,10 +1552,10 @@
1189
1552
  <pre class="lines">
1190
1553
 
1191
1554
 
1192
- 342</pre>
1555
+ 359</pre>
1193
1556
  </td>
1194
1557
  <td>
1195
- <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 342</span>
1558
+ <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 359</span>
1196
1559
 
1197
1560
  <span class='id identifier rubyid_has'>has</span> <span class='const'>Ability</span><span class='comma'>,</span> <span class='symbol'>:inline</span> <span class='op'>=&gt;</span> <span class='kw'>true</span></pre>
1198
1561
  </td>
@@ -1264,10 +1627,10 @@
1264
1627
  <pre class="lines">
1265
1628
 
1266
1629
 
1267
- 342</pre>
1630
+ 359</pre>
1268
1631
  </td>
1269
1632
  <td>
1270
- <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 342</span>
1633
+ <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 359</span>
1271
1634
 
1272
1635
  <span class='id identifier rubyid_has'>has</span> <span class='const'>Ability</span><span class='comma'>,</span> <span class='symbol'>:inline</span> <span class='op'>=&gt;</span> <span class='kw'>true</span></pre>
1273
1636
  </td>
@@ -1341,10 +1704,10 @@
1341
1704
  <pre class="lines">
1342
1705
 
1343
1706
 
1344
- 348</pre>
1707
+ 365</pre>
1345
1708
  </td>
1346
1709
  <td>
1347
- <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 348</span>
1710
+ <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 365</span>
1348
1711
 
1349
1712
  <span class='id identifier rubyid_has_many'>has_many</span> <span class='symbol'>:ccd_tickets</span><span class='comma'>,</span> <span class='symbol'>:class</span> <span class='op'>=&gt;</span> <span class='const'>Ticket</span><span class='comma'>,</span> <span class='symbol'>:path</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>tickets/ccd</span><span class='tstring_end'>'</span></span></pre>
1350
1713
  </td>
@@ -1416,10 +1779,10 @@
1416
1779
  <pre class="lines">
1417
1780
 
1418
1781
 
1419
- 348</pre>
1782
+ 365</pre>
1420
1783
  </td>
1421
1784
  <td>
1422
- <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 348</span>
1785
+ <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 365</span>
1423
1786
 
1424
1787
  <span class='id identifier rubyid_has_many'>has_many</span> <span class='symbol'>:ccd_tickets</span><span class='comma'>,</span> <span class='symbol'>:class</span> <span class='op'>=&gt;</span> <span class='const'>Ticket</span><span class='comma'>,</span> <span class='symbol'>:path</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>tickets/ccd</span><span class='tstring_end'>'</span></span></pre>
1425
1788
  </td>
@@ -1471,10 +1834,10 @@
1471
1834
  <pre class="lines">
1472
1835
 
1473
1836
 
1474
- 359</pre>
1837
+ 376</pre>
1475
1838
  </td>
1476
1839
  <td>
1477
- <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 359</span>
1840
+ <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 376</span>
1478
1841
 
1479
1842
  <span class='id identifier rubyid_has'>has</span> <span class='const'>CRMData</span></pre>
1480
1843
  </td>
@@ -1546,10 +1909,10 @@
1546
1909
  <pre class="lines">
1547
1910
 
1548
1911
 
1549
- 359</pre>
1912
+ 376</pre>
1550
1913
  </td>
1551
1914
  <td>
1552
- <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 359</span>
1915
+ <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 376</span>
1553
1916
 
1554
1917
  <span class='id identifier rubyid_has'>has</span> <span class='const'>CRMData</span></pre>
1555
1918
  </td>
@@ -1601,10 +1964,10 @@
1601
1964
  <pre class="lines">
1602
1965
 
1603
1966
 
1604
- 360</pre>
1967
+ 377</pre>
1605
1968
  </td>
1606
1969
  <td>
1607
- <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 360</span>
1970
+ <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 377</span>
1608
1971
 
1609
1972
  <span class='id identifier rubyid_has'>has</span> <span class='const'>CRMDataStatus</span><span class='comma'>,</span> <span class='symbol'>:path</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>crm_data/status</span><span class='tstring_end'>'</span></span></pre>
1610
1973
  </td>
@@ -1676,10 +2039,10 @@
1676
2039
  <pre class="lines">
1677
2040
 
1678
2041
 
1679
- 360</pre>
2042
+ 377</pre>
1680
2043
  </td>
1681
2044
  <td>
1682
- <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 360</span>
2045
+ <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 377</span>
1683
2046
 
1684
2047
  <span class='id identifier rubyid_has'>has</span> <span class='const'>CRMDataStatus</span><span class='comma'>,</span> <span class='symbol'>:path</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>crm_data/status</span><span class='tstring_end'>'</span></span></pre>
1685
2048
  </td>
@@ -1731,12 +2094,12 @@
1731
2094
  <pre class="lines">
1732
2095
 
1733
2096
 
1734
- 340</pre>
2097
+ 357</pre>
1735
2098
  </td>
1736
2099
  <td>
1737
- <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 340</span>
2100
+ <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 357</span>
1738
2101
 
1739
- <span class='id identifier rubyid_has'>has</span> <span class='const'>CustomRole</span><span class='comma'>,</span> <span class='symbol'>:include</span> <span class='op'>=&gt;</span> <span class='symbol'>:roles</span></pre>
2102
+ <span class='id identifier rubyid_has'>has</span> <span class='const'>CustomRole</span><span class='comma'>,</span> <span class='symbol'>:inline</span> <span class='op'>=&gt;</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='symbol'>:include</span> <span class='op'>=&gt;</span> <span class='symbol'>:roles</span></pre>
1740
2103
  </td>
1741
2104
  </tr>
1742
2105
  </table>
@@ -1806,12 +2169,12 @@
1806
2169
  <pre class="lines">
1807
2170
 
1808
2171
 
1809
- 340</pre>
2172
+ 357</pre>
1810
2173
  </td>
1811
2174
  <td>
1812
- <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 340</span>
2175
+ <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 357</span>
1813
2176
 
1814
- <span class='id identifier rubyid_has'>has</span> <span class='const'>CustomRole</span><span class='comma'>,</span> <span class='symbol'>:include</span> <span class='op'>=&gt;</span> <span class='symbol'>:roles</span></pre>
2177
+ <span class='id identifier rubyid_has'>has</span> <span class='const'>CustomRole</span><span class='comma'>,</span> <span class='symbol'>:inline</span> <span class='op'>=&gt;</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='symbol'>:include</span> <span class='op'>=&gt;</span> <span class='symbol'>:roles</span></pre>
1815
2178
  </td>
1816
2179
  </tr>
1817
2180
  </table>
@@ -1883,10 +2246,10 @@
1883
2246
  <pre class="lines">
1884
2247
 
1885
2248
 
1886
- 354</pre>
2249
+ 371</pre>
1887
2250
  </td>
1888
2251
  <td>
1889
- <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 354</span>
2252
+ <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 371</span>
1890
2253
 
1891
2254
  <span class='id identifier rubyid_has_many'>has_many</span> <span class='const'>ForumSubscription</span></pre>
1892
2255
  </td>
@@ -1958,10 +2321,10 @@
1958
2321
  <pre class="lines">
1959
2322
 
1960
2323
 
1961
- 354</pre>
2324
+ 371</pre>
1962
2325
  </td>
1963
2326
  <td>
1964
- <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 354</span>
2327
+ <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 371</span>
1965
2328
 
1966
2329
  <span class='id identifier rubyid_has_many'>has_many</span> <span class='const'>ForumSubscription</span></pre>
1967
2330
  </td>
@@ -2035,10 +2398,10 @@
2035
2398
  <pre class="lines">
2036
2399
 
2037
2400
 
2038
- 351</pre>
2401
+ 368</pre>
2039
2402
  </td>
2040
2403
  <td>
2041
- <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 351</span>
2404
+ <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 368</span>
2042
2405
 
2043
2406
  <span class='id identifier rubyid_has_many'>has_many</span> <span class='const'>GroupMembership</span></pre>
2044
2407
  </td>
@@ -2110,10 +2473,10 @@
2110
2473
  <pre class="lines">
2111
2474
 
2112
2475
 
2113
- 351</pre>
2476
+ 368</pre>
2114
2477
  </td>
2115
2478
  <td>
2116
- <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 351</span>
2479
+ <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 368</span>
2117
2480
 
2118
2481
  <span class='id identifier rubyid_has_many'>has_many</span> <span class='const'>GroupMembership</span></pre>
2119
2482
  </td>
@@ -2187,10 +2550,10 @@
2187
2550
  <pre class="lines">
2188
2551
 
2189
2552
 
2190
- 350</pre>
2553
+ 367</pre>
2191
2554
  </td>
2192
2555
  <td>
2193
- <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 350</span>
2556
+ <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 367</span>
2194
2557
 
2195
2558
  <span class='id identifier rubyid_has_many'>has_many</span> <span class='const'>Group</span></pre>
2196
2559
  </td>
@@ -2262,10 +2625,10 @@
2262
2625
  <pre class="lines">
2263
2626
 
2264
2627
 
2265
- 350</pre>
2628
+ 367</pre>
2266
2629
  </td>
2267
2630
  <td>
2268
- <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 350</span>
2631
+ <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 367</span>
2269
2632
 
2270
2633
  <span class='id identifier rubyid_has_many'>has_many</span> <span class='const'>Group</span></pre>
2271
2634
  </td>
@@ -2339,10 +2702,10 @@
2339
2702
  <pre class="lines">
2340
2703
 
2341
2704
 
2342
- 344</pre>
2705
+ 361</pre>
2343
2706
  </td>
2344
2707
  <td>
2345
- <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 344</span>
2708
+ <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 361</span>
2346
2709
 
2347
2710
  <span class='id identifier rubyid_has_many'>has_many</span> <span class='const'>Identity</span></pre>
2348
2711
  </td>
@@ -2414,10 +2777,10 @@
2414
2777
  <pre class="lines">
2415
2778
 
2416
2779
 
2417
- 344</pre>
2780
+ 361</pre>
2418
2781
  </td>
2419
2782
  <td>
2420
- <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 344</span>
2783
+ <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 361</span>
2421
2784
 
2422
2785
  <span class='id identifier rubyid_has_many'>has_many</span> <span class='const'>Identity</span></pre>
2423
2786
  </td>
@@ -2469,10 +2832,10 @@
2469
2832
  <pre class="lines">
2470
2833
 
2471
2834
 
2472
- 338</pre>
2835
+ 355</pre>
2473
2836
  </td>
2474
2837
  <td>
2475
- <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 338</span>
2838
+ <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 355</span>
2476
2839
 
2477
2840
  <span class='id identifier rubyid_has'>has</span> <span class='const'>Organization</span></pre>
2478
2841
  </td>
@@ -2544,10 +2907,10 @@
2544
2907
  <pre class="lines">
2545
2908
 
2546
2909
 
2547
- 338</pre>
2910
+ 355</pre>
2548
2911
  </td>
2549
2912
  <td>
2550
- <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 338</span>
2913
+ <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 355</span>
2551
2914
 
2552
2915
  <span class='id identifier rubyid_has'>has</span> <span class='const'>Organization</span></pre>
2553
2916
  </td>
@@ -2621,10 +2984,10 @@
2621
2984
  <pre class="lines">
2622
2985
 
2623
2986
 
2624
- 347</pre>
2987
+ 364</pre>
2625
2988
  </td>
2626
2989
  <td>
2627
- <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 347</span>
2990
+ <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 364</span>
2628
2991
 
2629
2992
  <span class='id identifier rubyid_has_many'>has_many</span> <span class='symbol'>:requested_tickets</span><span class='comma'>,</span> <span class='symbol'>:class</span> <span class='op'>=&gt;</span> <span class='const'>Ticket</span><span class='comma'>,</span> <span class='symbol'>:path</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>tickets/requested</span><span class='tstring_end'>'</span></span></pre>
2630
2993
  </td>
@@ -2696,10 +3059,10 @@
2696
3059
  <pre class="lines">
2697
3060
 
2698
3061
 
2699
- 347</pre>
3062
+ 364</pre>
2700
3063
  </td>
2701
3064
  <td>
2702
- <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 347</span>
3065
+ <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 364</span>
2703
3066
 
2704
3067
  <span class='id identifier rubyid_has_many'>has_many</span> <span class='symbol'>:requested_tickets</span><span class='comma'>,</span> <span class='symbol'>:class</span> <span class='op'>=&gt;</span> <span class='const'>Ticket</span><span class='comma'>,</span> <span class='symbol'>:path</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>tickets/requested</span><span class='tstring_end'>'</span></span></pre>
2705
3068
  </td>
@@ -2773,10 +3136,10 @@
2773
3136
  <pre class="lines">
2774
3137
 
2775
3138
 
2776
- 346</pre>
3139
+ 363</pre>
2777
3140
  </td>
2778
3141
  <td>
2779
- <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 346</span>
3142
+ <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 363</span>
2780
3143
 
2781
3144
  <span class='id identifier rubyid_has_many'>has_many</span> <span class='const'>Request</span></pre>
2782
3145
  </td>
@@ -2848,10 +3211,10 @@
2848
3211
  <pre class="lines">
2849
3212
 
2850
3213
 
2851
- 346</pre>
3214
+ 363</pre>
2852
3215
  </td>
2853
3216
  <td>
2854
- <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 346</span>
3217
+ <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 363</span>
2855
3218
 
2856
3219
  <span class='id identifier rubyid_has_many'>has_many</span> <span class='const'>Request</span></pre>
2857
3220
  </td>
@@ -2903,10 +3266,10 @@
2903
3266
  <pre class="lines">
2904
3267
 
2905
3268
 
2906
- 341</pre>
3269
+ 358</pre>
2907
3270
  </td>
2908
3271
  <td>
2909
- <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 341</span>
3272
+ <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 358</span>
2910
3273
 
2911
3274
  <span class='id identifier rubyid_has'>has</span> <span class='const'>Role</span><span class='comma'>,</span> <span class='symbol'>:inline</span> <span class='op'>=&gt;</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='symbol'>:include_key</span> <span class='op'>=&gt;</span> <span class='symbol'>:name</span></pre>
2912
3275
  </td>
@@ -2978,10 +3341,10 @@
2978
3341
  <pre class="lines">
2979
3342
 
2980
3343
 
2981
- 341</pre>
3344
+ 358</pre>
2982
3345
  </td>
2983
3346
  <td>
2984
- <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 341</span>
3347
+ <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 358</span>
2985
3348
 
2986
3349
  <span class='id identifier rubyid_has'>has</span> <span class='const'>Role</span><span class='comma'>,</span> <span class='symbol'>:inline</span> <span class='op'>=&gt;</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='symbol'>:include_key</span> <span class='op'>=&gt;</span> <span class='symbol'>:name</span></pre>
2987
3350
  </td>
@@ -3055,10 +3418,10 @@
3055
3418
  <pre class="lines">
3056
3419
 
3057
3420
 
3058
- 356</pre>
3421
+ 373</pre>
3059
3422
  </td>
3060
3423
  <td>
3061
- <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 356</span>
3424
+ <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 373</span>
3062
3425
 
3063
3426
  <span class='id identifier rubyid_has_many'>has_many</span> <span class='symbol'>:topic_comments</span><span class='comma'>,</span> <span class='symbol'>:class</span> <span class='op'>=&gt;</span> <span class='const'>TopicComment</span></pre>
3064
3427
  </td>
@@ -3130,10 +3493,10 @@
3130
3493
  <pre class="lines">
3131
3494
 
3132
3495
 
3133
- 356</pre>
3496
+ 373</pre>
3134
3497
  </td>
3135
3498
  <td>
3136
- <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 356</span>
3499
+ <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 373</span>
3137
3500
 
3138
3501
  <span class='id identifier rubyid_has_many'>has_many</span> <span class='symbol'>:topic_comments</span><span class='comma'>,</span> <span class='symbol'>:class</span> <span class='op'>=&gt;</span> <span class='const'>TopicComment</span></pre>
3139
3502
  </td>
@@ -3207,10 +3570,10 @@
3207
3570
  <pre class="lines">
3208
3571
 
3209
3572
 
3210
- 355</pre>
3573
+ 372</pre>
3211
3574
  </td>
3212
3575
  <td>
3213
- <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 355</span>
3576
+ <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 372</span>
3214
3577
 
3215
3578
  <span class='id identifier rubyid_has_many'>has_many</span> <span class='const'>TopicSubscription</span></pre>
3216
3579
  </td>
@@ -3282,10 +3645,10 @@
3282
3645
  <pre class="lines">
3283
3646
 
3284
3647
 
3285
- 355</pre>
3648
+ 372</pre>
3286
3649
  </td>
3287
3650
  <td>
3288
- <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 355</span>
3651
+ <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 372</span>
3289
3652
 
3290
3653
  <span class='id identifier rubyid_has_many'>has_many</span> <span class='const'>TopicSubscription</span></pre>
3291
3654
  </td>
@@ -3359,10 +3722,10 @@
3359
3722
  <pre class="lines">
3360
3723
 
3361
3724
 
3362
- 357</pre>
3725
+ 374</pre>
3363
3726
  </td>
3364
3727
  <td>
3365
- <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 357</span>
3728
+ <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 374</span>
3366
3729
 
3367
3730
  <span class='id identifier rubyid_has_many'>has_many</span> <span class='symbol'>:topic_votes</span><span class='comma'>,</span> <span class='symbol'>:class</span> <span class='op'>=&gt;</span> <span class='const'>Topic</span><span class='op'>::</span><span class='const'>TopicVote</span></pre>
3368
3731
  </td>
@@ -3434,10 +3797,10 @@
3434
3797
  <pre class="lines">
3435
3798
 
3436
3799
 
3437
- 357</pre>
3800
+ 374</pre>
3438
3801
  </td>
3439
3802
  <td>
3440
- <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 357</span>
3803
+ <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 374</span>
3441
3804
 
3442
3805
  <span class='id identifier rubyid_has_many'>has_many</span> <span class='symbol'>:topic_votes</span><span class='comma'>,</span> <span class='symbol'>:class</span> <span class='op'>=&gt;</span> <span class='const'>Topic</span><span class='op'>::</span><span class='const'>TopicVote</span></pre>
3443
3806
  </td>
@@ -3511,10 +3874,10 @@
3511
3874
  <pre class="lines">
3512
3875
 
3513
3876
 
3514
- 352</pre>
3877
+ 369</pre>
3515
3878
  </td>
3516
3879
  <td>
3517
- <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 352</span>
3880
+ <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 369</span>
3518
3881
 
3519
3882
  <span class='id identifier rubyid_has_many'>has_many</span> <span class='const'>Topic</span></pre>
3520
3883
  </td>
@@ -3586,10 +3949,10 @@
3586
3949
  <pre class="lines">
3587
3950
 
3588
3951
 
3589
- 352</pre>
3952
+ 369</pre>
3590
3953
  </td>
3591
3954
  <td>
3592
- <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 352</span>
3955
+ <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 369</span>
3593
3956
 
3594
3957
  <span class='id identifier rubyid_has_many'>has_many</span> <span class='const'>Topic</span></pre>
3595
3958
  </td>
@@ -3602,9 +3965,9 @@
3602
3965
  </div>
3603
3966
 
3604
3967
  <div id="footer">
3605
- Generated on Mon Feb 11 17:45:38 2013 by
3968
+ Generated on Wed May 15 18:59:30 2013 by
3606
3969
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
3607
- 0.8.4.1 (ruby-1.9.3).
3970
+ 0.8.5.2 (ruby-1.9.3).
3608
3971
  </div>
3609
3972
 
3610
3973
  </body>