zendesk_api 1.3.5 → 1.3.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (203) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +2 -2
  3. data/.yardopts +0 -2
  4. data/Gemfile +4 -30
  5. data/Gemfile.lock +38 -80
  6. data/Rakefile +0 -5
  7. data/lib/zendesk_api/actions.rb +3 -2
  8. data/lib/zendesk_api/client.rb +4 -1
  9. data/lib/zendesk_api/collection.rb +4 -0
  10. data/lib/zendesk_api/configuration.rb +2 -0
  11. data/lib/zendesk_api/middleware/request/upload.rb +1 -1
  12. data/lib/zendesk_api/middleware/request/url_based_access_token.rb +26 -0
  13. data/lib/zendesk_api/resources.rb +25 -1
  14. data/lib/zendesk_api/version.rb +1 -1
  15. data/spec/core/client_spec.rb +1 -0
  16. data/spec/core/middleware/request/upload_spec.rb +26 -27
  17. data/spec/core/spec_helper.rb +27 -1
  18. data/spec/live/user_spec.rb +4 -2
  19. data/spec/live/user_view_spec.rb +16 -0
  20. data/spec/live/voice/phone_number_spec.rb +2 -0
  21. data/zendesk_api.gemspec +1 -4
  22. metadata +9 -191
  23. data/Procfile +0 -1
  24. data/bin/zendesk +0 -27
  25. data/config.ru +0 -6
  26. data/config/mongoid.yml +0 -81
  27. data/config/newrelic.yml +0 -255
  28. data/lib/zendesk_api/console/base.rb +0 -12
  29. data/lib/zendesk_api/console/console.rb +0 -144
  30. data/lib/zendesk_api/console/extensions.rb +0 -202
  31. data/lib/zendesk_api/console/options.rb +0 -41
  32. data/lib/zendesk_api/server/base.rb +0 -123
  33. data/lib/zendesk_api/server/docs/account_settings.md +0 -191
  34. data/lib/zendesk_api/server/docs/activity_stream.md +0 -121
  35. data/lib/zendesk_api/server/docs/attachments.md +0 -142
  36. data/lib/zendesk_api/server/docs/autocomplete.md +0 -29
  37. data/lib/zendesk_api/server/docs/automations.md +0 -256
  38. data/lib/zendesk_api/server/docs/categories.md +0 -193
  39. data/lib/zendesk_api/server/docs/changes_roadmap.md +0 -286
  40. data/lib/zendesk_api/server/docs/custom_roles.md +0 -88
  41. data/lib/zendesk_api/server/docs/forum_subscriptions.md +0 -139
  42. data/lib/zendesk_api/server/docs/forums.md +0 -229
  43. data/lib/zendesk_api/server/docs/group_memberships.md +0 -229
  44. data/lib/zendesk_api/server/docs/groups.md +0 -212
  45. data/lib/zendesk_api/server/docs/introduction.md +0 -165
  46. data/lib/zendesk_api/server/docs/job_statuses.md +0 -86
  47. data/lib/zendesk_api/server/docs/locales.md +0 -124
  48. data/lib/zendesk_api/server/docs/macros.md +0 -289
  49. data/lib/zendesk_api/server/docs/organizations.md +0 -271
  50. data/lib/zendesk_api/server/docs/problems.md +0 -117
  51. data/lib/zendesk_api/server/docs/requests.md +0 -274
  52. data/lib/zendesk_api/server/docs/satisfaction_ratings.md +0 -172
  53. data/lib/zendesk_api/server/docs/search.md +0 -106
  54. data/lib/zendesk_api/server/docs/sharing_agreements.md +0 -57
  55. data/lib/zendesk_api/server/docs/side_loading.md +0 -125
  56. data/lib/zendesk_api/server/docs/suspended_tickets.md +0 -184
  57. data/lib/zendesk_api/server/docs/tags.md +0 -145
  58. data/lib/zendesk_api/server/docs/ticket_audits.md +0 -688
  59. data/lib/zendesk_api/server/docs/ticket_export.md +0 -121
  60. data/lib/zendesk_api/server/docs/ticket_fields.md +0 -277
  61. data/lib/zendesk_api/server/docs/ticket_import.md +0 -65
  62. data/lib/zendesk_api/server/docs/ticket_metrics.md +0 -125
  63. data/lib/zendesk_api/server/docs/tickets.md +0 -696
  64. data/lib/zendesk_api/server/docs/topic_comments.md +0 -221
  65. data/lib/zendesk_api/server/docs/topic_subscriptions.md +0 -140
  66. data/lib/zendesk_api/server/docs/topic_votes.md +0 -153
  67. data/lib/zendesk_api/server/docs/topics.md +0 -335
  68. data/lib/zendesk_api/server/docs/triggers.md +0 -264
  69. data/lib/zendesk_api/server/docs/user_identities.md +0 -279
  70. data/lib/zendesk_api/server/docs/users.md +0 -455
  71. data/lib/zendesk_api/server/docs/views.md +0 -644
  72. data/lib/zendesk_api/server/helper.rb +0 -110
  73. data/lib/zendesk_api/server/html_renderer.rb +0 -98
  74. data/lib/zendesk_api/server/models/user_request.rb +0 -16
  75. data/lib/zendesk_api/server/models/zlib_json.rb +0 -13
  76. data/lib/zendesk_api/server/public/config.rb +0 -26
  77. data/lib/zendesk_api/server/public/doc/ZendeskAPI.html +0 -131
  78. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Ability.html +0 -592
  79. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Activity.html +0 -979
  80. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Attachment.html +0 -658
  81. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Automation.html +0 -805
  82. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Bookmark.html +0 -606
  83. data/lib/zendesk_api/server/public/doc/ZendeskAPI/CRMData.html +0 -592
  84. data/lib/zendesk_api/server/public/doc/ZendeskAPI/CRMDataStatus.html +0 -592
  85. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Category.html +0 -825
  86. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Client.html +0 -1226
  87. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Collection.html +0 -2606
  88. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Configuration.html +0 -1302
  89. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Create.html +0 -392
  90. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Create/ClassMethods.html +0 -283
  91. data/lib/zendesk_api/server/public/doc/ZendeskAPI/CreateResource.html +0 -878
  92. data/lib/zendesk_api/server/public/doc/ZendeskAPI/CustomRole.html +0 -592
  93. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Data.html +0 -1406
  94. data/lib/zendesk_api/server/public/doc/ZendeskAPI/DataResource.html +0 -823
  95. data/lib/zendesk_api/server/public/doc/ZendeskAPI/DeleteResource.html +0 -815
  96. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Destroy.html +0 -357
  97. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Destroy/ClassMethod.html +0 -295
  98. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Error.html +0 -115
  99. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Error/ClientError.html +0 -127
  100. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Error/NetworkError.html +0 -127
  101. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Error/RecordInvalid.html +0 -371
  102. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Error/RecordNotFound.html +0 -127
  103. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Forum.html +0 -1559
  104. data/lib/zendesk_api/server/public/doc/ZendeskAPI/ForumSubscription.html +0 -979
  105. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Group.html +0 -606
  106. data/lib/zendesk_api/server/public/doc/ZendeskAPI/GroupMembership.html +0 -979
  107. data/lib/zendesk_api/server/public/doc/ZendeskAPI/JobStatus.html +0 -598
  108. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Locale.html +0 -598
  109. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Macro.html +0 -805
  110. data/lib/zendesk_api/server/public/doc/ZendeskAPI/MobileDevice.html +0 -724
  111. data/lib/zendesk_api/server/public/doc/ZendeskAPI/OAuthClient.html +0 -606
  112. data/lib/zendesk_api/server/public/doc/ZendeskAPI/OAuthToken.html +0 -810
  113. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Organization.html +0 -1379
  114. data/lib/zendesk_api/server/public/doc/ZendeskAPI/OrganizationField.html +0 -606
  115. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Read.html +0 -341
  116. data/lib/zendesk_api/server/public/doc/ZendeskAPI/ReadResource.html +0 -797
  117. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Request.html +0 -1189
  118. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Request/Comment.html +0 -993
  119. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Resource.html +0 -1263
  120. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Role.html +0 -592
  121. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Rule.html +0 -610
  122. data/lib/zendesk_api/server/public/doc/ZendeskAPI/RuleExecution.html +0 -679
  123. data/lib/zendesk_api/server/public/doc/ZendeskAPI/SatisfactionRating.html +0 -1327
  124. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Save.html +0 -494
  125. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Search.html +0 -411
  126. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Search/Result.html +0 -462
  127. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Setting.html +0 -742
  128. data/lib/zendesk_api/server/public/doc/ZendeskAPI/SharingAgreement.html +0 -598
  129. data/lib/zendesk_api/server/public/doc/ZendeskAPI/SingularResource.html +0 -610
  130. data/lib/zendesk_api/server/public/doc/ZendeskAPI/SuspendedTicket.html +0 -911
  131. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Ticket.html +0 -3094
  132. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Ticket/Audit.html +0 -787
  133. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Ticket/Comment.html +0 -1039
  134. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Ticket/Tag.html +0 -606
  135. data/lib/zendesk_api/server/public/doc/ZendeskAPI/TicketField.html +0 -606
  136. data/lib/zendesk_api/server/public/doc/ZendeskAPI/TicketMetric.html +0 -782
  137. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Topic.html +0 -1449
  138. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Topic/TopicComment.html +0 -1122
  139. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Topic/TopicVote.html +0 -983
  140. data/lib/zendesk_api/server/public/doc/ZendeskAPI/TopicComment.html +0 -1039
  141. data/lib/zendesk_api/server/public/doc/ZendeskAPI/TopicSubscription.html +0 -979
  142. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Trigger.html +0 -805
  143. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Update.html +0 -392
  144. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Update/ClassMethod.html +0 -287
  145. data/lib/zendesk_api/server/public/doc/ZendeskAPI/UpdateResource.html +0 -878
  146. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Upload.html +0 -1176
  147. data/lib/zendesk_api/server/public/doc/ZendeskAPI/User.html +0 -3974
  148. data/lib/zendesk_api/server/public/doc/ZendeskAPI/User/Identity.html +0 -926
  149. data/lib/zendesk_api/server/public/doc/ZendeskAPI/User/TopicComment.html +0 -656
  150. data/lib/zendesk_api/server/public/doc/ZendeskAPI/UserField.html +0 -606
  151. data/lib/zendesk_api/server/public/doc/ZendeskAPI/Verbs.html +0 -332
  152. data/lib/zendesk_api/server/public/doc/ZendeskAPI/View.html +0 -1650
  153. data/lib/zendesk_api/server/public/doc/ZendeskAPI/ViewCount.html +0 -592
  154. data/lib/zendesk_api/server/public/doc/ZendeskAPI/ViewRow.html +0 -1744
  155. data/lib/zendesk_api/server/public/doc/_index.html +0 -799
  156. data/lib/zendesk_api/server/public/doc/class_list.html +0 -53
  157. data/lib/zendesk_api/server/public/doc/css/common.css +0 -1
  158. data/lib/zendesk_api/server/public/doc/css/full_list.css +0 -57
  159. data/lib/zendesk_api/server/public/doc/css/style.css +0 -338
  160. data/lib/zendesk_api/server/public/doc/file.Readme.html +0 -137
  161. data/lib/zendesk_api/server/public/doc/file_list.html +0 -55
  162. data/lib/zendesk_api/server/public/doc/frames.html +0 -28
  163. data/lib/zendesk_api/server/public/doc/index.html +0 -137
  164. data/lib/zendesk_api/server/public/doc/js/app.js +0 -214
  165. data/lib/zendesk_api/server/public/doc/js/full_list.js +0 -173
  166. data/lib/zendesk_api/server/public/doc/js/jquery.js +0 -4
  167. data/lib/zendesk_api/server/public/doc/method_list.html +0 -2332
  168. data/lib/zendesk_api/server/public/doc/top-level-namespace.html +0 -112
  169. data/lib/zendesk_api/server/public/favicon.ico +0 -0
  170. data/lib/zendesk_api/server/public/images/glyphicons-halflings-white.png +0 -0
  171. data/lib/zendesk_api/server/public/images/glyphicons-halflings.png +0 -0
  172. data/lib/zendesk_api/server/public/images/spinner.gif +0 -0
  173. data/lib/zendesk_api/server/public/images/zendesk_developers_bg.png +0 -0
  174. data/lib/zendesk_api/server/public/images/zendesk_developers_header.png +0 -0
  175. data/lib/zendesk_api/server/public/javascripts/application.js +0 -186
  176. data/lib/zendesk_api/server/public/javascripts/bootstrap-alert.js +0 -90
  177. data/lib/zendesk_api/server/public/javascripts/bootstrap-button.js +0 -96
  178. data/lib/zendesk_api/server/public/javascripts/bootstrap-carousel.js +0 -169
  179. data/lib/zendesk_api/server/public/javascripts/bootstrap-collapse.js +0 -157
  180. data/lib/zendesk_api/server/public/javascripts/bootstrap-dropdown.js +0 -100
  181. data/lib/zendesk_api/server/public/javascripts/bootstrap-modal.js +0 -218
  182. data/lib/zendesk_api/server/public/javascripts/bootstrap-popover.js +0 -98
  183. data/lib/zendesk_api/server/public/javascripts/bootstrap-scrollspy.js +0 -151
  184. data/lib/zendesk_api/server/public/javascripts/bootstrap-tab.js +0 -135
  185. data/lib/zendesk_api/server/public/javascripts/bootstrap-tooltip.js +0 -275
  186. data/lib/zendesk_api/server/public/javascripts/bootstrap-transition.js +0 -61
  187. data/lib/zendesk_api/server/public/javascripts/bootstrap-typeahead.js +0 -285
  188. data/lib/zendesk_api/server/public/sass/screen.scss +0 -102
  189. data/lib/zendesk_api/server/public/sass/styles.scss +0 -5
  190. data/lib/zendesk_api/server/public/stylesheets/developer.screen.css +0 -836
  191. data/lib/zendesk_api/server/public/stylesheets/screen.css +0 -129
  192. data/lib/zendesk_api/server/public/stylesheets/styles.css +0 -6208
  193. data/lib/zendesk_api/server/templates/footer.haml +0 -13
  194. data/lib/zendesk_api/server/templates/header.haml +0 -20
  195. data/lib/zendesk_api/server/templates/index.haml +0 -68
  196. data/lib/zendesk_api/server/templates/layout.haml +0 -44
  197. data/lib/zendesk_api/server/templates/param.haml +0 -4
  198. data/lib/zendesk_api/server/templates/search.haml +0 -23
  199. data/lib/zendesk_api/server/templates/sidebar.haml +0 -7
  200. data/spec/server/app_spec.rb +0 -140
  201. data/spec/server/helper_spec.rb +0 -97
  202. data/spec/server/html_renderer_spec.rb +0 -130
  203. data/spec/server/spec_helper.rb +0 -43
@@ -1,1449 +0,0 @@
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::Topic
8
-
9
- &mdash; Documentation by YARD 0.8.5.2
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 (T)</a> &raquo;
35
- <span class='title'><span class='object_link'><a href="../ZendeskAPI.html" title="ZendeskAPI (module)">ZendeskAPI</a></span></span>
36
- &raquo;
37
- <span class="title">Topic</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::Topic
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::Topic</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<span class="defines">,<br />
104
- lib/zendesk_api/resources.rb</span>
105
- </dd>
106
-
107
- </dl>
108
- <div class="clear"></div>
109
-
110
- <h2>Defined Under Namespace</h2>
111
- <p class="children">
112
-
113
-
114
-
115
-
116
- <strong class="classes">Classes:</strong> <span class='object_link'><a href="Topic/TopicComment.html" title="ZendeskAPI::Topic::TopicComment (class)">TopicComment</a></span>, <span class='object_link'><a href="Topic/TopicVote.html" title="ZendeskAPI::Topic::TopicVote (class)">TopicVote</a></span>
117
-
118
-
119
- </p>
120
-
121
-
122
-
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>
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
-
200
-
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
-
217
-
218
-
219
-
220
- <span class="summary_desc"><div class='inline'>
221
- <p>Returns the value of attribute error.</p>
222
- </div></span>
223
-
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
-
326
-
327
-
328
-
329
- <h2>
330
- Instance Method Summary
331
- <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
332
- </h2>
333
-
334
- <ul class="summary">
335
-
336
- <li class="public ">
337
- <span class="summary_signature">
338
-
339
- <a href="#comments-instance_method" title="#comments (instance method)">- (ZendeskAPI::TopicComment) <strong>comments</strong>(options = {}) </a>
340
-
341
-
342
-
343
- </span>
344
-
345
-
346
-
347
-
348
-
349
-
350
-
351
-
352
-
353
- <span class="summary_desc"><div class='inline'>
354
- <p>The associated object.</p>
355
- </div></span>
356
-
357
- </li>
358
-
359
-
360
- <li class="public ">
361
- <span class="summary_signature">
362
-
363
- <a href="#comments%3D-instance_method" title="#comments= (instance method)">- (ZendeskAPI::TopicComment) <strong>comments=</strong>(value) </a>
364
-
365
-
366
-
367
- </span>
368
-
369
-
370
-
371
-
372
-
373
-
374
-
375
-
376
-
377
- <span class="summary_desc"><div class='inline'>
378
- <p>The associated object.</p>
379
- </div></span>
380
-
381
- </li>
382
-
383
-
384
- <li class="public ">
385
- <span class="summary_signature">
386
-
387
- <a href="#forum-instance_method" title="#forum (instance method)">- (ZendeskAPI::Forum) <strong>forum</strong> </a>
388
-
389
-
390
-
391
- </span>
392
-
393
-
394
-
395
-
396
-
397
-
398
-
399
-
400
-
401
- <span class="summary_desc"><div class='inline'>
402
- <p>The associated object.</p>
403
- </div></span>
404
-
405
- </li>
406
-
407
-
408
- <li class="public ">
409
- <span class="summary_signature">
410
-
411
- <a href="#forum%3D-instance_method" title="#forum= (instance method)">- (ZendeskAPI::Forum) <strong>forum=</strong>(value) </a>
412
-
413
-
414
-
415
- </span>
416
-
417
-
418
-
419
-
420
-
421
-
422
-
423
-
424
-
425
- <span class="summary_desc"><div class='inline'>
426
- <p>The associated object.</p>
427
- </div></span>
428
-
429
- </li>
430
-
431
-
432
- <li class="public ">
433
- <span class="summary_signature">
434
-
435
- <a href="#subscriptions-instance_method" title="#subscriptions (instance method)">- (ZendeskAPI::TopicSubscription) <strong>subscriptions</strong>(options = {}) </a>
436
-
437
-
438
-
439
- </span>
440
-
441
-
442
-
443
-
444
-
445
-
446
-
447
-
448
-
449
- <span class="summary_desc"><div class='inline'>
450
- <p>The associated object.</p>
451
- </div></span>
452
-
453
- </li>
454
-
455
-
456
- <li class="public ">
457
- <span class="summary_signature">
458
-
459
- <a href="#subscriptions%3D-instance_method" title="#subscriptions= (instance method)">- (ZendeskAPI::TopicSubscription) <strong>subscriptions=</strong>(value) </a>
460
-
461
-
462
-
463
- </span>
464
-
465
-
466
-
467
-
468
-
469
-
470
-
471
-
472
-
473
- <span class="summary_desc"><div class='inline'>
474
- <p>The associated object.</p>
475
- </div></span>
476
-
477
- </li>
478
-
479
-
480
- <li class="public ">
481
- <span class="summary_signature">
482
-
483
- <a href="#vote-instance_method" title="#vote (instance method)">- (ZendeskAPI::Topic::TopicVote) <strong>vote</strong> </a>
484
-
485
-
486
-
487
- </span>
488
-
489
-
490
-
491
-
492
-
493
-
494
-
495
-
496
-
497
- <span class="summary_desc"><div class='inline'>
498
- <p>The associated object.</p>
499
- </div></span>
500
-
501
- </li>
502
-
503
-
504
- <li class="public ">
505
- <span class="summary_signature">
506
-
507
- <a href="#vote%3D-instance_method" title="#vote= (instance method)">- (ZendeskAPI::Topic::TopicVote) <strong>vote=</strong>(value) </a>
508
-
509
-
510
-
511
- </span>
512
-
513
-
514
-
515
-
516
-
517
-
518
-
519
-
520
-
521
- <span class="summary_desc"><div class='inline'>
522
- <p>The associated object.</p>
523
- </div></span>
524
-
525
- </li>
526
-
527
-
528
- <li class="public ">
529
- <span class="summary_signature">
530
-
531
- <a href="#votes-instance_method" title="#votes (instance method)">- (Object) <strong>votes</strong>(opts = {}) </a>
532
-
533
-
534
-
535
- </span>
536
-
537
-
538
-
539
-
540
-
541
-
542
-
543
-
544
-
545
- <span class="summary_desc"><div class='inline'></div></span>
546
-
547
- </li>
548
-
549
-
550
- </ul>
551
-
552
-
553
-
554
-
555
-
556
-
557
-
558
-
559
-
560
-
561
-
562
-
563
-
564
-
565
-
566
-
567
-
568
-
569
-
570
-
571
-
572
-
573
- <div id="constructor_details" class="method_details_list">
574
- <h2>Constructor Details</h2>
575
-
576
- <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>
577
-
578
- </div>
579
- <div id="method_missing_details" class="method_details_list">
580
- <h2>Dynamic Method Handling</h2>
581
- <p class="notice super">
582
- This class handles dynamic methods through the <tt>method_missing</tt> method
583
-
584
- 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>
585
-
586
- </p>
587
-
588
- </div>
589
-
590
- <div id="instance_attr_details" class="attr_details">
591
- <h2>Instance Attribute Details</h2>
592
-
593
-
594
- <span id="association=-instance_method"></span>
595
- <div class="method_details first">
596
- <h3 class="signature first" id="association-instance_method">
597
-
598
- - (<tt><span class='object_link'>ZendeskAPI::Association</span></tt>) <strong>association</strong>
599
-
600
-
601
-
602
-
603
-
604
- <span class="not_defined_here">
605
- Originally defined in class
606
- <span class='object_link'><a href="Data.html#association-instance_method" title="ZendeskAPI::Data#association (method)">Data</a></span>
607
- </span>
608
-
609
- </h3><div class="docstring">
610
- <div class="discussion">
611
-
612
- <p>The association</p>
613
-
614
-
615
- </div>
616
- </div>
617
- <div class="tags">
618
-
619
- <p class="tag_title">Returns:</p>
620
- <ul class="return">
621
-
622
- <li>
623
-
624
-
625
- <span class='type'>(<tt><span class='object_link'>ZendeskAPI::Association</span></tt>)</span>
626
-
627
-
628
-
629
- &mdash;
630
- <div class='inline'>
631
- <p>The association</p>
632
- </div>
633
-
634
- </li>
635
-
636
- </ul>
637
-
638
- </div>
639
- </div>
640
-
641
-
642
- <span id=""></span>
643
- <div class="method_details ">
644
- <h3 class="signature " id="attributes-instance_method">
645
-
646
- - (<tt>Hash</tt>) <strong>attributes</strong> <span class="extras">(readonly)</span>
647
-
648
-
649
-
650
- <span class="aliases">Also known as:
651
- <span class="names"><span id='to_param-instance_method'>to_param</span></span>
652
- </span>
653
-
654
-
655
-
656
- <span class="not_defined_here">
657
- Originally defined in class
658
- <span class='object_link'><a href="Data.html#attributes-instance_method" title="ZendeskAPI::Data#attributes (method)">Data</a></span>
659
- </span>
660
-
661
- </h3><div class="docstring">
662
- <div class="discussion">
663
-
664
- <p>The resource's attributes</p>
665
-
666
-
667
- </div>
668
- </div>
669
- <div class="tags">
670
-
671
- <p class="tag_title">Returns:</p>
672
- <ul class="return">
673
-
674
- <li>
675
-
676
-
677
- <span class='type'>(<tt>Hash</tt>)</span>
678
-
679
-
680
-
681
- &mdash;
682
- <div class='inline'>
683
- <p>The resource's attributes</p>
684
- </div>
685
-
686
- </li>
687
-
688
- </ul>
689
-
690
- </div>
691
- </div>
692
-
693
-
694
- <span id="error=-instance_method"></span>
695
- <div class="method_details ">
696
- <h3 class="signature " id="error-instance_method">
697
-
698
- - (<tt>Object</tt>) <strong>error</strong>
699
-
700
-
701
-
702
-
703
-
704
- <span class="not_defined_here">
705
- Originally defined in class
706
- <span class='object_link'><a href="DataResource.html#error-instance_method" title="ZendeskAPI::DataResource#error (method)">DataResource</a></span>
707
- </span>
708
-
709
- </h3><div class="docstring">
710
- <div class="discussion">
711
-
712
- <p>Returns the value of attribute error</p>
713
-
714
-
715
- </div>
716
- </div>
717
- <div class="tags">
718
-
719
-
720
- </div>
721
- </div>
722
-
723
-
724
- <span id="error_message=-instance_method"></span>
725
- <div class="method_details ">
726
- <h3 class="signature " id="error_message-instance_method">
727
-
728
- - (<tt>Object</tt>) <strong>error_message</strong>
729
-
730
-
731
-
732
-
733
-
734
- <span class="not_defined_here">
735
- Originally defined in class
736
- <span class='object_link'><a href="DataResource.html#error_message-instance_method" title="ZendeskAPI::DataResource#error_message (method)">DataResource</a></span>
737
- </span>
738
-
739
- </h3><div class="docstring">
740
- <div class="discussion">
741
-
742
- <p>Returns the value of attribute error_message</p>
743
-
744
-
745
- </div>
746
- </div>
747
- <div class="tags">
748
-
749
-
750
- </div>
751
- </div>
752
-
753
-
754
- <span id="errors=-instance_method"></span>
755
- <div class="method_details ">
756
- <h3 class="signature " id="errors-instance_method">
757
-
758
- - (<tt>Array</tt>) <strong>errors</strong>
759
-
760
-
761
-
762
-
763
-
764
- <span class="not_defined_here">
765
- Originally defined in class
766
- <span class='object_link'><a href="Data.html#errors-instance_method" title="ZendeskAPI::Data#errors (method)">Data</a></span>
767
- </span>
768
-
769
- </h3><div class="docstring">
770
- <div class="discussion">
771
-
772
- <p>The last received errors</p>
773
-
774
-
775
- </div>
776
- </div>
777
- <div class="tags">
778
-
779
- <p class="tag_title">Returns:</p>
780
- <ul class="return">
781
-
782
- <li>
783
-
784
-
785
- <span class='type'>(<tt>Array</tt>)</span>
786
-
787
-
788
-
789
- &mdash;
790
- <div class='inline'>
791
- <p>The last received errors</p>
792
- </div>
793
-
794
- </li>
795
-
796
- </ul>
797
-
798
- </div>
799
- </div>
800
-
801
-
802
- <span id="response=-instance_method"></span>
803
- <div class="method_details ">
804
- <h3 class="signature " id="response-instance_method">
805
-
806
- - (<tt>Object</tt>) <strong>response</strong>
807
-
808
-
809
-
810
-
811
-
812
- <span class="not_defined_here">
813
- Originally defined in class
814
- <span class='object_link'><a href="Data.html#response-instance_method" title="ZendeskAPI::Data#response (method)">Data</a></span>
815
- </span>
816
-
817
- </h3><div class="docstring">
818
- <div class="discussion">
819
-
820
- <p>Place to dump the last response</p>
821
-
822
-
823
- </div>
824
- </div>
825
- <div class="tags">
826
-
827
-
828
- </div>
829
- </div>
830
-
831
- </div>
832
-
833
-
834
- <div id="instance_method_details" class="method_details_list">
835
- <h2>Instance Method Details</h2>
836
-
837
-
838
- <div class="method_details first">
839
- <h3 class="signature first" id="comments-instance_method">
840
-
841
- - (<tt><span class='object_link'><a href="TopicComment.html" title="ZendeskAPI::TopicComment (class)">ZendeskAPI::TopicComment</a></span></tt>) <strong>comments</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
- &mdash;
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="TopicComment.html" title="ZendeskAPI::TopicComment (class)">ZendeskAPI::TopicComment</a></span></tt>)</span>
886
-
887
-
888
-
889
- &mdash;
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
- 120</pre>
905
- </td>
906
- <td>
907
- <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 120</span>
908
-
909
- <span class='id identifier rubyid_has_many'>has_many</span> <span class='symbol'>:comments</span><span class='comma'>,</span> <span class='symbol'>:class</span> <span class='op'>=&gt;</span> <span class='const'>TopicComment</span></pre>
910
- </td>
911
- </tr>
912
- </table>
913
- </div>
914
-
915
- <div class="method_details ">
916
- <h3 class="signature " id="comments=-instance_method">
917
-
918
- - (<tt><span class='object_link'><a href="TopicComment.html" title="ZendeskAPI::TopicComment (class)">ZendeskAPI::TopicComment</a></span></tt>) <strong>comments=</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="TopicComment.html" title="ZendeskAPI::TopicComment (class)">ZendeskAPI::TopicComment</a></span></tt>)</span>
942
-
943
-
944
-
945
- &mdash;
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="TopicComment.html" title="ZendeskAPI::TopicComment (class)">ZendeskAPI::TopicComment</a></span></tt>)</span>
961
-
962
-
963
-
964
- &mdash;
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
- 120</pre>
980
- </td>
981
- <td>
982
- <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 120</span>
983
-
984
- <span class='id identifier rubyid_has_many'>has_many</span> <span class='symbol'>:comments</span><span class='comma'>,</span> <span class='symbol'>:class</span> <span class='op'>=&gt;</span> <span class='const'>TopicComment</span></pre>
985
- </td>
986
- </tr>
987
- </table>
988
- </div>
989
-
990
- <div class="method_details ">
991
- <h3 class="signature " id="forum-instance_method">
992
-
993
- - (<tt><span class='object_link'><a href="Forum.html" title="ZendeskAPI::Forum (class)">ZendeskAPI::Forum</a></span></tt>) <strong>forum</strong>
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
-
1009
- <p class="tag_title">Returns:</p>
1010
- <ul class="return">
1011
-
1012
- <li>
1013
-
1014
-
1015
- <span class='type'>(<tt><span class='object_link'><a href="Forum.html" title="ZendeskAPI::Forum (class)">ZendeskAPI::Forum</a></span></tt>)</span>
1016
-
1017
-
1018
-
1019
- &mdash;
1020
- <div class='inline'>
1021
- <p>The associated object</p>
1022
- </div>
1023
-
1024
- </li>
1025
-
1026
- </ul>
1027
-
1028
- </div><table class="source_code">
1029
- <tr>
1030
- <td>
1031
- <pre class="lines">
1032
-
1033
-
1034
- 119</pre>
1035
- </td>
1036
- <td>
1037
- <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 119</span>
1038
-
1039
- <span class='id identifier rubyid_has'>has</span> <span class='const'>Forum</span></pre>
1040
- </td>
1041
- </tr>
1042
- </table>
1043
- </div>
1044
-
1045
- <div class="method_details ">
1046
- <h3 class="signature " id="forum=-instance_method">
1047
-
1048
- - (<tt><span class='object_link'><a href="Forum.html" title="ZendeskAPI::Forum (class)">ZendeskAPI::Forum</a></span></tt>) <strong>forum=</strong>(value)
1049
-
1050
-
1051
-
1052
-
1053
-
1054
- </h3><div class="docstring">
1055
- <div class="discussion">
1056
-
1057
- <p>The associated object</p>
1058
-
1059
-
1060
- </div>
1061
- </div>
1062
- <div class="tags">
1063
- <p class="tag_title">Parameters:</p>
1064
- <ul class="param">
1065
-
1066
- <li>
1067
-
1068
- <span class='name'>value</span>
1069
-
1070
-
1071
- <span class='type'>(<tt>Hash or <span class='object_link'><a href="Forum.html" title="ZendeskAPI::Forum (class)">ZendeskAPI::Forum</a></span></tt>)</span>
1072
-
1073
-
1074
-
1075
- &mdash;
1076
- <div class='inline'>
1077
- <p>The associated object or its attributes</p>
1078
- </div>
1079
-
1080
- </li>
1081
-
1082
- </ul>
1083
-
1084
- <p class="tag_title">Returns:</p>
1085
- <ul class="return">
1086
-
1087
- <li>
1088
-
1089
-
1090
- <span class='type'>(<tt><span class='object_link'><a href="Forum.html" title="ZendeskAPI::Forum (class)">ZendeskAPI::Forum</a></span></tt>)</span>
1091
-
1092
-
1093
-
1094
- &mdash;
1095
- <div class='inline'>
1096
- <p>The associated object</p>
1097
- </div>
1098
-
1099
- </li>
1100
-
1101
- </ul>
1102
-
1103
- </div><table class="source_code">
1104
- <tr>
1105
- <td>
1106
- <pre class="lines">
1107
-
1108
-
1109
- 119</pre>
1110
- </td>
1111
- <td>
1112
- <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 119</span>
1113
-
1114
- <span class='id identifier rubyid_has'>has</span> <span class='const'>Forum</span></pre>
1115
- </td>
1116
- </tr>
1117
- </table>
1118
- </div>
1119
-
1120
- <div class="method_details ">
1121
- <h3 class="signature " id="subscriptions-instance_method">
1122
-
1123
- - (<tt><span class='object_link'><a href="TopicSubscription.html" title="ZendeskAPI::TopicSubscription (class)">ZendeskAPI::TopicSubscription</a></span></tt>) <strong>subscriptions</strong>(options = {})
1124
-
1125
-
1126
-
1127
-
1128
-
1129
- </h3><div class="docstring">
1130
- <div class="discussion">
1131
-
1132
- <p>The associated object</p>
1133
-
1134
-
1135
- </div>
1136
- </div>
1137
- <div class="tags">
1138
- <p class="tag_title">Parameters:</p>
1139
- <ul class="param">
1140
-
1141
- <li>
1142
-
1143
- <span class='name'>options</span>
1144
-
1145
-
1146
- <span class='type'>(<tt>Hash</tt>)</span>
1147
-
1148
-
1149
- <em class="default">(defaults to: <tt>{}</tt>)</em>
1150
-
1151
-
1152
- &mdash;
1153
- <div class='inline'>
1154
- <p>Options to pass to the collection object</p>
1155
- </div>
1156
-
1157
- </li>
1158
-
1159
- </ul>
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="TopicSubscription.html" title="ZendeskAPI::TopicSubscription (class)">ZendeskAPI::TopicSubscription</a></span></tt>)</span>
1168
-
1169
-
1170
-
1171
- &mdash;
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
- 121</pre>
1187
- </td>
1188
- <td>
1189
- <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 121</span>
1190
-
1191
- <span class='id identifier rubyid_has_many'>has_many</span> <span class='symbol'>:subscriptions</span><span class='comma'>,</span> <span class='symbol'>:class</span> <span class='op'>=&gt;</span> <span class='const'>TopicSubscription</span></pre>
1192
- </td>
1193
- </tr>
1194
- </table>
1195
- </div>
1196
-
1197
- <div class="method_details ">
1198
- <h3 class="signature " id="subscriptions=-instance_method">
1199
-
1200
- - (<tt><span class='object_link'><a href="TopicSubscription.html" title="ZendeskAPI::TopicSubscription (class)">ZendeskAPI::TopicSubscription</a></span></tt>) <strong>subscriptions=</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="TopicSubscription.html" title="ZendeskAPI::TopicSubscription (class)">ZendeskAPI::TopicSubscription</a></span></tt>)</span>
1224
-
1225
-
1226
-
1227
- &mdash;
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="TopicSubscription.html" title="ZendeskAPI::TopicSubscription (class)">ZendeskAPI::TopicSubscription</a></span></tt>)</span>
1243
-
1244
-
1245
-
1246
- &mdash;
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
- 121</pre>
1262
- </td>
1263
- <td>
1264
- <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 121</span>
1265
-
1266
- <span class='id identifier rubyid_has_many'>has_many</span> <span class='symbol'>:subscriptions</span><span class='comma'>,</span> <span class='symbol'>:class</span> <span class='op'>=&gt;</span> <span class='const'>TopicSubscription</span></pre>
1267
- </td>
1268
- </tr>
1269
- </table>
1270
- </div>
1271
-
1272
- <div class="method_details ">
1273
- <h3 class="signature " id="vote-instance_method">
1274
-
1275
- - (<tt><span class='object_link'><a href="Topic/TopicVote.html" title="ZendeskAPI::Topic::TopicVote (class)">ZendeskAPI::Topic::TopicVote</a></span></tt>) <strong>vote</strong>
1276
-
1277
-
1278
-
1279
-
1280
-
1281
- </h3><div class="docstring">
1282
- <div class="discussion">
1283
-
1284
- <p>The associated object</p>
1285
-
1286
-
1287
- </div>
1288
- </div>
1289
- <div class="tags">
1290
-
1291
- <p class="tag_title">Returns:</p>
1292
- <ul class="return">
1293
-
1294
- <li>
1295
-
1296
-
1297
- <span class='type'>(<tt><span class='object_link'><a href="Topic/TopicVote.html" title="ZendeskAPI::Topic::TopicVote (class)">ZendeskAPI::Topic::TopicVote</a></span></tt>)</span>
1298
-
1299
-
1300
-
1301
- &mdash;
1302
- <div class='inline'>
1303
- <p>The associated object</p>
1304
- </div>
1305
-
1306
- </li>
1307
-
1308
- </ul>
1309
-
1310
- </div><table class="source_code">
1311
- <tr>
1312
- <td>
1313
- <pre class="lines">
1314
-
1315
-
1316
- 122</pre>
1317
- </td>
1318
- <td>
1319
- <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 122</span>
1320
-
1321
- <span class='id identifier rubyid_has'>has</span> <span class='symbol'>:vote</span><span class='comma'>,</span> <span class='symbol'>:class</span> <span class='op'>=&gt;</span> <span class='const'>TopicVote</span></pre>
1322
- </td>
1323
- </tr>
1324
- </table>
1325
- </div>
1326
-
1327
- <div class="method_details ">
1328
- <h3 class="signature " id="vote=-instance_method">
1329
-
1330
- - (<tt><span class='object_link'><a href="Topic/TopicVote.html" title="ZendeskAPI::Topic::TopicVote (class)">ZendeskAPI::Topic::TopicVote</a></span></tt>) <strong>vote=</strong>(value)
1331
-
1332
-
1333
-
1334
-
1335
-
1336
- </h3><div class="docstring">
1337
- <div class="discussion">
1338
-
1339
- <p>The associated object</p>
1340
-
1341
-
1342
- </div>
1343
- </div>
1344
- <div class="tags">
1345
- <p class="tag_title">Parameters:</p>
1346
- <ul class="param">
1347
-
1348
- <li>
1349
-
1350
- <span class='name'>value</span>
1351
-
1352
-
1353
- <span class='type'>(<tt>Hash or <span class='object_link'><a href="Topic/TopicVote.html" title="ZendeskAPI::Topic::TopicVote (class)">ZendeskAPI::Topic::TopicVote</a></span></tt>)</span>
1354
-
1355
-
1356
-
1357
- &mdash;
1358
- <div class='inline'>
1359
- <p>The associated object or its attributes</p>
1360
- </div>
1361
-
1362
- </li>
1363
-
1364
- </ul>
1365
-
1366
- <p class="tag_title">Returns:</p>
1367
- <ul class="return">
1368
-
1369
- <li>
1370
-
1371
-
1372
- <span class='type'>(<tt><span class='object_link'><a href="Topic/TopicVote.html" title="ZendeskAPI::Topic::TopicVote (class)">ZendeskAPI::Topic::TopicVote</a></span></tt>)</span>
1373
-
1374
-
1375
-
1376
- &mdash;
1377
- <div class='inline'>
1378
- <p>The associated object</p>
1379
- </div>
1380
-
1381
- </li>
1382
-
1383
- </ul>
1384
-
1385
- </div><table class="source_code">
1386
- <tr>
1387
- <td>
1388
- <pre class="lines">
1389
-
1390
-
1391
- 122</pre>
1392
- </td>
1393
- <td>
1394
- <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 122</span>
1395
-
1396
- <span class='id identifier rubyid_has'>has</span> <span class='symbol'>:vote</span><span class='comma'>,</span> <span class='symbol'>:class</span> <span class='op'>=&gt;</span> <span class='const'>TopicVote</span></pre>
1397
- </td>
1398
- </tr>
1399
- </table>
1400
- </div>
1401
-
1402
- <div class="method_details ">
1403
- <h3 class="signature " id="votes-instance_method">
1404
-
1405
- - (<tt>Object</tt>) <strong>votes</strong>(opts = {})
1406
-
1407
-
1408
-
1409
-
1410
-
1411
- </h3><table class="source_code">
1412
- <tr>
1413
- <td>
1414
- <pre class="lines">
1415
-
1416
-
1417
- 124
1418
- 125
1419
- 126
1420
- 127
1421
- 128
1422
- 129</pre>
1423
- </td>
1424
- <td>
1425
- <pre class="code"><span class="info file"># File 'lib/zendesk_api/resources.rb', line 124</span>
1426
-
1427
- <span class='kw'>def</span> <span class='id identifier rubyid_votes'>votes</span><span class='lparen'>(</span><span class='id identifier rubyid_opts'>opts</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='rparen'>)</span>
1428
- <span class='kw'>return</span> <span class='ivar'>@votes</span> <span class='kw'>if</span> <span class='ivar'>@votes</span> <span class='op'>&amp;&amp;</span> <span class='op'>!</span><span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:reload</span><span class='rbracket'>]</span>
1429
-
1430
- <span class='id identifier rubyid_association'>association</span> <span class='op'>=</span> <span class='const'>ZendeskAPI</span><span class='op'>::</span><span class='const'>Association</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='symbol'>:class</span> <span class='op'>=&gt;</span> <span class='const'>TopicVote</span><span class='comma'>,</span> <span class='symbol'>:parent</span> <span class='op'>=&gt;</span> <span class='kw'>self</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'>votes</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
1431
- <span class='ivar'>@votes</span> <span class='op'>=</span> <span class='const'>ZendeskAPI</span><span class='op'>::</span><span class='const'>Collection</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='ivar'>@client</span><span class='comma'>,</span> <span class='const'>TopicVote</span><span class='comma'>,</span> <span class='id identifier rubyid_opts'>opts</span><span class='period'>.</span><span class='id identifier rubyid_merge'>merge</span><span class='lparen'>(</span><span class='symbol'>:association</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_association'>association</span><span class='rparen'>)</span><span class='rparen'>)</span>
1432
- <span class='kw'>end</span></pre>
1433
- </td>
1434
- </tr>
1435
- </table>
1436
- </div>
1437
-
1438
- </div>
1439
-
1440
- </div>
1441
-
1442
- <div id="footer">
1443
- Generated on Wed May 15 18:59:31 2013 by
1444
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1445
- 0.8.5.2 (ruby-1.9.3).
1446
- </div>
1447
-
1448
- </body>
1449
- </html>