zendesk_api 0.3.14 → 0.4.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- data/.yardopts +6 -2
- data/Gemfile +3 -2
- data/Gemfile.lock +4 -4
- data/Readme.md +3 -268
- data/lib/zendesk_api/actions.rb +51 -46
- data/lib/zendesk_api/association.rb +1 -1
- data/lib/zendesk_api/associations.rb +2 -6
- data/lib/zendesk_api/client.rb +8 -9
- data/lib/zendesk_api/collection.rb +84 -50
- data/lib/zendesk_api/configuration.rb +4 -0
- data/lib/zendesk_api/error.rb +22 -0
- data/lib/zendesk_api/middleware/request/etag_cache.rb +1 -7
- data/lib/zendesk_api/middleware/request/upload.rb +1 -2
- data/lib/zendesk_api/middleware/response/raise_error.rb +20 -0
- data/lib/zendesk_api/resource.rb +33 -5
- data/lib/zendesk_api/resources.rb +36 -11
- data/lib/zendesk_api/server/base.rb +1 -1
- data/lib/zendesk_api/server/helper.rb +3 -3
- data/lib/zendesk_api/server/models/zlib_json.rb +1 -1
- data/lib/zendesk_api/server/public/doc/ZendeskAPI.html +7 -7
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Ability.html +415 -13
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Activity.html +414 -51
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Attachment.html +321 -25
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Automation.html +413 -46
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Bookmark.html +389 -26
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/CRMData.html +415 -13
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/CRMDataStatus.html +415 -13
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Category.html +410 -47
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Client.html +98 -362
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Collection.html +457 -676
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Configuration.html +110 -20
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Create.html +264 -6
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Create/ClassMethods.html +43 -82
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/CreateResource.html +671 -15
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/CustomRole.html +415 -13
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Data.html +207 -233
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/DataResource.html +499 -24
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/DeleteResource.html +614 -15
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Destroy.html +73 -23
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Destroy/ClassMethod.html +68 -18
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/{FormatError.html → Error.html} +19 -27
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Error/ClientError.html +127 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/{Server/UserRequest.html → Error/NetworkError.html} +18 -16
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Error/RecordInvalid.html +371 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Error/RecordNotFound.html +127 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Forum.html +426 -63
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/ForumSubscription.html +414 -51
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Group.html +389 -26
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/GroupMembership.html +414 -51
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/JobStatus.html +405 -16
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Locale.html +405 -16
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Macro.html +413 -46
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/MobileDevice.html +404 -41
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/OAuthClient.html +606 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/OAuthToken.html +810 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Organization.html +422 -59
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/OrganizationField.html +606 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Read.html +75 -12
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/ReadResource.html +593 -16
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Request.html +418 -55
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Request/Comment.html +420 -31
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Resource.html +1025 -20
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Role.html +415 -13
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Rule.html +610 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/RuleExecution.html +317 -21
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/SatisfactionRating.html +428 -39
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Save.html +63 -79
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Search.html +34 -26
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Search/Result.html +305 -9
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Setting.html +433 -41
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/SharingAgreement.html +405 -16
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/SingularResource.html +389 -26
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/SuspendedTicket.html +600 -31
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Ticket.html +464 -101
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Ticket/Audit.html +427 -25
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Ticket/Comment.html +435 -32
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Ticket/Tag.html +389 -26
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/TicketField.html +389 -26
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/TicketMetric.html +592 -15
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Topic.html +427 -64
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Topic/TopicComment.html +907 -17
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Topic/TopicVote.html +414 -55
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/TopicComment.html +325 -29
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/TopicSubscription.html +414 -51
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Trigger.html +413 -46
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Update.html +258 -6
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Update/ClassMethod.html +62 -12
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/UpdateResource.html +671 -15
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Upload.html +800 -28
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/User.html +505 -142
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/User/Identity.html +412 -49
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/User/TopicComment.html +475 -13
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/UserField.html +606 -0
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Verbs.html +9 -15
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/View.html +433 -66
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/ViewCount.html +415 -13
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/ViewRow.html +451 -49
- data/lib/zendesk_api/server/public/doc/_index.html +72 -72
- data/lib/zendesk_api/server/public/doc/class_list.html +1 -1
- data/lib/zendesk_api/server/public/doc/css/style.css +10 -0
- data/lib/zendesk_api/server/public/doc/file.Readme.html +20 -260
- data/lib/zendesk_api/server/public/doc/file_list.html +1 -1
- data/lib/zendesk_api/server/public/doc/frames.html +1 -1
- data/lib/zendesk_api/server/public/doc/index.html +20 -260
- data/lib/zendesk_api/server/public/doc/method_list.html +309 -517
- data/lib/zendesk_api/server/public/doc/top-level-namespace.html +3 -35
- data/lib/zendesk_api/verbs.rb +0 -4
- data/lib/zendesk_api/version.rb +1 -1
- data/spec/core/client_spec.rb +53 -13
- data/spec/core/collection_spec.rb +32 -4
- data/spec/core/create_resource_spec.rb +1 -1
- data/spec/core/data_resource_spec.rb +2 -2
- data/spec/core/middleware/request/etag_cache_spec.rb +6 -7
- data/spec/core/middleware/request/upload_spec.rb +2 -10
- data/spec/core/middleware/response/callback_spec.rb +1 -1
- data/spec/core/middleware/response/raise_error_spec.rb +40 -0
- data/spec/core/read_resource_spec.rb +0 -2
- data/spec/core/resource_spec.rb +13 -5
- data/spec/core/search_spec.rb +1 -1
- data/spec/core/spec_helper.rb +3 -3
- data/spec/live/automation_spec.rb +23 -0
- data/spec/live/organization_field_spec.rb +12 -0
- data/spec/live/ticket_spec.rb +8 -2
- data/spec/live/trigger_spec.rb +23 -0
- data/spec/live/user_field_spec.rb +12 -0
- data/spec/live/user_spec.rb +0 -2
- data/spec/live/view_spec.rb +17 -1
- data/spec/server/spec_helper.rb +2 -2
- data/zendesk_api.gemspec +1 -1
- metadata +88 -51
- checksums.yaml +0 -7
- data/lib/zendesk_api/rescue.rb +0 -63
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Console.html +0 -860
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Console/Eval.html +0 -190
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Server.html +0 -131
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Server/App.html +0 -523
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Server/Helper.html +0 -684
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Server/HtmlRenderer.html +0 -303
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Server/HtmlRenderer/RedcarpetRenderer.html +0 -508
- data/lib/zendesk_api/server/public/doc/ZendeskAPI/Server/ZlibJSON.html +0 -244
- data/spec/core/rescue_spec.rb +0 -151
@@ -162,6 +162,7 @@ module ZendeskAPI
|
|
162
162
|
ZendeskAPI::Collection.new(client, self, options)
|
163
163
|
end
|
164
164
|
|
165
|
+
# Quack like a Resource
|
165
166
|
# Creates the correct resource class from the result_type passed in
|
166
167
|
def self.new(client, attributes)
|
167
168
|
result_type = attributes["result_type"]
|
@@ -174,12 +175,16 @@ module ZendeskAPI
|
|
174
175
|
(klass || Result).new(client, attributes)
|
175
176
|
end
|
176
177
|
|
177
|
-
|
178
|
-
|
179
|
-
|
178
|
+
class << self
|
179
|
+
def resource_name
|
180
|
+
"search"
|
181
|
+
end
|
180
182
|
|
181
|
-
|
182
|
-
|
183
|
+
alias :resource_path :resource_name
|
184
|
+
|
185
|
+
def model_key
|
186
|
+
"results"
|
187
|
+
end
|
183
188
|
end
|
184
189
|
end
|
185
190
|
|
@@ -285,7 +290,16 @@ module ZendeskAPI
|
|
285
290
|
|
286
291
|
class ViewCount < DataResource; end
|
287
292
|
|
288
|
-
class
|
293
|
+
class Rule < Resource
|
294
|
+
private
|
295
|
+
|
296
|
+
def attributes_for_save
|
297
|
+
to_save = [:conditions, :actions, :output].inject({}) {|h,k| h.merge(k => send(k))}
|
298
|
+
{ self.class.singular_resource_name.to_sym => attributes.changes.merge(to_save) }
|
299
|
+
end
|
300
|
+
end
|
301
|
+
|
302
|
+
class View < Rule
|
289
303
|
has_many :tickets, :class => Ticket
|
290
304
|
has_many :feed, :class => Ticket, :path => "feed"
|
291
305
|
|
@@ -298,15 +312,15 @@ module ZendeskAPI
|
|
298
312
|
end
|
299
313
|
end
|
300
314
|
|
301
|
-
class Trigger <
|
315
|
+
class Trigger < Rule
|
302
316
|
has :execution, :class => RuleExecution
|
303
317
|
end
|
304
318
|
|
305
|
-
class Automation <
|
319
|
+
class Automation < Rule
|
306
320
|
has :execution, :class => RuleExecution
|
307
321
|
end
|
308
322
|
|
309
|
-
class Macro <
|
323
|
+
class Macro < Rule
|
310
324
|
has :execution, :class => RuleExecution
|
311
325
|
|
312
326
|
# Returns the update to a ticket that happens when a macro will be applied.
|
@@ -328,7 +342,7 @@ module ZendeskAPI
|
|
328
342
|
def apply(ticket = nil)
|
329
343
|
apply!(ticket)
|
330
344
|
rescue Faraday::Error::ClientError => e
|
331
|
-
|
345
|
+
Hashie::Mash.new
|
332
346
|
end
|
333
347
|
end
|
334
348
|
|
@@ -384,5 +398,16 @@ module ZendeskAPI
|
|
384
398
|
has CRMData
|
385
399
|
has CRMDataStatus, :path => 'crm_data/status'
|
386
400
|
end
|
387
|
-
end
|
388
401
|
|
402
|
+
class UserField < Resource; end
|
403
|
+
class OrganizationField < Resource; end
|
404
|
+
|
405
|
+
class OAuthClient < Resource
|
406
|
+
namespace "oauth"
|
407
|
+
end
|
408
|
+
|
409
|
+
class OAuthToken < ReadResource
|
410
|
+
include Destroy
|
411
|
+
namespace "oauth"
|
412
|
+
end
|
413
|
+
end
|
@@ -34,7 +34,7 @@ module ZendeskAPI::Server
|
|
34
34
|
@error = "The connection failed"
|
35
35
|
rescue Faraday::Error::ClientError => e
|
36
36
|
set_response(e.response) if e.response
|
37
|
-
rescue
|
37
|
+
rescue MultiJson::LoadError
|
38
38
|
@error = "The JSON you attempted to send was invalid"
|
39
39
|
rescue URI::InvalidURIError, ArgumentError
|
40
40
|
@error = "Please enter a valid URL"
|
@@ -52,7 +52,7 @@ module ZendeskAPI::Server
|
|
52
52
|
end
|
53
53
|
|
54
54
|
if @method != :get && @json && !@json.empty?
|
55
|
-
request.body =
|
55
|
+
request.body = MultiJson.load(@json)
|
56
56
|
end
|
57
57
|
|
58
58
|
set_request(request.to_env(client.connection))
|
@@ -89,7 +89,7 @@ HTTP/1.1 #{response[:status]}
|
|
89
89
|
#{map_headers(response[:headers])}
|
90
90
|
|
91
91
|
|
92
|
-
#{CodeRay.scan(
|
92
|
+
#{CodeRay.scan(MultiJson.dump(response[:body], :pretty => true), :json).span}
|
93
93
|
END
|
94
94
|
|
95
95
|
@user_response_hash = { :status => response[:status], :headers => response[:headers], :body => response[:body] }
|
@@ -2,7 +2,7 @@ module ZendeskAPI::Server
|
|
2
2
|
class ZlibJSON < Hash
|
3
3
|
class << self
|
4
4
|
def demongoize(serialized_object)
|
5
|
-
|
5
|
+
MultiJson.load(Zlib.inflate(serialized_object.to_s), :symbolize_keys => true)
|
6
6
|
end
|
7
7
|
|
8
8
|
def mongoize(input_hash)
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: ZendeskAPI
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.
|
9
|
+
— Documentation by YARD 0.8.5.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -80,7 +80,7 @@
|
|
80
80
|
|
81
81
|
<dt class="r1 last">Defined in:</dt>
|
82
82
|
<dd class="r1 last">lib/zendesk_api.rb<span class="defines">,<br />
|
83
|
-
lib/zendesk_api/
|
83
|
+
lib/zendesk_api/error.rb,<br /> lib/zendesk_api/verbs.rb,<br /> lib/zendesk_api/client.rb,<br /> lib/zendesk_api/trackie.rb,<br /> lib/zendesk_api/version.rb,<br /> lib/zendesk_api/helpers.rb,<br /> lib/zendesk_api/actions.rb,<br /> lib/zendesk_api/resource.rb,<br /> lib/zendesk_api/lru_cache.rb,<br /> lib/zendesk_api/resources.rb,<br /> lib/zendesk_api/collection.rb,<br /> lib/zendesk_api/sideloading.rb,<br /> lib/zendesk_api/association.rb,<br /> lib/zendesk_api/associations.rb,<br /> lib/zendesk_api/configuration.rb,<br /> lib/zendesk_api/track_changes.rb,<br /> lib/zendesk_api/middleware/response/gzip.rb,<br /> lib/zendesk_api/middleware/request/retry.rb,<br /> lib/zendesk_api/middleware/request/upload.rb,<br /> lib/zendesk_api/middleware/response/logger.rb,<br /> lib/zendesk_api/middleware/response/deflate.rb,<br /> lib/zendesk_api/middleware/response/callback.rb,<br /> lib/zendesk_api/middleware/request/etag_cache.rb,<br /> lib/zendesk_api/middleware/response/raise_error.rb,<br /> lib/zendesk_api/middleware/response/parse_iso_dates.rb</span>
|
84
84
|
</dd>
|
85
85
|
|
86
86
|
</dl>
|
@@ -90,11 +90,11 @@
|
|
90
90
|
<p class="children">
|
91
91
|
|
92
92
|
|
93
|
-
<strong class="modules">Modules:</strong> <span class='object_link'><a href="ZendeskAPI/
|
93
|
+
<strong class="modules">Modules:</strong> <span class='object_link'><a href="ZendeskAPI/Create.html" title="ZendeskAPI::Create (module)">Create</a></span>, <span class='object_link'><a href="ZendeskAPI/Destroy.html" title="ZendeskAPI::Destroy (module)">Destroy</a></span>, <span class='object_link'><a href="ZendeskAPI/Error.html" title="ZendeskAPI::Error (module)">Error</a></span>, <span class='object_link'><a href="ZendeskAPI/Read.html" title="ZendeskAPI::Read (module)">Read</a></span>, <span class='object_link'><a href="ZendeskAPI/Save.html" title="ZendeskAPI::Save (module)">Save</a></span>, <span class='object_link'><a href="ZendeskAPI/Update.html" title="ZendeskAPI::Update (module)">Update</a></span>, <span class='object_link'><a href="ZendeskAPI/Verbs.html" title="ZendeskAPI::Verbs (module)">Verbs</a></span>
|
94
94
|
|
95
95
|
|
96
96
|
|
97
|
-
<strong class="classes">Classes:</strong> <span class='object_link'><a href="ZendeskAPI/Ability.html" title="ZendeskAPI::Ability (class)">Ability</a></span>, <span class='object_link'><a href="ZendeskAPI/Activity.html" title="ZendeskAPI::Activity (class)">Activity</a></span>, <span class='object_link'><a href="ZendeskAPI/Attachment.html" title="ZendeskAPI::Attachment (class)">Attachment</a></span>, <span class='object_link'><a href="ZendeskAPI/Automation.html" title="ZendeskAPI::Automation (class)">Automation</a></span>, <span class='object_link'><a href="ZendeskAPI/Bookmark.html" title="ZendeskAPI::Bookmark (class)">Bookmark</a></span>, <span class='object_link'><a href="ZendeskAPI/CRMData.html" title="ZendeskAPI::CRMData (class)">CRMData</a></span>, <span class='object_link'><a href="ZendeskAPI/CRMDataStatus.html" title="ZendeskAPI::CRMDataStatus (class)">CRMDataStatus</a></span>, <span class='object_link'><a href="ZendeskAPI/Category.html" title="ZendeskAPI::Category (class)">Category</a></span>, <span class='object_link'><a href="ZendeskAPI/Client.html" title="ZendeskAPI::Client (class)">Client</a></span>, <span class='object_link'><a href="ZendeskAPI/Collection.html" title="ZendeskAPI::Collection (class)">Collection</a></span>, <span class='object_link'><a href="ZendeskAPI/Configuration.html" title="ZendeskAPI::Configuration (class)">Configuration</a></span>, <span class='object_link'><a href="ZendeskAPI/CreateResource.html" title="ZendeskAPI::CreateResource (class)">CreateResource</a></span>, <span class='object_link'><a href="ZendeskAPI/CustomRole.html" title="ZendeskAPI::CustomRole (class)">CustomRole</a></span>, <span class='object_link'><a href="ZendeskAPI/Data.html" title="ZendeskAPI::Data (class)">Data</a></span>, <span class='object_link'><a href="ZendeskAPI/DataResource.html" title="ZendeskAPI::DataResource (class)">DataResource</a></span>, <span class='object_link'><a href="ZendeskAPI/DeleteResource.html" title="ZendeskAPI::DeleteResource (class)">DeleteResource</a></span>, <span class='object_link'><a href="ZendeskAPI/
|
97
|
+
<strong class="classes">Classes:</strong> <span class='object_link'><a href="ZendeskAPI/Ability.html" title="ZendeskAPI::Ability (class)">Ability</a></span>, <span class='object_link'><a href="ZendeskAPI/Activity.html" title="ZendeskAPI::Activity (class)">Activity</a></span>, <span class='object_link'><a href="ZendeskAPI/Attachment.html" title="ZendeskAPI::Attachment (class)">Attachment</a></span>, <span class='object_link'><a href="ZendeskAPI/Automation.html" title="ZendeskAPI::Automation (class)">Automation</a></span>, <span class='object_link'><a href="ZendeskAPI/Bookmark.html" title="ZendeskAPI::Bookmark (class)">Bookmark</a></span>, <span class='object_link'><a href="ZendeskAPI/CRMData.html" title="ZendeskAPI::CRMData (class)">CRMData</a></span>, <span class='object_link'><a href="ZendeskAPI/CRMDataStatus.html" title="ZendeskAPI::CRMDataStatus (class)">CRMDataStatus</a></span>, <span class='object_link'><a href="ZendeskAPI/Category.html" title="ZendeskAPI::Category (class)">Category</a></span>, <span class='object_link'><a href="ZendeskAPI/Client.html" title="ZendeskAPI::Client (class)">Client</a></span>, <span class='object_link'><a href="ZendeskAPI/Collection.html" title="ZendeskAPI::Collection (class)">Collection</a></span>, <span class='object_link'><a href="ZendeskAPI/Configuration.html" title="ZendeskAPI::Configuration (class)">Configuration</a></span>, <span class='object_link'><a href="ZendeskAPI/CreateResource.html" title="ZendeskAPI::CreateResource (class)">CreateResource</a></span>, <span class='object_link'><a href="ZendeskAPI/CustomRole.html" title="ZendeskAPI::CustomRole (class)">CustomRole</a></span>, <span class='object_link'><a href="ZendeskAPI/Data.html" title="ZendeskAPI::Data (class)">Data</a></span>, <span class='object_link'><a href="ZendeskAPI/DataResource.html" title="ZendeskAPI::DataResource (class)">DataResource</a></span>, <span class='object_link'><a href="ZendeskAPI/DeleteResource.html" title="ZendeskAPI::DeleteResource (class)">DeleteResource</a></span>, <span class='object_link'><a href="ZendeskAPI/Forum.html" title="ZendeskAPI::Forum (class)">Forum</a></span>, <span class='object_link'><a href="ZendeskAPI/ForumSubscription.html" title="ZendeskAPI::ForumSubscription (class)">ForumSubscription</a></span>, <span class='object_link'><a href="ZendeskAPI/Group.html" title="ZendeskAPI::Group (class)">Group</a></span>, <span class='object_link'><a href="ZendeskAPI/GroupMembership.html" title="ZendeskAPI::GroupMembership (class)">GroupMembership</a></span>, <span class='object_link'><a href="ZendeskAPI/JobStatus.html" title="ZendeskAPI::JobStatus (class)">JobStatus</a></span>, <span class='object_link'><a href="ZendeskAPI/Locale.html" title="ZendeskAPI::Locale (class)">Locale</a></span>, <span class='object_link'><a href="ZendeskAPI/Macro.html" title="ZendeskAPI::Macro (class)">Macro</a></span>, <span class='object_link'><a href="ZendeskAPI/MobileDevice.html" title="ZendeskAPI::MobileDevice (class)">MobileDevice</a></span>, <span class='object_link'><a href="ZendeskAPI/OAuthClient.html" title="ZendeskAPI::OAuthClient (class)">OAuthClient</a></span>, <span class='object_link'><a href="ZendeskAPI/OAuthToken.html" title="ZendeskAPI::OAuthToken (class)">OAuthToken</a></span>, <span class='object_link'><a href="ZendeskAPI/Organization.html" title="ZendeskAPI::Organization (class)">Organization</a></span>, <span class='object_link'><a href="ZendeskAPI/OrganizationField.html" title="ZendeskAPI::OrganizationField (class)">OrganizationField</a></span>, <span class='object_link'><a href="ZendeskAPI/ReadResource.html" title="ZendeskAPI::ReadResource (class)">ReadResource</a></span>, <span class='object_link'><a href="ZendeskAPI/Request.html" title="ZendeskAPI::Request (class)">Request</a></span>, <span class='object_link'><a href="ZendeskAPI/Resource.html" title="ZendeskAPI::Resource (class)">Resource</a></span>, <span class='object_link'><a href="ZendeskAPI/Role.html" title="ZendeskAPI::Role (class)">Role</a></span>, <span class='object_link'><a href="ZendeskAPI/Rule.html" title="ZendeskAPI::Rule (class)">Rule</a></span>, <span class='object_link'><a href="ZendeskAPI/RuleExecution.html" title="ZendeskAPI::RuleExecution (class)">RuleExecution</a></span>, <span class='object_link'><a href="ZendeskAPI/SatisfactionRating.html" title="ZendeskAPI::SatisfactionRating (class)">SatisfactionRating</a></span>, <span class='object_link'><a href="ZendeskAPI/Search.html" title="ZendeskAPI::Search (class)">Search</a></span>, <span class='object_link'><a href="ZendeskAPI/Setting.html" title="ZendeskAPI::Setting (class)">Setting</a></span>, <span class='object_link'><a href="ZendeskAPI/SharingAgreement.html" title="ZendeskAPI::SharingAgreement (class)">SharingAgreement</a></span>, <span class='object_link'><a href="ZendeskAPI/SingularResource.html" title="ZendeskAPI::SingularResource (class)">SingularResource</a></span>, <span class='object_link'><a href="ZendeskAPI/SuspendedTicket.html" title="ZendeskAPI::SuspendedTicket (class)">SuspendedTicket</a></span>, <span class='object_link'><a href="ZendeskAPI/Ticket.html" title="ZendeskAPI::Ticket (class)">Ticket</a></span>, <span class='object_link'><a href="ZendeskAPI/TicketField.html" title="ZendeskAPI::TicketField (class)">TicketField</a></span>, <span class='object_link'><a href="ZendeskAPI/TicketMetric.html" title="ZendeskAPI::TicketMetric (class)">TicketMetric</a></span>, <span class='object_link'><a href="ZendeskAPI/Topic.html" title="ZendeskAPI::Topic (class)">Topic</a></span>, <span class='object_link'><a href="ZendeskAPI/TopicComment.html" title="ZendeskAPI::TopicComment (class)">TopicComment</a></span>, <span class='object_link'><a href="ZendeskAPI/TopicSubscription.html" title="ZendeskAPI::TopicSubscription (class)">TopicSubscription</a></span>, <span class='object_link'><a href="ZendeskAPI/Trigger.html" title="ZendeskAPI::Trigger (class)">Trigger</a></span>, <span class='object_link'><a href="ZendeskAPI/UpdateResource.html" title="ZendeskAPI::UpdateResource (class)">UpdateResource</a></span>, <span class='object_link'><a href="ZendeskAPI/Upload.html" title="ZendeskAPI::Upload (class)">Upload</a></span>, <span class='object_link'><a href="ZendeskAPI/User.html" title="ZendeskAPI::User (class)">User</a></span>, <span class='object_link'><a href="ZendeskAPI/UserField.html" title="ZendeskAPI::UserField (class)">UserField</a></span>, <span class='object_link'><a href="ZendeskAPI/View.html" title="ZendeskAPI::View (class)">View</a></span>, <span class='object_link'><a href="ZendeskAPI/ViewCount.html" title="ZendeskAPI::ViewCount (class)">ViewCount</a></span>, <span class='object_link'><a href="ZendeskAPI/ViewRow.html" title="ZendeskAPI::ViewRow (class)">ViewRow</a></span>
|
98
98
|
|
99
99
|
|
100
100
|
</p>
|
@@ -106,7 +106,7 @@
|
|
106
106
|
<dt id="VERSION-constant" class="">VERSION =
|
107
107
|
|
108
108
|
</dt>
|
109
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>0.
|
109
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>0.3.5</span><span class='tstring_end'>"</span></span></pre></dd>
|
110
110
|
|
111
111
|
</dl>
|
112
112
|
|
@@ -122,9 +122,9 @@
|
|
122
122
|
</div>
|
123
123
|
|
124
124
|
<div id="footer">
|
125
|
-
Generated on
|
125
|
+
Generated on Wed May 15 18:59:28 2013 by
|
126
126
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
127
|
-
0.8.
|
127
|
+
0.8.5.2 (ruby-1.9.3).
|
128
128
|
</div>
|
129
129
|
|
130
130
|
</body>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Class: ZendeskAPI::Ability
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.
|
9
|
+
— Documentation by YARD 0.8.5.2
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -107,55 +107,214 @@
|
|
107
107
|
|
108
108
|
|
109
109
|
|
110
|
+
<h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
|
111
|
+
<ul class="summary">
|
112
|
+
|
113
|
+
<li class="public ">
|
114
|
+
<span class="summary_signature">
|
115
|
+
|
116
|
+
<a href="#association-instance_method" title="#association (instance method)">- (ZendeskAPI::Association) <strong>association</strong> </a>
|
117
|
+
|
118
|
+
|
119
|
+
|
120
|
+
</span>
|
121
|
+
|
122
|
+
<span class="note title not_defined_here">
|
123
|
+
inherited
|
124
|
+
from <span class='object_link'><a href="Data.html#association-instance_method" title="ZendeskAPI::Data#association (method)">Data</a></span>
|
125
|
+
</span>
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
|
110
136
|
|
137
|
+
|
138
|
+
<span class="summary_desc"><div class='inline'>
|
139
|
+
<p>The association.</p>
|
140
|
+
</div></span>
|
141
|
+
|
142
|
+
</li>
|
143
|
+
|
144
|
+
|
145
|
+
<li class="public ">
|
146
|
+
<span class="summary_signature">
|
147
|
+
|
148
|
+
<a href="#attributes-instance_method" title="#attributes (instance method)">- (Hash) <strong>attributes</strong> </a>
|
149
|
+
|
111
150
|
|
112
|
-
|
151
|
+
|
152
|
+
(also: #to_param)
|
153
|
+
|
154
|
+
</span>
|
155
|
+
|
156
|
+
<span class="note title not_defined_here">
|
157
|
+
inherited
|
158
|
+
from <span class='object_link'><a href="Data.html#attributes-instance_method" title="ZendeskAPI::Data#attributes (method)">Data</a></span>
|
159
|
+
</span>
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
|
164
|
+
<span class="note title readonly">readonly</span>
|
165
|
+
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
|
170
|
+
|
113
171
|
|
114
|
-
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="DataResource.html" title="ZendeskAPI::DataResource (class)">DataResource</a></span></h3>
|
115
|
-
<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>
|
116
172
|
|
117
173
|
|
174
|
+
<span class="summary_desc"><div class='inline'>
|
175
|
+
<p>The resource's attributes.</p>
|
176
|
+
</div></span>
|
118
177
|
|
119
|
-
|
120
|
-
<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>
|
178
|
+
</li>
|
121
179
|
|
180
|
+
|
181
|
+
<li class="public ">
|
182
|
+
<span class="summary_signature">
|
183
|
+
|
184
|
+
<a href="#error-instance_method" title="#error (instance method)">- (Object) <strong>error</strong> </a>
|
185
|
+
|
122
186
|
|
187
|
+
|
188
|
+
</span>
|
189
|
+
|
190
|
+
<span class="note title not_defined_here">
|
191
|
+
inherited
|
192
|
+
from <span class='object_link'><a href="DataResource.html#error-instance_method" title="ZendeskAPI::DataResource#error (method)">DataResource</a></span>
|
193
|
+
</span>
|
194
|
+
|
195
|
+
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
|
202
|
+
|
203
|
+
|
123
204
|
|
124
205
|
|
206
|
+
<span class="summary_desc"><div class='inline'>
|
207
|
+
<p>Returns the value of attribute error.</p>
|
208
|
+
</div></span>
|
125
209
|
|
210
|
+
</li>
|
211
|
+
|
212
|
+
|
213
|
+
<li class="public ">
|
214
|
+
<span class="summary_signature">
|
215
|
+
|
216
|
+
<a href="#error_message-instance_method" title="#error_message (instance method)">- (Object) <strong>error_message</strong> </a>
|
217
|
+
|
218
|
+
|
219
|
+
|
220
|
+
</span>
|
126
221
|
|
222
|
+
<span class="note title not_defined_here">
|
223
|
+
inherited
|
224
|
+
from <span class='object_link'><a href="DataResource.html#error_message-instance_method" title="ZendeskAPI::DataResource#error_message (method)">DataResource</a></span>
|
225
|
+
</span>
|
127
226
|
|
128
227
|
|
129
228
|
|
229
|
+
|
230
|
+
|
130
231
|
|
131
232
|
|
132
233
|
|
133
234
|
|
134
235
|
|
236
|
+
|
135
237
|
|
136
|
-
|
238
|
+
<span class="summary_desc"><div class='inline'>
|
239
|
+
<p>Returns the value of attribute error_message.</p>
|
240
|
+
</div></span>
|
137
241
|
|
138
|
-
|
139
|
-
|
242
|
+
</li>
|
243
|
+
|
244
|
+
|
245
|
+
<li class="public ">
|
246
|
+
<span class="summary_signature">
|
247
|
+
|
248
|
+
<a href="#errors-instance_method" title="#errors (instance method)">- (Array) <strong>errors</strong> </a>
|
249
|
+
|
140
250
|
|
251
|
+
|
252
|
+
</span>
|
253
|
+
|
254
|
+
<span class="note title not_defined_here">
|
255
|
+
inherited
|
256
|
+
from <span class='object_link'><a href="Data.html#errors-instance_method" title="ZendeskAPI::Data#errors (method)">Data</a></span>
|
257
|
+
</span>
|
258
|
+
|
259
|
+
|
260
|
+
|
261
|
+
|
262
|
+
|
141
263
|
|
142
264
|
|
143
265
|
|
144
266
|
|
145
267
|
|
268
|
+
|
269
|
+
|
270
|
+
<span class="summary_desc"><div class='inline'>
|
271
|
+
<p>The last received errors.</p>
|
272
|
+
</div></span>
|
273
|
+
|
274
|
+
</li>
|
275
|
+
|
276
|
+
|
277
|
+
<li class="public ">
|
278
|
+
<span class="summary_signature">
|
279
|
+
|
280
|
+
<a href="#response-instance_method" title="#response (instance method)">- (Object) <strong>response</strong> </a>
|
281
|
+
|
282
|
+
|
283
|
+
|
284
|
+
</span>
|
146
285
|
|
286
|
+
<span class="note title not_defined_here">
|
287
|
+
inherited
|
288
|
+
from <span class='object_link'><a href="Data.html#response-instance_method" title="ZendeskAPI::Data#response (method)">Data</a></span>
|
289
|
+
</span>
|
147
290
|
|
148
291
|
|
149
292
|
|
293
|
+
|
294
|
+
|
150
295
|
|
151
296
|
|
152
297
|
|
153
298
|
|
154
299
|
|
155
|
-
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Data.html" title="ZendeskAPI::Data (class)">Data</a></span></h3>
|
156
|
-
<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>
|
157
300
|
|
158
301
|
|
302
|
+
<span class="summary_desc"><div class='inline'>
|
303
|
+
<p>Place to dump the last response.</p>
|
304
|
+
</div></span>
|
305
|
+
|
306
|
+
</li>
|
307
|
+
|
308
|
+
|
309
|
+
</ul>
|
310
|
+
|
311
|
+
|
312
|
+
|
313
|
+
|
314
|
+
|
315
|
+
|
316
|
+
|
317
|
+
|
159
318
|
|
160
319
|
|
161
320
|
|
@@ -177,13 +336,256 @@
|
|
177
336
|
|
178
337
|
</div>
|
179
338
|
|
339
|
+
<div id="instance_attr_details" class="attr_details">
|
340
|
+
<h2>Instance Attribute Details</h2>
|
341
|
+
|
342
|
+
|
343
|
+
<span id="association=-instance_method"></span>
|
344
|
+
<div class="method_details first">
|
345
|
+
<h3 class="signature first" id="association-instance_method">
|
346
|
+
|
347
|
+
- (<tt><span class='object_link'>ZendeskAPI::Association</span></tt>) <strong>association</strong>
|
348
|
+
|
349
|
+
|
350
|
+
|
351
|
+
|
352
|
+
|
353
|
+
<span class="not_defined_here">
|
354
|
+
Originally defined in class
|
355
|
+
<span class='object_link'><a href="Data.html#association-instance_method" title="ZendeskAPI::Data#association (method)">Data</a></span>
|
356
|
+
</span>
|
357
|
+
|
358
|
+
</h3><div class="docstring">
|
359
|
+
<div class="discussion">
|
360
|
+
|
361
|
+
<p>The association</p>
|
362
|
+
|
363
|
+
|
364
|
+
</div>
|
365
|
+
</div>
|
366
|
+
<div class="tags">
|
367
|
+
|
368
|
+
<p class="tag_title">Returns:</p>
|
369
|
+
<ul class="return">
|
370
|
+
|
371
|
+
<li>
|
372
|
+
|
373
|
+
|
374
|
+
<span class='type'>(<tt><span class='object_link'>ZendeskAPI::Association</span></tt>)</span>
|
375
|
+
|
376
|
+
|
377
|
+
|
378
|
+
—
|
379
|
+
<div class='inline'>
|
380
|
+
<p>The association</p>
|
381
|
+
</div>
|
382
|
+
|
383
|
+
</li>
|
384
|
+
|
385
|
+
</ul>
|
386
|
+
|
387
|
+
</div>
|
388
|
+
</div>
|
389
|
+
|
390
|
+
|
391
|
+
<span id=""></span>
|
392
|
+
<div class="method_details ">
|
393
|
+
<h3 class="signature " id="attributes-instance_method">
|
394
|
+
|
395
|
+
- (<tt>Hash</tt>) <strong>attributes</strong> <span class="extras">(readonly)</span>
|
396
|
+
|
397
|
+
|
398
|
+
|
399
|
+
<span class="aliases">Also known as:
|
400
|
+
<span class="names"><span id='to_param-instance_method'>to_param</span></span>
|
401
|
+
</span>
|
402
|
+
|
403
|
+
|
404
|
+
|
405
|
+
<span class="not_defined_here">
|
406
|
+
Originally defined in class
|
407
|
+
<span class='object_link'><a href="Data.html#attributes-instance_method" title="ZendeskAPI::Data#attributes (method)">Data</a></span>
|
408
|
+
</span>
|
409
|
+
|
410
|
+
</h3><div class="docstring">
|
411
|
+
<div class="discussion">
|
412
|
+
|
413
|
+
<p>The resource's attributes</p>
|
414
|
+
|
415
|
+
|
416
|
+
</div>
|
417
|
+
</div>
|
418
|
+
<div class="tags">
|
419
|
+
|
420
|
+
<p class="tag_title">Returns:</p>
|
421
|
+
<ul class="return">
|
422
|
+
|
423
|
+
<li>
|
424
|
+
|
425
|
+
|
426
|
+
<span class='type'>(<tt>Hash</tt>)</span>
|
427
|
+
|
428
|
+
|
429
|
+
|
430
|
+
—
|
431
|
+
<div class='inline'>
|
432
|
+
<p>The resource's attributes</p>
|
433
|
+
</div>
|
434
|
+
|
435
|
+
</li>
|
436
|
+
|
437
|
+
</ul>
|
438
|
+
|
439
|
+
</div>
|
440
|
+
</div>
|
441
|
+
|
442
|
+
|
443
|
+
<span id="error=-instance_method"></span>
|
444
|
+
<div class="method_details ">
|
445
|
+
<h3 class="signature " id="error-instance_method">
|
446
|
+
|
447
|
+
- (<tt>Object</tt>) <strong>error</strong>
|
448
|
+
|
449
|
+
|
450
|
+
|
451
|
+
|
452
|
+
|
453
|
+
<span class="not_defined_here">
|
454
|
+
Originally defined in class
|
455
|
+
<span class='object_link'><a href="DataResource.html#error-instance_method" title="ZendeskAPI::DataResource#error (method)">DataResource</a></span>
|
456
|
+
</span>
|
457
|
+
|
458
|
+
</h3><div class="docstring">
|
459
|
+
<div class="discussion">
|
460
|
+
|
461
|
+
<p>Returns the value of attribute error</p>
|
462
|
+
|
463
|
+
|
464
|
+
</div>
|
465
|
+
</div>
|
466
|
+
<div class="tags">
|
467
|
+
|
468
|
+
|
469
|
+
</div>
|
470
|
+
</div>
|
471
|
+
|
472
|
+
|
473
|
+
<span id="error_message=-instance_method"></span>
|
474
|
+
<div class="method_details ">
|
475
|
+
<h3 class="signature " id="error_message-instance_method">
|
476
|
+
|
477
|
+
- (<tt>Object</tt>) <strong>error_message</strong>
|
478
|
+
|
479
|
+
|
480
|
+
|
481
|
+
|
482
|
+
|
483
|
+
<span class="not_defined_here">
|
484
|
+
Originally defined in class
|
485
|
+
<span class='object_link'><a href="DataResource.html#error_message-instance_method" title="ZendeskAPI::DataResource#error_message (method)">DataResource</a></span>
|
486
|
+
</span>
|
487
|
+
|
488
|
+
</h3><div class="docstring">
|
489
|
+
<div class="discussion">
|
490
|
+
|
491
|
+
<p>Returns the value of attribute error_message</p>
|
492
|
+
|
493
|
+
|
494
|
+
</div>
|
495
|
+
</div>
|
496
|
+
<div class="tags">
|
497
|
+
|
498
|
+
|
499
|
+
</div>
|
500
|
+
</div>
|
501
|
+
|
502
|
+
|
503
|
+
<span id="errors=-instance_method"></span>
|
504
|
+
<div class="method_details ">
|
505
|
+
<h3 class="signature " id="errors-instance_method">
|
506
|
+
|
507
|
+
- (<tt>Array</tt>) <strong>errors</strong>
|
508
|
+
|
509
|
+
|
510
|
+
|
511
|
+
|
512
|
+
|
513
|
+
<span class="not_defined_here">
|
514
|
+
Originally defined in class
|
515
|
+
<span class='object_link'><a href="Data.html#errors-instance_method" title="ZendeskAPI::Data#errors (method)">Data</a></span>
|
516
|
+
</span>
|
517
|
+
|
518
|
+
</h3><div class="docstring">
|
519
|
+
<div class="discussion">
|
520
|
+
|
521
|
+
<p>The last received errors</p>
|
522
|
+
|
523
|
+
|
524
|
+
</div>
|
525
|
+
</div>
|
526
|
+
<div class="tags">
|
527
|
+
|
528
|
+
<p class="tag_title">Returns:</p>
|
529
|
+
<ul class="return">
|
530
|
+
|
531
|
+
<li>
|
532
|
+
|
533
|
+
|
534
|
+
<span class='type'>(<tt>Array</tt>)</span>
|
535
|
+
|
536
|
+
|
537
|
+
|
538
|
+
—
|
539
|
+
<div class='inline'>
|
540
|
+
<p>The last received errors</p>
|
541
|
+
</div>
|
542
|
+
|
543
|
+
</li>
|
544
|
+
|
545
|
+
</ul>
|
546
|
+
|
547
|
+
</div>
|
548
|
+
</div>
|
549
|
+
|
550
|
+
|
551
|
+
<span id="response=-instance_method"></span>
|
552
|
+
<div class="method_details ">
|
553
|
+
<h3 class="signature " id="response-instance_method">
|
554
|
+
|
555
|
+
- (<tt>Object</tt>) <strong>response</strong>
|
556
|
+
|
557
|
+
|
558
|
+
|
559
|
+
|
560
|
+
|
561
|
+
<span class="not_defined_here">
|
562
|
+
Originally defined in class
|
563
|
+
<span class='object_link'><a href="Data.html#response-instance_method" title="ZendeskAPI::Data#response (method)">Data</a></span>
|
564
|
+
</span>
|
565
|
+
|
566
|
+
</h3><div class="docstring">
|
567
|
+
<div class="discussion">
|
568
|
+
|
569
|
+
<p>Place to dump the last response</p>
|
570
|
+
|
571
|
+
|
572
|
+
</div>
|
573
|
+
</div>
|
574
|
+
<div class="tags">
|
575
|
+
|
576
|
+
|
577
|
+
</div>
|
578
|
+
</div>
|
579
|
+
|
580
|
+
</div>
|
581
|
+
|
180
582
|
|
181
583
|
</div>
|
182
584
|
|
183
585
|
<div id="footer">
|
184
|
-
Generated on
|
586
|
+
Generated on Wed May 15 18:59:31 2013 by
|
185
587
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
186
|
-
0.8.
|
588
|
+
0.8.5.2 (ruby-1.9.3).
|
187
589
|
</div>
|
188
590
|
|
189
591
|
</body>
|