zendesk_api 0.2.6 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -1
- data/Gemfile +7 -0
- data/Gemfile.lock +10 -2
- data/LICENSE +176 -19
- data/Readme.md +13 -5
- data/config/newrelic.yml +255 -0
- data/lib/zendesk_api/association.rb +1 -1
- data/lib/zendesk_api/associations.rb +129 -100
- data/lib/zendesk_api/client.rb +44 -25
- data/lib/zendesk_api/collection.rb +83 -58
- data/lib/zendesk_api/console/extensions.rb +47 -28
- data/lib/zendesk_api/server/base.rb +4 -0
- data/lib/zendesk_api/server/docs/account_settings.md +8 -0
- data/lib/zendesk_api/server/docs/automations.md +6 -0
- data/lib/zendesk_api/server/docs/changes_roadmap.md +76 -1
- data/lib/zendesk_api/server/docs/forum_subscriptions.md +2 -2
- data/lib/zendesk_api/server/docs/introduction.md +4 -2
- data/lib/zendesk_api/server/docs/macros.md +2 -0
- data/lib/zendesk_api/server/docs/organizations.md +3 -4
- data/lib/zendesk_api/server/docs/requests.md +21 -7
- data/lib/zendesk_api/server/docs/tickets.md +64 -8
- data/lib/zendesk_api/server/docs/topic_subscriptions.md +3 -3
- data/lib/zendesk_api/server/docs/topic_votes.md +0 -1
- data/lib/zendesk_api/server/docs/triggers.md +7 -0
- data/lib/zendesk_api/server/docs/users.md +4 -4
- data/lib/zendesk_api/server/docs/views.md +57 -8
- data/lib/zendesk_api/server/public/doc/ZendeskAPI.html +131 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Ability.html +190 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Activity.html +616 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Attachment.html +362 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Automation.html +438 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Bookmark.html +243 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/CRMData.html +190 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/CRMDataStatus.html +190 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Category.html +462 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Client.html +1490 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Collection.html +2825 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Configuration.html +1212 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Console.html +860 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Console/Eval.html +190 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Create.html +134 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Create/ClassMethods.html +322 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/CreateResource.html +222 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/CustomRole.html +190 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Data.html +1432 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/DataResource.html +348 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/DeleteResource.html +216 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Destroy.html +307 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Destroy/ClassMethod.html +245 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/FormatError.html +123 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Forum.html +1196 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/ForumSubscription.html +616 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Group.html +243 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/GroupMembership.html +616 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/JobStatus.html +209 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Locale.html +209 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Macro.html +438 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/MobileDevice.html +361 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Organization.html +1016 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Read.html +278 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/ReadResource.html +220 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Request.html +826 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Request/Comment.html +604 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Resource.html +258 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Role.html +190 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/RuleExecution.html +383 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/SatisfactionRating.html +938 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Save.html +510 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Search.html +403 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Search/Result.html +166 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Server.html +131 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Server/App.html +523 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Server/Helper.html +684 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Server/HtmlRenderer.html +303 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Server/HtmlRenderer/RedcarpetRenderer.html +508 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Server/UserRequest.html +125 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Server/ZlibJSON.html +244 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Setting.html +350 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/SharingAgreement.html +209 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/SingularResource.html +247 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/SuspendedTicket.html +342 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Ticket.html +2731 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Ticket/Audit.html +385 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Ticket/Comment.html +636 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Ticket/Tag.html +243 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/TicketField.html +243 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/TicketMetric.html +205 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Topic.html +1086 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Topic/TopicComment.html +232 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Topic/TopicVote.html +624 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/TopicComment.html +743 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/TopicSubscription.html +616 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Trigger.html +438 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Update.html +140 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Update/ClassMethod.html +237 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/UpdateResource.html +222 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Upload.html +404 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/User.html +3611 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/User/Identity.html +563 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/User/TopicComment.html +194 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Verbs.html +338 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/View.html +1283 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/ViewCount.html +190 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/ViewRow.html +1342 -0
- data/lib/zendesk_api/server/public/doc/_index.html +799 -0
- data/lib/zendesk_api/server/public/doc/class_list.html +53 -0
- data/lib/zendesk_api/server/public/doc/css/common.css +1 -0
- data/lib/zendesk_api/server/public/doc/css/full_list.css +57 -0
- data/lib/zendesk_api/server/public/doc/css/style.css +328 -0
- data/lib/zendesk_api/server/public/doc/file.Readme.html +377 -0
- data/lib/zendesk_api/server/public/doc/file_list.html +55 -0
- data/lib/zendesk_api/server/public/doc/frames.html +28 -0
- data/lib/zendesk_api/server/public/doc/index.html +377 -0
- data/lib/zendesk_api/server/public/doc/js/app.js +214 -0
- data/lib/zendesk_api/server/public/doc/js/full_list.js +173 -0
- data/lib/zendesk_api/server/public/doc/js/jquery.js +4 -0
- data/lib/zendesk_api/server/public/doc/method_list.html +2540 -0
- data/lib/zendesk_api/server/public/doc/top-level-namespace.html +144 -0
- data/lib/zendesk_api/version.rb +1 -1
- data/zendesk_api.gemspec +1 -1
- metadata +96 -3
@@ -0,0 +1,1283 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
+
<head>
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
|
+
<title>
|
7
|
+
Class: ZendeskAPI::View
|
8
|
+
|
9
|
+
— Documentation by YARD 0.8.4.1
|
10
|
+
|
11
|
+
</title>
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
|
14
|
+
|
15
|
+
<link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
|
16
|
+
|
17
|
+
<script type="text/javascript" charset="utf-8">
|
18
|
+
hasFrames = window.top.frames.main ? true : false;
|
19
|
+
relpath = '../';
|
20
|
+
framesUrl = "../frames.html#!" + escape(window.location.href);
|
21
|
+
</script>
|
22
|
+
|
23
|
+
|
24
|
+
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
|
25
|
+
|
26
|
+
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
|
27
|
+
|
28
|
+
|
29
|
+
</head>
|
30
|
+
<body>
|
31
|
+
<div id="header">
|
32
|
+
<div id="menu">
|
33
|
+
|
34
|
+
<a href="../_index.html">Index (V)</a> »
|
35
|
+
<span class='title'><span class='object_link'><a href="../ZendeskAPI.html" title="ZendeskAPI (module)">ZendeskAPI</a></span></span>
|
36
|
+
»
|
37
|
+
<span class="title">View</span>
|
38
|
+
|
39
|
+
|
40
|
+
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
41
|
+
</div>
|
42
|
+
|
43
|
+
<div id="search">
|
44
|
+
|
45
|
+
<a class="full_list_link" id="class_list_link"
|
46
|
+
href="../class_list.html">
|
47
|
+
Class List
|
48
|
+
</a>
|
49
|
+
|
50
|
+
<a class="full_list_link" id="method_list_link"
|
51
|
+
href="../method_list.html">
|
52
|
+
Method List
|
53
|
+
</a>
|
54
|
+
|
55
|
+
<a class="full_list_link" id="file_list_link"
|
56
|
+
href="../file_list.html">
|
57
|
+
File List
|
58
|
+
</a>
|
59
|
+
|
60
|
+
</div>
|
61
|
+
<div class="clear"></div>
|
62
|
+
</div>
|
63
|
+
|
64
|
+
<iframe id="search_frame"></iframe>
|
65
|
+
|
66
|
+
<div id="content"><h1>Class: ZendeskAPI::View
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
</h1>
|
71
|
+
|
72
|
+
<dl class="box">
|
73
|
+
|
74
|
+
<dt class="r1">Inherits:</dt>
|
75
|
+
<dd class="r1">
|
76
|
+
<span class="inheritName"><span class='object_link'><a href="Resource.html" title="ZendeskAPI::Resource (class)">Resource</a></span></span>
|
77
|
+
|
78
|
+
<ul class="fullTree">
|
79
|
+
<li>Object</li>
|
80
|
+
|
81
|
+
<li class="next"><span class='object_link'><a href="Data.html" title="ZendeskAPI::Data (class)">Data</a></span></li>
|
82
|
+
|
83
|
+
<li class="next"><span class='object_link'><a href="DataResource.html" title="ZendeskAPI::DataResource (class)">DataResource</a></span></li>
|
84
|
+
|
85
|
+
<li class="next"><span class='object_link'><a href="Resource.html" title="ZendeskAPI::Resource (class)">Resource</a></span></li>
|
86
|
+
|
87
|
+
<li class="next">ZendeskAPI::View</li>
|
88
|
+
|
89
|
+
</ul>
|
90
|
+
<a href="#" class="inheritanceTree">show all</a>
|
91
|
+
|
92
|
+
</dd>
|
93
|
+
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
|
100
|
+
|
101
|
+
|
102
|
+
<dt class="r2 last">Defined in:</dt>
|
103
|
+
<dd class="r2 last">lib/zendesk_api/resources.rb</dd>
|
104
|
+
|
105
|
+
</dl>
|
106
|
+
<div class="clear"></div>
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
|
112
|
+
|
113
|
+
|
114
|
+
<h2>Instance Attribute Summary</h2>
|
115
|
+
|
116
|
+
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="DataResource.html" title="ZendeskAPI::DataResource (class)">DataResource</a></span></h3>
|
117
|
+
<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>
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Data.html" title="ZendeskAPI::Data (class)">Data</a></span></h3>
|
122
|
+
<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>
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
<h2>
|
127
|
+
Class Method Summary
|
128
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
129
|
+
</h2>
|
130
|
+
|
131
|
+
<ul class="summary">
|
132
|
+
|
133
|
+
<li class="public ">
|
134
|
+
<span class="summary_signature">
|
135
|
+
|
136
|
+
<a href="#preview-class_method" title="preview (class method)">+ (Object) <strong>preview</strong>(client, options = {}) </a>
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
</span>
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
|
150
|
+
<span class="summary_desc"><div class='inline'></div></span>
|
151
|
+
|
152
|
+
</li>
|
153
|
+
|
154
|
+
|
155
|
+
</ul>
|
156
|
+
|
157
|
+
<h2>
|
158
|
+
Instance Method Summary
|
159
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
160
|
+
</h2>
|
161
|
+
|
162
|
+
<ul class="summary">
|
163
|
+
|
164
|
+
<li class="public ">
|
165
|
+
<span class="summary_signature">
|
166
|
+
|
167
|
+
<a href="#execution-instance_method" title="#execution (instance method)">- (ZendeskAPI::RuleExecution) <strong>execution</strong> </a>
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
</span>
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
<span class="summary_desc"><div class='inline'>
|
182
|
+
<p>The associated object.</p>
|
183
|
+
</div></span>
|
184
|
+
|
185
|
+
</li>
|
186
|
+
|
187
|
+
|
188
|
+
<li class="public ">
|
189
|
+
<span class="summary_signature">
|
190
|
+
|
191
|
+
<a href="#execution%3D-instance_method" title="#execution= (instance method)">- (ZendeskAPI::RuleExecution) <strong>execution=</strong>(value) </a>
|
192
|
+
|
193
|
+
|
194
|
+
|
195
|
+
</span>
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
|
204
|
+
|
205
|
+
<span class="summary_desc"><div class='inline'>
|
206
|
+
<p>The associated object.</p>
|
207
|
+
</div></span>
|
208
|
+
|
209
|
+
</li>
|
210
|
+
|
211
|
+
|
212
|
+
<li class="public ">
|
213
|
+
<span class="summary_signature">
|
214
|
+
|
215
|
+
<a href="#feed-instance_method" title="#feed (instance method)">- (ZendeskAPI::Ticket) <strong>feed</strong>(options = {}) </a>
|
216
|
+
|
217
|
+
|
218
|
+
|
219
|
+
</span>
|
220
|
+
|
221
|
+
|
222
|
+
|
223
|
+
|
224
|
+
|
225
|
+
|
226
|
+
|
227
|
+
|
228
|
+
|
229
|
+
<span class="summary_desc"><div class='inline'>
|
230
|
+
<p>The associated object.</p>
|
231
|
+
</div></span>
|
232
|
+
|
233
|
+
</li>
|
234
|
+
|
235
|
+
|
236
|
+
<li class="public ">
|
237
|
+
<span class="summary_signature">
|
238
|
+
|
239
|
+
<a href="#feed%3D-instance_method" title="#feed= (instance method)">- (ZendeskAPI::Ticket) <strong>feed=</strong>(value) </a>
|
240
|
+
|
241
|
+
|
242
|
+
|
243
|
+
</span>
|
244
|
+
|
245
|
+
|
246
|
+
|
247
|
+
|
248
|
+
|
249
|
+
|
250
|
+
|
251
|
+
|
252
|
+
|
253
|
+
<span class="summary_desc"><div class='inline'>
|
254
|
+
<p>The associated object.</p>
|
255
|
+
</div></span>
|
256
|
+
|
257
|
+
</li>
|
258
|
+
|
259
|
+
|
260
|
+
<li class="public ">
|
261
|
+
<span class="summary_signature">
|
262
|
+
|
263
|
+
<a href="#rows-instance_method" title="#rows (instance method)">- (ZendeskAPI::ViewRow) <strong>rows</strong>(options = {}) </a>
|
264
|
+
|
265
|
+
|
266
|
+
|
267
|
+
</span>
|
268
|
+
|
269
|
+
|
270
|
+
|
271
|
+
|
272
|
+
|
273
|
+
|
274
|
+
|
275
|
+
|
276
|
+
|
277
|
+
<span class="summary_desc"><div class='inline'>
|
278
|
+
<p>The associated object.</p>
|
279
|
+
</div></span>
|
280
|
+
|
281
|
+
</li>
|
282
|
+
|
283
|
+
|
284
|
+
<li class="public ">
|
285
|
+
<span class="summary_signature">
|
286
|
+
|
287
|
+
<a href="#rows%3D-instance_method" title="#rows= (instance method)">- (ZendeskAPI::ViewRow) <strong>rows=</strong>(value) </a>
|
288
|
+
|
289
|
+
|
290
|
+
|
291
|
+
</span>
|
292
|
+
|
293
|
+
|
294
|
+
|
295
|
+
|
296
|
+
|
297
|
+
|
298
|
+
|
299
|
+
|
300
|
+
|
301
|
+
<span class="summary_desc"><div class='inline'>
|
302
|
+
<p>The associated object.</p>
|
303
|
+
</div></span>
|
304
|
+
|
305
|
+
</li>
|
306
|
+
|
307
|
+
|
308
|
+
<li class="public ">
|
309
|
+
<span class="summary_signature">
|
310
|
+
|
311
|
+
<a href="#tickets-instance_method" title="#tickets (instance method)">- (ZendeskAPI::Ticket) <strong>tickets</strong>(options = {}) </a>
|
312
|
+
|
313
|
+
|
314
|
+
|
315
|
+
</span>
|
316
|
+
|
317
|
+
|
318
|
+
|
319
|
+
|
320
|
+
|
321
|
+
|
322
|
+
|
323
|
+
|
324
|
+
|
325
|
+
<span class="summary_desc"><div class='inline'>
|
326
|
+
<p>The associated object.</p>
|
327
|
+
</div></span>
|
328
|
+
|
329
|
+
</li>
|
330
|
+
|
331
|
+
|
332
|
+
<li class="public ">
|
333
|
+
<span class="summary_signature">
|
334
|
+
|
335
|
+
<a href="#tickets%3D-instance_method" title="#tickets= (instance method)">- (ZendeskAPI::Ticket) <strong>tickets=</strong>(value) </a>
|
336
|
+
|
337
|
+
|
338
|
+
|
339
|
+
</span>
|
340
|
+
|
341
|
+
|
342
|
+
|
343
|
+
|
344
|
+
|
345
|
+
|
346
|
+
|
347
|
+
|
348
|
+
|
349
|
+
<span class="summary_desc"><div class='inline'>
|
350
|
+
<p>The associated object.</p>
|
351
|
+
</div></span>
|
352
|
+
|
353
|
+
</li>
|
354
|
+
|
355
|
+
|
356
|
+
<li class="public ">
|
357
|
+
<span class="summary_signature">
|
358
|
+
|
359
|
+
<a href="#view_count-instance_method" title="#view_count (instance method)">- (ZendeskAPI::ViewCount) <strong>view_count</strong> </a>
|
360
|
+
|
361
|
+
|
362
|
+
|
363
|
+
</span>
|
364
|
+
|
365
|
+
|
366
|
+
|
367
|
+
|
368
|
+
|
369
|
+
|
370
|
+
|
371
|
+
|
372
|
+
|
373
|
+
<span class="summary_desc"><div class='inline'>
|
374
|
+
<p>The associated object.</p>
|
375
|
+
</div></span>
|
376
|
+
|
377
|
+
</li>
|
378
|
+
|
379
|
+
|
380
|
+
<li class="public ">
|
381
|
+
<span class="summary_signature">
|
382
|
+
|
383
|
+
<a href="#view_count%3D-instance_method" title="#view_count= (instance method)">- (ZendeskAPI::ViewCount) <strong>view_count=</strong>(value) </a>
|
384
|
+
|
385
|
+
|
386
|
+
|
387
|
+
</span>
|
388
|
+
|
389
|
+
|
390
|
+
|
391
|
+
|
392
|
+
|
393
|
+
|
394
|
+
|
395
|
+
|
396
|
+
|
397
|
+
<span class="summary_desc"><div class='inline'>
|
398
|
+
<p>The associated object.</p>
|
399
|
+
</div></span>
|
400
|
+
|
401
|
+
</li>
|
402
|
+
|
403
|
+
|
404
|
+
</ul>
|
405
|
+
|
406
|
+
|
407
|
+
|
408
|
+
|
409
|
+
|
410
|
+
|
411
|
+
|
412
|
+
|
413
|
+
|
414
|
+
|
415
|
+
|
416
|
+
|
417
|
+
|
418
|
+
|
419
|
+
|
420
|
+
|
421
|
+
|
422
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="Read.html" title="ZendeskAPI::Read (module)">Read</a></span></h3>
|
423
|
+
<p class="inherited"><span class='object_link'><a href="Read.html#find-instance_method" title="ZendeskAPI::Read#find (method)">#find</a></span></p>
|
424
|
+
|
425
|
+
|
426
|
+
|
427
|
+
|
428
|
+
|
429
|
+
|
430
|
+
|
431
|
+
|
432
|
+
|
433
|
+
|
434
|
+
|
435
|
+
|
436
|
+
|
437
|
+
|
438
|
+
|
439
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="Destroy.html" title="ZendeskAPI::Destroy (module)">Destroy</a></span></h3>
|
440
|
+
<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>
|
441
|
+
|
442
|
+
|
443
|
+
|
444
|
+
|
445
|
+
|
446
|
+
|
447
|
+
|
448
|
+
|
449
|
+
|
450
|
+
|
451
|
+
|
452
|
+
|
453
|
+
|
454
|
+
|
455
|
+
|
456
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="Save.html" title="ZendeskAPI::Save (module)">Save</a></span></h3>
|
457
|
+
<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>
|
458
|
+
|
459
|
+
|
460
|
+
|
461
|
+
|
462
|
+
|
463
|
+
|
464
|
+
|
465
|
+
|
466
|
+
|
467
|
+
|
468
|
+
|
469
|
+
|
470
|
+
|
471
|
+
|
472
|
+
|
473
|
+
|
474
|
+
|
475
|
+
|
476
|
+
|
477
|
+
|
478
|
+
|
479
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="Verbs.html" title="ZendeskAPI::Verbs (module)">Verbs</a></span></h3>
|
480
|
+
<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>
|
481
|
+
|
482
|
+
|
483
|
+
|
484
|
+
|
485
|
+
|
486
|
+
|
487
|
+
|
488
|
+
|
489
|
+
|
490
|
+
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Data.html" title="ZendeskAPI::Data (class)">Data</a></span></h3>
|
491
|
+
<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>
|
492
|
+
|
493
|
+
|
494
|
+
|
495
|
+
|
496
|
+
|
497
|
+
|
498
|
+
<div id="constructor_details" class="method_details_list">
|
499
|
+
<h2>Constructor Details</h2>
|
500
|
+
|
501
|
+
<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>
|
502
|
+
|
503
|
+
</div>
|
504
|
+
<div id="method_missing_details" class="method_details_list">
|
505
|
+
<h2>Dynamic Method Handling</h2>
|
506
|
+
<p class="notice super">
|
507
|
+
This class handles dynamic methods through the <tt>method_missing</tt> method
|
508
|
+
|
509
|
+
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>
|
510
|
+
|
511
|
+
</p>
|
512
|
+
|
513
|
+
</div>
|
514
|
+
|
515
|
+
|
516
|
+
<div id="class_method_details" class="method_details_list">
|
517
|
+
<h2>Class Method Details</h2>
|
518
|
+
|
519
|
+
|
520
|
+
<div class="method_details first">
|
521
|
+
<h3 class="signature first" id="preview-class_method">
|
522
|
+
|
523
|
+
+ (<tt>Object</tt>) <strong>preview</strong>(client, options = {})
|
524
|
+
|
525
|
+
|
526
|
+
|
527
|
+
|
528
|
+
|
529
|
+
</h3><table class="source_code">
|
530
|
+
<tr>
|
531
|
+
<td>
|
532
|
+
<pre class="lines">
|
533
|
+
|
534
|
+
|
535
|
+
293
|
536
|
+
294
|
537
|
+
295</pre>
|
538
|
+
</td>
|
539
|
+
<td>
|
540
|
+
<pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 293</span>
|
541
|
+
|
542
|
+
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_preview'>preview</span><span class='lparen'>(</span><span class='id identifier rubyid_client'>client</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
|
543
|
+
<span class='const'>Collection</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_client'>client</span><span class='comma'>,</span> <span class='const'>ViewRow</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_merge'>merge</span><span class='lparen'>(</span><span class='symbol'>:path</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>views/preview</span><span class='tstring_end'>"</span></span><span class='comma'>,</span> <span class='symbol'>:verb</span> <span class='op'>=></span> <span class='symbol'>:post</span><span class='rparen'>)</span><span class='rparen'>)</span>
|
544
|
+
<span class='kw'>end</span></pre>
|
545
|
+
</td>
|
546
|
+
</tr>
|
547
|
+
</table>
|
548
|
+
</div>
|
549
|
+
|
550
|
+
</div>
|
551
|
+
|
552
|
+
<div id="instance_method_details" class="method_details_list">
|
553
|
+
<h2>Instance Method Details</h2>
|
554
|
+
|
555
|
+
|
556
|
+
<div class="method_details first">
|
557
|
+
<h3 class="signature first" id="execution-instance_method">
|
558
|
+
|
559
|
+
- (<tt><span class='object_link'><a href="RuleExecution.html" title="ZendeskAPI::RuleExecution (class)">ZendeskAPI::RuleExecution</a></span></tt>) <strong>execution</strong>
|
560
|
+
|
561
|
+
|
562
|
+
|
563
|
+
|
564
|
+
|
565
|
+
</h3><div class="docstring">
|
566
|
+
<div class="discussion">
|
567
|
+
|
568
|
+
<p>The associated object</p>
|
569
|
+
|
570
|
+
|
571
|
+
</div>
|
572
|
+
</div>
|
573
|
+
<div class="tags">
|
574
|
+
|
575
|
+
<p class="tag_title">Returns:</p>
|
576
|
+
<ul class="return">
|
577
|
+
|
578
|
+
<li>
|
579
|
+
|
580
|
+
|
581
|
+
<span class='type'>(<tt><span class='object_link'><a href="RuleExecution.html" title="ZendeskAPI::RuleExecution (class)">ZendeskAPI::RuleExecution</a></span></tt>)</span>
|
582
|
+
|
583
|
+
|
584
|
+
|
585
|
+
—
|
586
|
+
<div class='inline'>
|
587
|
+
<p>The associated object</p>
|
588
|
+
</div>
|
589
|
+
|
590
|
+
</li>
|
591
|
+
|
592
|
+
</ul>
|
593
|
+
|
594
|
+
</div><table class="source_code">
|
595
|
+
<tr>
|
596
|
+
<td>
|
597
|
+
<pre class="lines">
|
598
|
+
|
599
|
+
|
600
|
+
290</pre>
|
601
|
+
</td>
|
602
|
+
<td>
|
603
|
+
<pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 290</span>
|
604
|
+
|
605
|
+
<span class='id identifier rubyid_has'>has</span> <span class='symbol'>:execution</span><span class='comma'>,</span> <span class='symbol'>:class</span> <span class='op'>=></span> <span class='const'>RuleExecution</span></pre>
|
606
|
+
</td>
|
607
|
+
</tr>
|
608
|
+
</table>
|
609
|
+
</div>
|
610
|
+
|
611
|
+
<div class="method_details ">
|
612
|
+
<h3 class="signature " id="execution=-instance_method">
|
613
|
+
|
614
|
+
- (<tt><span class='object_link'><a href="RuleExecution.html" title="ZendeskAPI::RuleExecution (class)">ZendeskAPI::RuleExecution</a></span></tt>) <strong>execution=</strong>(value)
|
615
|
+
|
616
|
+
|
617
|
+
|
618
|
+
|
619
|
+
|
620
|
+
</h3><div class="docstring">
|
621
|
+
<div class="discussion">
|
622
|
+
|
623
|
+
<p>The associated object</p>
|
624
|
+
|
625
|
+
|
626
|
+
</div>
|
627
|
+
</div>
|
628
|
+
<div class="tags">
|
629
|
+
<p class="tag_title">Parameters:</p>
|
630
|
+
<ul class="param">
|
631
|
+
|
632
|
+
<li>
|
633
|
+
|
634
|
+
<span class='name'>value</span>
|
635
|
+
|
636
|
+
|
637
|
+
<span class='type'>(<tt>Hash or <span class='object_link'><a href="RuleExecution.html" title="ZendeskAPI::RuleExecution (class)">ZendeskAPI::RuleExecution</a></span></tt>)</span>
|
638
|
+
|
639
|
+
|
640
|
+
|
641
|
+
—
|
642
|
+
<div class='inline'>
|
643
|
+
<p>The associated object or its attributes</p>
|
644
|
+
</div>
|
645
|
+
|
646
|
+
</li>
|
647
|
+
|
648
|
+
</ul>
|
649
|
+
|
650
|
+
<p class="tag_title">Returns:</p>
|
651
|
+
<ul class="return">
|
652
|
+
|
653
|
+
<li>
|
654
|
+
|
655
|
+
|
656
|
+
<span class='type'>(<tt><span class='object_link'><a href="RuleExecution.html" title="ZendeskAPI::RuleExecution (class)">ZendeskAPI::RuleExecution</a></span></tt>)</span>
|
657
|
+
|
658
|
+
|
659
|
+
|
660
|
+
—
|
661
|
+
<div class='inline'>
|
662
|
+
<p>The associated object</p>
|
663
|
+
</div>
|
664
|
+
|
665
|
+
</li>
|
666
|
+
|
667
|
+
</ul>
|
668
|
+
|
669
|
+
</div><table class="source_code">
|
670
|
+
<tr>
|
671
|
+
<td>
|
672
|
+
<pre class="lines">
|
673
|
+
|
674
|
+
|
675
|
+
290</pre>
|
676
|
+
</td>
|
677
|
+
<td>
|
678
|
+
<pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 290</span>
|
679
|
+
|
680
|
+
<span class='id identifier rubyid_has'>has</span> <span class='symbol'>:execution</span><span class='comma'>,</span> <span class='symbol'>:class</span> <span class='op'>=></span> <span class='const'>RuleExecution</span></pre>
|
681
|
+
</td>
|
682
|
+
</tr>
|
683
|
+
</table>
|
684
|
+
</div>
|
685
|
+
|
686
|
+
<div class="method_details ">
|
687
|
+
<h3 class="signature " id="feed-instance_method">
|
688
|
+
|
689
|
+
- (<tt><span class='object_link'><a href="Ticket.html" title="ZendeskAPI::Ticket (class)">ZendeskAPI::Ticket</a></span></tt>) <strong>feed</strong>(options = {})
|
690
|
+
|
691
|
+
|
692
|
+
|
693
|
+
|
694
|
+
|
695
|
+
</h3><div class="docstring">
|
696
|
+
<div class="discussion">
|
697
|
+
|
698
|
+
<p>The associated object</p>
|
699
|
+
|
700
|
+
|
701
|
+
</div>
|
702
|
+
</div>
|
703
|
+
<div class="tags">
|
704
|
+
<p class="tag_title">Parameters:</p>
|
705
|
+
<ul class="param">
|
706
|
+
|
707
|
+
<li>
|
708
|
+
|
709
|
+
<span class='name'>options</span>
|
710
|
+
|
711
|
+
|
712
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
713
|
+
|
714
|
+
|
715
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
716
|
+
|
717
|
+
|
718
|
+
—
|
719
|
+
<div class='inline'>
|
720
|
+
<p>Options to pass to the collection object</p>
|
721
|
+
</div>
|
722
|
+
|
723
|
+
</li>
|
724
|
+
|
725
|
+
</ul>
|
726
|
+
|
727
|
+
<p class="tag_title">Returns:</p>
|
728
|
+
<ul class="return">
|
729
|
+
|
730
|
+
<li>
|
731
|
+
|
732
|
+
|
733
|
+
<span class='type'>(<tt><span class='object_link'><a href="Ticket.html" title="ZendeskAPI::Ticket (class)">ZendeskAPI::Ticket</a></span></tt>)</span>
|
734
|
+
|
735
|
+
|
736
|
+
|
737
|
+
—
|
738
|
+
<div class='inline'>
|
739
|
+
<p>The associated object</p>
|
740
|
+
</div>
|
741
|
+
|
742
|
+
</li>
|
743
|
+
|
744
|
+
</ul>
|
745
|
+
|
746
|
+
</div><table class="source_code">
|
747
|
+
<tr>
|
748
|
+
<td>
|
749
|
+
<pre class="lines">
|
750
|
+
|
751
|
+
|
752
|
+
287</pre>
|
753
|
+
</td>
|
754
|
+
<td>
|
755
|
+
<pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 287</span>
|
756
|
+
|
757
|
+
<span class='id identifier rubyid_has_many'>has_many</span> <span class='symbol'>:feed</span><span class='comma'>,</span> <span class='symbol'>:class</span> <span class='op'>=></span> <span class='const'>Ticket</span><span class='comma'>,</span> <span class='symbol'>:path</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>feed</span><span class='tstring_end'>"</span></span></pre>
|
758
|
+
</td>
|
759
|
+
</tr>
|
760
|
+
</table>
|
761
|
+
</div>
|
762
|
+
|
763
|
+
<div class="method_details ">
|
764
|
+
<h3 class="signature " id="feed=-instance_method">
|
765
|
+
|
766
|
+
- (<tt><span class='object_link'><a href="Ticket.html" title="ZendeskAPI::Ticket (class)">ZendeskAPI::Ticket</a></span></tt>) <strong>feed=</strong>(value)
|
767
|
+
|
768
|
+
|
769
|
+
|
770
|
+
|
771
|
+
|
772
|
+
</h3><div class="docstring">
|
773
|
+
<div class="discussion">
|
774
|
+
|
775
|
+
<p>The associated object</p>
|
776
|
+
|
777
|
+
|
778
|
+
</div>
|
779
|
+
</div>
|
780
|
+
<div class="tags">
|
781
|
+
<p class="tag_title">Parameters:</p>
|
782
|
+
<ul class="param">
|
783
|
+
|
784
|
+
<li>
|
785
|
+
|
786
|
+
<span class='name'>value</span>
|
787
|
+
|
788
|
+
|
789
|
+
<span class='type'>(<tt>Hash or <span class='object_link'><a href="Ticket.html" title="ZendeskAPI::Ticket (class)">ZendeskAPI::Ticket</a></span></tt>)</span>
|
790
|
+
|
791
|
+
|
792
|
+
|
793
|
+
—
|
794
|
+
<div class='inline'>
|
795
|
+
<p>The associated object or its attributes</p>
|
796
|
+
</div>
|
797
|
+
|
798
|
+
</li>
|
799
|
+
|
800
|
+
</ul>
|
801
|
+
|
802
|
+
<p class="tag_title">Returns:</p>
|
803
|
+
<ul class="return">
|
804
|
+
|
805
|
+
<li>
|
806
|
+
|
807
|
+
|
808
|
+
<span class='type'>(<tt><span class='object_link'><a href="Ticket.html" title="ZendeskAPI::Ticket (class)">ZendeskAPI::Ticket</a></span></tt>)</span>
|
809
|
+
|
810
|
+
|
811
|
+
|
812
|
+
—
|
813
|
+
<div class='inline'>
|
814
|
+
<p>The associated object</p>
|
815
|
+
</div>
|
816
|
+
|
817
|
+
</li>
|
818
|
+
|
819
|
+
</ul>
|
820
|
+
|
821
|
+
</div><table class="source_code">
|
822
|
+
<tr>
|
823
|
+
<td>
|
824
|
+
<pre class="lines">
|
825
|
+
|
826
|
+
|
827
|
+
287</pre>
|
828
|
+
</td>
|
829
|
+
<td>
|
830
|
+
<pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 287</span>
|
831
|
+
|
832
|
+
<span class='id identifier rubyid_has_many'>has_many</span> <span class='symbol'>:feed</span><span class='comma'>,</span> <span class='symbol'>:class</span> <span class='op'>=></span> <span class='const'>Ticket</span><span class='comma'>,</span> <span class='symbol'>:path</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>feed</span><span class='tstring_end'>"</span></span></pre>
|
833
|
+
</td>
|
834
|
+
</tr>
|
835
|
+
</table>
|
836
|
+
</div>
|
837
|
+
|
838
|
+
<div class="method_details ">
|
839
|
+
<h3 class="signature " id="rows-instance_method">
|
840
|
+
|
841
|
+
- (<tt><span class='object_link'><a href="ViewRow.html" title="ZendeskAPI::ViewRow (class)">ZendeskAPI::ViewRow</a></span></tt>) <strong>rows</strong>(options = {})
|
842
|
+
|
843
|
+
|
844
|
+
|
845
|
+
|
846
|
+
|
847
|
+
</h3><div class="docstring">
|
848
|
+
<div class="discussion">
|
849
|
+
|
850
|
+
<p>The associated object</p>
|
851
|
+
|
852
|
+
|
853
|
+
</div>
|
854
|
+
</div>
|
855
|
+
<div class="tags">
|
856
|
+
<p class="tag_title">Parameters:</p>
|
857
|
+
<ul class="param">
|
858
|
+
|
859
|
+
<li>
|
860
|
+
|
861
|
+
<span class='name'>options</span>
|
862
|
+
|
863
|
+
|
864
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
865
|
+
|
866
|
+
|
867
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
868
|
+
|
869
|
+
|
870
|
+
—
|
871
|
+
<div class='inline'>
|
872
|
+
<p>Options to pass to the collection object</p>
|
873
|
+
</div>
|
874
|
+
|
875
|
+
</li>
|
876
|
+
|
877
|
+
</ul>
|
878
|
+
|
879
|
+
<p class="tag_title">Returns:</p>
|
880
|
+
<ul class="return">
|
881
|
+
|
882
|
+
<li>
|
883
|
+
|
884
|
+
|
885
|
+
<span class='type'>(<tt><span class='object_link'><a href="ViewRow.html" title="ZendeskAPI::ViewRow (class)">ZendeskAPI::ViewRow</a></span></tt>)</span>
|
886
|
+
|
887
|
+
|
888
|
+
|
889
|
+
—
|
890
|
+
<div class='inline'>
|
891
|
+
<p>The associated object</p>
|
892
|
+
</div>
|
893
|
+
|
894
|
+
</li>
|
895
|
+
|
896
|
+
</ul>
|
897
|
+
|
898
|
+
</div><table class="source_code">
|
899
|
+
<tr>
|
900
|
+
<td>
|
901
|
+
<pre class="lines">
|
902
|
+
|
903
|
+
|
904
|
+
289</pre>
|
905
|
+
</td>
|
906
|
+
<td>
|
907
|
+
<pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 289</span>
|
908
|
+
|
909
|
+
<span class='id identifier rubyid_has_many'>has_many</span> <span class='symbol'>:rows</span><span class='comma'>,</span> <span class='symbol'>:class</span> <span class='op'>=></span> <span class='const'>ViewRow</span><span class='comma'>,</span> <span class='symbol'>:path</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>execute</span><span class='tstring_end'>"</span></span></pre>
|
910
|
+
</td>
|
911
|
+
</tr>
|
912
|
+
</table>
|
913
|
+
</div>
|
914
|
+
|
915
|
+
<div class="method_details ">
|
916
|
+
<h3 class="signature " id="rows=-instance_method">
|
917
|
+
|
918
|
+
- (<tt><span class='object_link'><a href="ViewRow.html" title="ZendeskAPI::ViewRow (class)">ZendeskAPI::ViewRow</a></span></tt>) <strong>rows=</strong>(value)
|
919
|
+
|
920
|
+
|
921
|
+
|
922
|
+
|
923
|
+
|
924
|
+
</h3><div class="docstring">
|
925
|
+
<div class="discussion">
|
926
|
+
|
927
|
+
<p>The associated object</p>
|
928
|
+
|
929
|
+
|
930
|
+
</div>
|
931
|
+
</div>
|
932
|
+
<div class="tags">
|
933
|
+
<p class="tag_title">Parameters:</p>
|
934
|
+
<ul class="param">
|
935
|
+
|
936
|
+
<li>
|
937
|
+
|
938
|
+
<span class='name'>value</span>
|
939
|
+
|
940
|
+
|
941
|
+
<span class='type'>(<tt>Hash or <span class='object_link'><a href="ViewRow.html" title="ZendeskAPI::ViewRow (class)">ZendeskAPI::ViewRow</a></span></tt>)</span>
|
942
|
+
|
943
|
+
|
944
|
+
|
945
|
+
—
|
946
|
+
<div class='inline'>
|
947
|
+
<p>The associated object or its attributes</p>
|
948
|
+
</div>
|
949
|
+
|
950
|
+
</li>
|
951
|
+
|
952
|
+
</ul>
|
953
|
+
|
954
|
+
<p class="tag_title">Returns:</p>
|
955
|
+
<ul class="return">
|
956
|
+
|
957
|
+
<li>
|
958
|
+
|
959
|
+
|
960
|
+
<span class='type'>(<tt><span class='object_link'><a href="ViewRow.html" title="ZendeskAPI::ViewRow (class)">ZendeskAPI::ViewRow</a></span></tt>)</span>
|
961
|
+
|
962
|
+
|
963
|
+
|
964
|
+
—
|
965
|
+
<div class='inline'>
|
966
|
+
<p>The associated object</p>
|
967
|
+
</div>
|
968
|
+
|
969
|
+
</li>
|
970
|
+
|
971
|
+
</ul>
|
972
|
+
|
973
|
+
</div><table class="source_code">
|
974
|
+
<tr>
|
975
|
+
<td>
|
976
|
+
<pre class="lines">
|
977
|
+
|
978
|
+
|
979
|
+
289</pre>
|
980
|
+
</td>
|
981
|
+
<td>
|
982
|
+
<pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 289</span>
|
983
|
+
|
984
|
+
<span class='id identifier rubyid_has_many'>has_many</span> <span class='symbol'>:rows</span><span class='comma'>,</span> <span class='symbol'>:class</span> <span class='op'>=></span> <span class='const'>ViewRow</span><span class='comma'>,</span> <span class='symbol'>:path</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>execute</span><span class='tstring_end'>"</span></span></pre>
|
985
|
+
</td>
|
986
|
+
</tr>
|
987
|
+
</table>
|
988
|
+
</div>
|
989
|
+
|
990
|
+
<div class="method_details ">
|
991
|
+
<h3 class="signature " id="tickets-instance_method">
|
992
|
+
|
993
|
+
- (<tt><span class='object_link'><a href="Ticket.html" title="ZendeskAPI::Ticket (class)">ZendeskAPI::Ticket</a></span></tt>) <strong>tickets</strong>(options = {})
|
994
|
+
|
995
|
+
|
996
|
+
|
997
|
+
|
998
|
+
|
999
|
+
</h3><div class="docstring">
|
1000
|
+
<div class="discussion">
|
1001
|
+
|
1002
|
+
<p>The associated object</p>
|
1003
|
+
|
1004
|
+
|
1005
|
+
</div>
|
1006
|
+
</div>
|
1007
|
+
<div class="tags">
|
1008
|
+
<p class="tag_title">Parameters:</p>
|
1009
|
+
<ul class="param">
|
1010
|
+
|
1011
|
+
<li>
|
1012
|
+
|
1013
|
+
<span class='name'>options</span>
|
1014
|
+
|
1015
|
+
|
1016
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
1017
|
+
|
1018
|
+
|
1019
|
+
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
1020
|
+
|
1021
|
+
|
1022
|
+
—
|
1023
|
+
<div class='inline'>
|
1024
|
+
<p>Options to pass to the collection object</p>
|
1025
|
+
</div>
|
1026
|
+
|
1027
|
+
</li>
|
1028
|
+
|
1029
|
+
</ul>
|
1030
|
+
|
1031
|
+
<p class="tag_title">Returns:</p>
|
1032
|
+
<ul class="return">
|
1033
|
+
|
1034
|
+
<li>
|
1035
|
+
|
1036
|
+
|
1037
|
+
<span class='type'>(<tt><span class='object_link'><a href="Ticket.html" title="ZendeskAPI::Ticket (class)">ZendeskAPI::Ticket</a></span></tt>)</span>
|
1038
|
+
|
1039
|
+
|
1040
|
+
|
1041
|
+
—
|
1042
|
+
<div class='inline'>
|
1043
|
+
<p>The associated object</p>
|
1044
|
+
</div>
|
1045
|
+
|
1046
|
+
</li>
|
1047
|
+
|
1048
|
+
</ul>
|
1049
|
+
|
1050
|
+
</div><table class="source_code">
|
1051
|
+
<tr>
|
1052
|
+
<td>
|
1053
|
+
<pre class="lines">
|
1054
|
+
|
1055
|
+
|
1056
|
+
286</pre>
|
1057
|
+
</td>
|
1058
|
+
<td>
|
1059
|
+
<pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 286</span>
|
1060
|
+
|
1061
|
+
<span class='id identifier rubyid_has_many'>has_many</span> <span class='symbol'>:tickets</span><span class='comma'>,</span> <span class='symbol'>:class</span> <span class='op'>=></span> <span class='const'>Ticket</span></pre>
|
1062
|
+
</td>
|
1063
|
+
</tr>
|
1064
|
+
</table>
|
1065
|
+
</div>
|
1066
|
+
|
1067
|
+
<div class="method_details ">
|
1068
|
+
<h3 class="signature " id="tickets=-instance_method">
|
1069
|
+
|
1070
|
+
- (<tt><span class='object_link'><a href="Ticket.html" title="ZendeskAPI::Ticket (class)">ZendeskAPI::Ticket</a></span></tt>) <strong>tickets=</strong>(value)
|
1071
|
+
|
1072
|
+
|
1073
|
+
|
1074
|
+
|
1075
|
+
|
1076
|
+
</h3><div class="docstring">
|
1077
|
+
<div class="discussion">
|
1078
|
+
|
1079
|
+
<p>The associated object</p>
|
1080
|
+
|
1081
|
+
|
1082
|
+
</div>
|
1083
|
+
</div>
|
1084
|
+
<div class="tags">
|
1085
|
+
<p class="tag_title">Parameters:</p>
|
1086
|
+
<ul class="param">
|
1087
|
+
|
1088
|
+
<li>
|
1089
|
+
|
1090
|
+
<span class='name'>value</span>
|
1091
|
+
|
1092
|
+
|
1093
|
+
<span class='type'>(<tt>Hash or <span class='object_link'><a href="Ticket.html" title="ZendeskAPI::Ticket (class)">ZendeskAPI::Ticket</a></span></tt>)</span>
|
1094
|
+
|
1095
|
+
|
1096
|
+
|
1097
|
+
—
|
1098
|
+
<div class='inline'>
|
1099
|
+
<p>The associated object or its attributes</p>
|
1100
|
+
</div>
|
1101
|
+
|
1102
|
+
</li>
|
1103
|
+
|
1104
|
+
</ul>
|
1105
|
+
|
1106
|
+
<p class="tag_title">Returns:</p>
|
1107
|
+
<ul class="return">
|
1108
|
+
|
1109
|
+
<li>
|
1110
|
+
|
1111
|
+
|
1112
|
+
<span class='type'>(<tt><span class='object_link'><a href="Ticket.html" title="ZendeskAPI::Ticket (class)">ZendeskAPI::Ticket</a></span></tt>)</span>
|
1113
|
+
|
1114
|
+
|
1115
|
+
|
1116
|
+
—
|
1117
|
+
<div class='inline'>
|
1118
|
+
<p>The associated object</p>
|
1119
|
+
</div>
|
1120
|
+
|
1121
|
+
</li>
|
1122
|
+
|
1123
|
+
</ul>
|
1124
|
+
|
1125
|
+
</div><table class="source_code">
|
1126
|
+
<tr>
|
1127
|
+
<td>
|
1128
|
+
<pre class="lines">
|
1129
|
+
|
1130
|
+
|
1131
|
+
286</pre>
|
1132
|
+
</td>
|
1133
|
+
<td>
|
1134
|
+
<pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 286</span>
|
1135
|
+
|
1136
|
+
<span class='id identifier rubyid_has_many'>has_many</span> <span class='symbol'>:tickets</span><span class='comma'>,</span> <span class='symbol'>:class</span> <span class='op'>=></span> <span class='const'>Ticket</span></pre>
|
1137
|
+
</td>
|
1138
|
+
</tr>
|
1139
|
+
</table>
|
1140
|
+
</div>
|
1141
|
+
|
1142
|
+
<div class="method_details ">
|
1143
|
+
<h3 class="signature " id="view_count-instance_method">
|
1144
|
+
|
1145
|
+
- (<tt><span class='object_link'><a href="ViewCount.html" title="ZendeskAPI::ViewCount (class)">ZendeskAPI::ViewCount</a></span></tt>) <strong>view_count</strong>
|
1146
|
+
|
1147
|
+
|
1148
|
+
|
1149
|
+
|
1150
|
+
|
1151
|
+
</h3><div class="docstring">
|
1152
|
+
<div class="discussion">
|
1153
|
+
|
1154
|
+
<p>The associated object</p>
|
1155
|
+
|
1156
|
+
|
1157
|
+
</div>
|
1158
|
+
</div>
|
1159
|
+
<div class="tags">
|
1160
|
+
|
1161
|
+
<p class="tag_title">Returns:</p>
|
1162
|
+
<ul class="return">
|
1163
|
+
|
1164
|
+
<li>
|
1165
|
+
|
1166
|
+
|
1167
|
+
<span class='type'>(<tt><span class='object_link'><a href="ViewCount.html" title="ZendeskAPI::ViewCount (class)">ZendeskAPI::ViewCount</a></span></tt>)</span>
|
1168
|
+
|
1169
|
+
|
1170
|
+
|
1171
|
+
—
|
1172
|
+
<div class='inline'>
|
1173
|
+
<p>The associated object</p>
|
1174
|
+
</div>
|
1175
|
+
|
1176
|
+
</li>
|
1177
|
+
|
1178
|
+
</ul>
|
1179
|
+
|
1180
|
+
</div><table class="source_code">
|
1181
|
+
<tr>
|
1182
|
+
<td>
|
1183
|
+
<pre class="lines">
|
1184
|
+
|
1185
|
+
|
1186
|
+
291</pre>
|
1187
|
+
</td>
|
1188
|
+
<td>
|
1189
|
+
<pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 291</span>
|
1190
|
+
|
1191
|
+
<span class='id identifier rubyid_has'>has</span> <span class='const'>ViewCount</span><span class='comma'>,</span> <span class='symbol'>:path</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>count</span><span class='tstring_end'>"</span></span></pre>
|
1192
|
+
</td>
|
1193
|
+
</tr>
|
1194
|
+
</table>
|
1195
|
+
</div>
|
1196
|
+
|
1197
|
+
<div class="method_details ">
|
1198
|
+
<h3 class="signature " id="view_count=-instance_method">
|
1199
|
+
|
1200
|
+
- (<tt><span class='object_link'><a href="ViewCount.html" title="ZendeskAPI::ViewCount (class)">ZendeskAPI::ViewCount</a></span></tt>) <strong>view_count=</strong>(value)
|
1201
|
+
|
1202
|
+
|
1203
|
+
|
1204
|
+
|
1205
|
+
|
1206
|
+
</h3><div class="docstring">
|
1207
|
+
<div class="discussion">
|
1208
|
+
|
1209
|
+
<p>The associated object</p>
|
1210
|
+
|
1211
|
+
|
1212
|
+
</div>
|
1213
|
+
</div>
|
1214
|
+
<div class="tags">
|
1215
|
+
<p class="tag_title">Parameters:</p>
|
1216
|
+
<ul class="param">
|
1217
|
+
|
1218
|
+
<li>
|
1219
|
+
|
1220
|
+
<span class='name'>value</span>
|
1221
|
+
|
1222
|
+
|
1223
|
+
<span class='type'>(<tt>Hash or <span class='object_link'><a href="ViewCount.html" title="ZendeskAPI::ViewCount (class)">ZendeskAPI::ViewCount</a></span></tt>)</span>
|
1224
|
+
|
1225
|
+
|
1226
|
+
|
1227
|
+
—
|
1228
|
+
<div class='inline'>
|
1229
|
+
<p>The associated object or its attributes</p>
|
1230
|
+
</div>
|
1231
|
+
|
1232
|
+
</li>
|
1233
|
+
|
1234
|
+
</ul>
|
1235
|
+
|
1236
|
+
<p class="tag_title">Returns:</p>
|
1237
|
+
<ul class="return">
|
1238
|
+
|
1239
|
+
<li>
|
1240
|
+
|
1241
|
+
|
1242
|
+
<span class='type'>(<tt><span class='object_link'><a href="ViewCount.html" title="ZendeskAPI::ViewCount (class)">ZendeskAPI::ViewCount</a></span></tt>)</span>
|
1243
|
+
|
1244
|
+
|
1245
|
+
|
1246
|
+
—
|
1247
|
+
<div class='inline'>
|
1248
|
+
<p>The associated object</p>
|
1249
|
+
</div>
|
1250
|
+
|
1251
|
+
</li>
|
1252
|
+
|
1253
|
+
</ul>
|
1254
|
+
|
1255
|
+
</div><table class="source_code">
|
1256
|
+
<tr>
|
1257
|
+
<td>
|
1258
|
+
<pre class="lines">
|
1259
|
+
|
1260
|
+
|
1261
|
+
291</pre>
|
1262
|
+
</td>
|
1263
|
+
<td>
|
1264
|
+
<pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 291</span>
|
1265
|
+
|
1266
|
+
<span class='id identifier rubyid_has'>has</span> <span class='const'>ViewCount</span><span class='comma'>,</span> <span class='symbol'>:path</span> <span class='op'>=></span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>count</span><span class='tstring_end'>"</span></span></pre>
|
1267
|
+
</td>
|
1268
|
+
</tr>
|
1269
|
+
</table>
|
1270
|
+
</div>
|
1271
|
+
|
1272
|
+
</div>
|
1273
|
+
|
1274
|
+
</div>
|
1275
|
+
|
1276
|
+
<div id="footer">
|
1277
|
+
Generated on Mon Feb 11 17:45:40 2013 by
|
1278
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
1279
|
+
0.8.4.1 (ruby-1.9.3).
|
1280
|
+
</div>
|
1281
|
+
|
1282
|
+
</body>
|
1283
|
+
</html>
|