desk 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. data/.gemtest +0 -0
  2. data/.gitignore +11 -0
  3. data/.rspec +3 -0
  4. data/.yardopts +9 -0
  5. data/Gemfile +12 -0
  6. data/HISTORY.mkd +44 -0
  7. data/LICENSE.mkd +20 -0
  8. data/README.mkd +267 -0
  9. data/Rakefile +23 -0
  10. data/desk.gemspec +44 -0
  11. data/lib/desk.rb +26 -0
  12. data/lib/desk/api.rb +28 -0
  13. data/lib/desk/authentication.rb +25 -0
  14. data/lib/desk/client.rb +28 -0
  15. data/lib/desk/client/article.rb +92 -0
  16. data/lib/desk/client/case.rb +55 -0
  17. data/lib/desk/client/customer.rb +146 -0
  18. data/lib/desk/client/interaction.rb +75 -0
  19. data/lib/desk/client/macro.rb +142 -0
  20. data/lib/desk/client/topic.rb +90 -0
  21. data/lib/desk/client/user.rb +38 -0
  22. data/lib/desk/configuration.rb +98 -0
  23. data/lib/desk/connection.rb +39 -0
  24. data/lib/desk/error.rb +67 -0
  25. data/lib/desk/request.rb +44 -0
  26. data/lib/desk/version.rb +4 -0
  27. data/lib/faraday/request/multipart_with_file.rb +30 -0
  28. data/lib/faraday/request/oauth.rb +23 -0
  29. data/lib/faraday/response/raise_http_4xx.rb +45 -0
  30. data/lib/faraday/response/raise_http_5xx.rb +24 -0
  31. data/spec/desk/api_spec.rb +70 -0
  32. data/spec/desk/client/article_spec.rb +134 -0
  33. data/spec/desk/client/case_spec.rb +99 -0
  34. data/spec/desk/client/customer_spec.rb +158 -0
  35. data/spec/desk/client/interaction_spec.rb +191 -0
  36. data/spec/desk/client/macro_spec.rb +204 -0
  37. data/spec/desk/client/topic_spec.rb +135 -0
  38. data/spec/desk/client/user_spec.rb +58 -0
  39. data/spec/desk/client_spec.rb +10 -0
  40. data/spec/desk_spec.rb +127 -0
  41. data/spec/faraday/response_spec.rb +34 -0
  42. data/spec/fixtures/article.json +50 -0
  43. data/spec/fixtures/article_create.json +54 -0
  44. data/spec/fixtures/article_destroy.json +3 -0
  45. data/spec/fixtures/article_update.json +54 -0
  46. data/spec/fixtures/articles.json +58 -0
  47. data/spec/fixtures/case.json +59 -0
  48. data/spec/fixtures/case_update.json +59 -0
  49. data/spec/fixtures/cases.json +182 -0
  50. data/spec/fixtures/customer.json +58 -0
  51. data/spec/fixtures/customer_create.json +56 -0
  52. data/spec/fixtures/customer_create_email.json +15 -0
  53. data/spec/fixtures/customer_update.json +47 -0
  54. data/spec/fixtures/customer_update_email.json +15 -0
  55. data/spec/fixtures/customers.json +98 -0
  56. data/spec/fixtures/interaction_create.json +126 -0
  57. data/spec/fixtures/interactions.json +139 -0
  58. data/spec/fixtures/macro.json +8 -0
  59. data/spec/fixtures/macro_action.json +9 -0
  60. data/spec/fixtures/macro_action_update.json +12 -0
  61. data/spec/fixtures/macro_actions.json +69 -0
  62. data/spec/fixtures/macro_create.json +13 -0
  63. data/spec/fixtures/macro_destroy.json +3 -0
  64. data/spec/fixtures/macro_update.json +13 -0
  65. data/spec/fixtures/macros.json +24 -0
  66. data/spec/fixtures/topic.json +9 -0
  67. data/spec/fixtures/topic_create.json +14 -0
  68. data/spec/fixtures/topic_destroy.json +3 -0
  69. data/spec/fixtures/topic_update.json +14 -0
  70. data/spec/fixtures/topics.json +35 -0
  71. data/spec/fixtures/user.json +15 -0
  72. data/spec/fixtures/users.json +24 -0
  73. data/spec/helper.rb +55 -0
  74. metadata +464 -0
@@ -0,0 +1,8 @@
1
+ {
2
+ "macro":
3
+ {
4
+ "id":13,
5
+ "name":"API Macro",
6
+ "enabled":true
7
+ }
8
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "action":
3
+ {
4
+ "id":201,
5
+ "slug":"set-case-description",
6
+ "value":"Description to be applied",
7
+ "enabled":true
8
+ }
9
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "success":true,
3
+ "results":
4
+ {
5
+ "action":
6
+ {
7
+ "slug":"set-case-description",
8
+ "value":"Description to be applied",
9
+ "enabled":true
10
+ }
11
+ }
12
+ }
@@ -0,0 +1,69 @@
1
+ {
2
+ "results":
3
+ [
4
+ {
5
+ "action":
6
+ {
7
+ "slug":"set-case-description",
8
+ "value":"Description to be applied",
9
+ "enabled":true
10
+ }
11
+ },
12
+ {
13
+ "action":
14
+ {
15
+ "slug":"set-case-priority",
16
+ "value":"10",
17
+ "enabled":true
18
+ }
19
+ },
20
+ {
21
+ "action":
22
+ {
23
+ "slug":"set-case-status",
24
+ "value":"",
25
+ "enabled":false
26
+ }
27
+ },
28
+ {
29
+ "action":
30
+ {
31
+ "slug":"set-case-group",
32
+ "value":"",
33
+ "enabled":false
34
+ }
35
+ },
36
+ {
37
+ "action":
38
+ {
39
+ "slug":"set-case-user",
40
+ "value":"",
41
+ "enabled":false
42
+ }
43
+ },
44
+ {
45
+ "action":
46
+ {
47
+ "slug":"set-case-quick-reply",
48
+ "value":"",
49
+ "enabled":false
50
+ }
51
+ },
52
+ {
53
+ "action":
54
+ {
55
+ "slug":"append-case-article",
56
+ "value":"",
57
+ "enabled":false
58
+ }
59
+ },
60
+ {
61
+ "action":
62
+ {
63
+ "slug":"set-case-outbound-email-subject",
64
+ "value":"",
65
+ "enabled":false
66
+ }
67
+ }
68
+ ]
69
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "success":true,
3
+ "results":
4
+ {
5
+ "macro":
6
+ {
7
+ "id":12,
8
+ "name":"API Macro",
9
+ "enabled":true,
10
+ "labels":"Escalated,Some Other Label"
11
+ }
12
+ }
13
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "success":true
3
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "success":true,
3
+ "results":
4
+ {
5
+ "macro":
6
+ {
7
+ "id":13,
8
+ "name":"Updated",
9
+ "enabled":true,
10
+ "labels":"Escalated,Some Other Label"
11
+ }
12
+ }
13
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "results":
3
+ [
4
+ {
5
+ "macro":
6
+ {
7
+ "id":11,
8
+ "name":"Test Macro",
9
+ "enabled":false
10
+ }
11
+ },
12
+ {
13
+ "macro":
14
+ {
15
+ "id":12,
16
+ "name":"API Macro",
17
+ "enabled":true
18
+ }
19
+ }
20
+ ],
21
+ "page":1,
22
+ "count":20,
23
+ "total":2
24
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "topic":
3
+ {
4
+ "id":1,
5
+ "name":"General",
6
+ "description":"Anything goes here",
7
+ "show_in_portal":true
8
+ }
9
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "success":true,
3
+ "results":
4
+ {
5
+ "topic":
6
+ {
7
+ "id":9,
8
+ "name":"General",
9
+ "description":"Everything belongs here",
10
+ "show_in_portal":true
11
+ }
12
+
13
+ }
14
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "success":true
3
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "success":true,
3
+ "results":
4
+ {
5
+ "topic":
6
+ {
7
+ "id":13,
8
+ "name":"Updated",
9
+ "description":"Updated Description",
10
+ "show_in_portal":true
11
+ }
12
+
13
+ }
14
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "results":
3
+ [
4
+ {
5
+ "topic":
6
+ {
7
+ "id":1,
8
+ "name":"Sample :: General",
9
+ "description":"Sample Topic Description :: Information about our company",
10
+ "show_in_portal":true
11
+ }
12
+ },
13
+ {
14
+ "topic":
15
+ {
16
+ "id":2,
17
+ "name":"Canned Responses",
18
+ "description":"Internal responses to common questions",
19
+ "show_in_portal":false
20
+ }
21
+ },
22
+ {
23
+ "topic":
24
+ {
25
+ "id":3,
26
+ "name":"Sample :: Products",
27
+ "description":"Sample Topic Description :: Information about our products",
28
+ "show_in_portal":true
29
+ }
30
+ }
31
+ ],
32
+ "page":1,
33
+ "count":20,
34
+ "total":3
35
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "user":
3
+ {
4
+ "id":1,
5
+ "name":"Chris Warren",
6
+ "name_public":"Chris",
7
+ "email":"chris@zencoder.com",
8
+ "created_at":"2009-11-25T14:58:39Z",
9
+ "updated_at":"2010-07-19T02:36:21Z",
10
+ "user_level":"sysadmin",
11
+ "login_count":561,
12
+ "time_zone":"Central Time (US & Canada)",
13
+ "last_login_at":"2010-07-18T02:06:08Z"
14
+ }
15
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "results":
3
+ [
4
+ {
5
+ "user":
6
+ {
7
+ "id":1,
8
+ "name":"Test User",
9
+ "name_public":"Test User",
10
+ "email":"testuser@desk.com",
11
+ "created_at":"2011-01-28T16:30:16Z",
12
+ "updated_at":"2011-01-28T16:31:09Z",
13
+ "user_level":"siteadmin_billing",
14
+ "login_count":1,
15
+ "time_zone":"Pacific Time (US & Canada)",
16
+ "last_login_at":null,
17
+ "current_login_at":"2011-01-28T16:30:16Z"
18
+ }
19
+ }
20
+ ],
21
+ "page":1,
22
+ "count":20,
23
+ "total":1
24
+ }
data/spec/helper.rb ADDED
@@ -0,0 +1,55 @@
1
+ require 'simplecov'
2
+ SimpleCov.start do
3
+ add_group 'Desk', 'lib/desk'
4
+ add_group 'Faraday Middleware', 'lib/faraday'
5
+ add_group 'Specs', 'spec'
6
+ end
7
+ require 'desk'
8
+ require 'pony'
9
+ require 'rspec'
10
+ require 'webmock/rspec'
11
+ require 'email_spec'
12
+ require 'ruby-debug'
13
+ RSpec.configure do |config|
14
+ config.include WebMock::API
15
+ end
16
+
17
+ def a_delete(path)
18
+ a_request(:delete, Desk.endpoint + path)
19
+ end
20
+
21
+ def a_get(path)
22
+ a_request(:get, Desk.endpoint + path)
23
+ end
24
+
25
+ def a_post(path)
26
+ a_request(:post, Desk.endpoint + path)
27
+ end
28
+
29
+ def a_put(path)
30
+ a_request(:put, Desk.endpoint + path)
31
+ end
32
+
33
+ def stub_delete(path)
34
+ stub_request(:delete, Desk.endpoint + path)
35
+ end
36
+
37
+ def stub_get(path)
38
+ stub_request(:get, Desk.endpoint + path)
39
+ end
40
+
41
+ def stub_post(path)
42
+ stub_request(:post, Desk.endpoint + path)
43
+ end
44
+
45
+ def stub_put(path)
46
+ stub_request(:put, Desk.endpoint + path)
47
+ end
48
+
49
+ def fixture_path
50
+ File.expand_path("../fixtures", __FILE__)
51
+ end
52
+
53
+ def fixture(file)
54
+ File.new(fixture_path + '/' + file)
55
+ end
metadata ADDED
@@ -0,0 +1,464 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: desk
3
+ version: !ruby/object:Gem::Version
4
+ hash: 19
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 3
9
+ - 0
10
+ version: 0.3.0
11
+ platform: ruby
12
+ authors:
13
+ - Chris Warren
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2012-07-15 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: nokogiri
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
25
+ requirements:
26
+ - - ~>
27
+ - !ruby/object:Gem::Version
28
+ hash: 7
29
+ segments:
30
+ - 1
31
+ - 4
32
+ version: "1.4"
33
+ type: :development
34
+ version_requirements: *id001
35
+ - !ruby/object:Gem::Dependency
36
+ name: maruku
37
+ prerelease: false
38
+ requirement: &id002 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ~>
42
+ - !ruby/object:Gem::Version
43
+ hash: 7
44
+ segments:
45
+ - 0
46
+ - 6
47
+ version: "0.6"
48
+ type: :development
49
+ version_requirements: *id002
50
+ - !ruby/object:Gem::Dependency
51
+ name: rake
52
+ prerelease: false
53
+ requirement: &id003 !ruby/object:Gem::Requirement
54
+ none: false
55
+ requirements:
56
+ - - ~>
57
+ - !ruby/object:Gem::Version
58
+ hash: 27
59
+ segments:
60
+ - 0
61
+ - 8
62
+ version: "0.8"
63
+ type: :development
64
+ version_requirements: *id003
65
+ - !ruby/object:Gem::Dependency
66
+ name: rspec
67
+ prerelease: false
68
+ requirement: &id004 !ruby/object:Gem::Requirement
69
+ none: false
70
+ requirements:
71
+ - - ~>
72
+ - !ruby/object:Gem::Version
73
+ hash: 9
74
+ segments:
75
+ - 2
76
+ - 5
77
+ version: "2.5"
78
+ type: :development
79
+ version_requirements: *id004
80
+ - !ruby/object:Gem::Dependency
81
+ name: email_spec
82
+ prerelease: false
83
+ requirement: &id005 !ruby/object:Gem::Requirement
84
+ none: false
85
+ requirements:
86
+ - - ~>
87
+ - !ruby/object:Gem::Version
88
+ hash: 17
89
+ segments:
90
+ - 1
91
+ - 1
92
+ - 1
93
+ version: 1.1.1
94
+ type: :development
95
+ version_requirements: *id005
96
+ - !ruby/object:Gem::Dependency
97
+ name: simplecov
98
+ prerelease: false
99
+ requirement: &id006 !ruby/object:Gem::Requirement
100
+ none: false
101
+ requirements:
102
+ - - ~>
103
+ - !ruby/object:Gem::Version
104
+ hash: 3
105
+ segments:
106
+ - 0
107
+ - 4
108
+ version: "0.4"
109
+ type: :development
110
+ version_requirements: *id006
111
+ - !ruby/object:Gem::Dependency
112
+ name: webmock
113
+ prerelease: false
114
+ requirement: &id007 !ruby/object:Gem::Requirement
115
+ none: false
116
+ requirements:
117
+ - - ~>
118
+ - !ruby/object:Gem::Version
119
+ hash: 3
120
+ segments:
121
+ - 1
122
+ - 6
123
+ version: "1.6"
124
+ type: :development
125
+ version_requirements: *id007
126
+ - !ruby/object:Gem::Dependency
127
+ name: yard
128
+ prerelease: false
129
+ requirement: &id008 !ruby/object:Gem::Requirement
130
+ none: false
131
+ requirements:
132
+ - - ~>
133
+ - !ruby/object:Gem::Version
134
+ hash: 7
135
+ segments:
136
+ - 0
137
+ - 6
138
+ version: "0.6"
139
+ type: :development
140
+ version_requirements: *id008
141
+ - !ruby/object:Gem::Dependency
142
+ name: ZenTest
143
+ prerelease: false
144
+ requirement: &id009 !ruby/object:Gem::Requirement
145
+ none: false
146
+ requirements:
147
+ - - ~>
148
+ - !ruby/object:Gem::Version
149
+ hash: 17
150
+ segments:
151
+ - 4
152
+ - 5
153
+ version: "4.5"
154
+ type: :development
155
+ version_requirements: *id009
156
+ - !ruby/object:Gem::Dependency
157
+ name: json
158
+ prerelease: false
159
+ requirement: &id010 !ruby/object:Gem::Requirement
160
+ none: false
161
+ requirements:
162
+ - - ~>
163
+ - !ruby/object:Gem::Version
164
+ hash: 1
165
+ segments:
166
+ - 1
167
+ - 7
168
+ version: "1.7"
169
+ type: :runtime
170
+ version_requirements: *id010
171
+ - !ruby/object:Gem::Dependency
172
+ name: hashie
173
+ prerelease: false
174
+ requirement: &id011 !ruby/object:Gem::Requirement
175
+ none: false
176
+ requirements:
177
+ - - ~>
178
+ - !ruby/object:Gem::Version
179
+ hash: 31
180
+ segments:
181
+ - 1
182
+ - 2
183
+ - 0
184
+ version: 1.2.0
185
+ type: :runtime
186
+ version_requirements: *id011
187
+ - !ruby/object:Gem::Dependency
188
+ name: faraday
189
+ prerelease: false
190
+ requirement: &id012 !ruby/object:Gem::Requirement
191
+ none: false
192
+ requirements:
193
+ - - ~>
194
+ - !ruby/object:Gem::Version
195
+ hash: 63
196
+ segments:
197
+ - 0
198
+ - 8
199
+ - 0
200
+ version: 0.8.0
201
+ type: :runtime
202
+ version_requirements: *id012
203
+ - !ruby/object:Gem::Dependency
204
+ name: faraday_middleware
205
+ prerelease: false
206
+ requirement: &id013 !ruby/object:Gem::Requirement
207
+ none: false
208
+ requirements:
209
+ - - ~>
210
+ - !ruby/object:Gem::Version
211
+ hash: 63
212
+ segments:
213
+ - 0
214
+ - 8
215
+ - 0
216
+ version: 0.8.0
217
+ type: :runtime
218
+ version_requirements: *id013
219
+ - !ruby/object:Gem::Dependency
220
+ name: multi_json
221
+ prerelease: false
222
+ requirement: &id014 !ruby/object:Gem::Requirement
223
+ none: false
224
+ requirements:
225
+ - - ~>
226
+ - !ruby/object:Gem::Version
227
+ hash: 17
228
+ segments:
229
+ - 1
230
+ - 0
231
+ - 3
232
+ version: 1.0.3
233
+ type: :runtime
234
+ version_requirements: *id014
235
+ - !ruby/object:Gem::Dependency
236
+ name: multi_xml
237
+ prerelease: false
238
+ requirement: &id015 !ruby/object:Gem::Requirement
239
+ none: false
240
+ requirements:
241
+ - - ~>
242
+ - !ruby/object:Gem::Version
243
+ hash: 15
244
+ segments:
245
+ - 0
246
+ - 4
247
+ - 0
248
+ version: 0.4.0
249
+ type: :runtime
250
+ version_requirements: *id015
251
+ - !ruby/object:Gem::Dependency
252
+ name: rash
253
+ prerelease: false
254
+ requirement: &id016 !ruby/object:Gem::Requirement
255
+ none: false
256
+ requirements:
257
+ - - ~>
258
+ - !ruby/object:Gem::Version
259
+ hash: 17
260
+ segments:
261
+ - 0
262
+ - 3
263
+ - 1
264
+ version: 0.3.1
265
+ type: :runtime
266
+ version_requirements: *id016
267
+ - !ruby/object:Gem::Dependency
268
+ name: simple_oauth
269
+ prerelease: false
270
+ requirement: &id017 !ruby/object:Gem::Requirement
271
+ none: false
272
+ requirements:
273
+ - - ~>
274
+ - !ruby/object:Gem::Version
275
+ hash: 19
276
+ segments:
277
+ - 0
278
+ - 1
279
+ - 4
280
+ version: 0.1.4
281
+ type: :runtime
282
+ version_requirements: *id017
283
+ - !ruby/object:Gem::Dependency
284
+ name: pony
285
+ prerelease: false
286
+ requirement: &id018 !ruby/object:Gem::Requirement
287
+ none: false
288
+ requirements:
289
+ - - ~>
290
+ - !ruby/object:Gem::Version
291
+ hash: 13
292
+ segments:
293
+ - 1
294
+ - 1
295
+ version: "1.1"
296
+ type: :runtime
297
+ version_requirements: *id018
298
+ description: A Ruby wrapper for the Desk.com REST API
299
+ email:
300
+ - chris@zencoder.com
301
+ executables: []
302
+
303
+ extensions: []
304
+
305
+ extra_rdoc_files: []
306
+
307
+ files:
308
+ - .gemtest
309
+ - .gitignore
310
+ - .rspec
311
+ - .yardopts
312
+ - Gemfile
313
+ - HISTORY.mkd
314
+ - LICENSE.mkd
315
+ - README.mkd
316
+ - Rakefile
317
+ - desk.gemspec
318
+ - lib/desk.rb
319
+ - lib/desk/api.rb
320
+ - lib/desk/authentication.rb
321
+ - lib/desk/client.rb
322
+ - lib/desk/client/article.rb
323
+ - lib/desk/client/case.rb
324
+ - lib/desk/client/customer.rb
325
+ - lib/desk/client/interaction.rb
326
+ - lib/desk/client/macro.rb
327
+ - lib/desk/client/topic.rb
328
+ - lib/desk/client/user.rb
329
+ - lib/desk/configuration.rb
330
+ - lib/desk/connection.rb
331
+ - lib/desk/error.rb
332
+ - lib/desk/request.rb
333
+ - lib/desk/version.rb
334
+ - lib/faraday/request/multipart_with_file.rb
335
+ - lib/faraday/request/oauth.rb
336
+ - lib/faraday/response/raise_http_4xx.rb
337
+ - lib/faraday/response/raise_http_5xx.rb
338
+ - spec/desk/api_spec.rb
339
+ - spec/desk/client/article_spec.rb
340
+ - spec/desk/client/case_spec.rb
341
+ - spec/desk/client/customer_spec.rb
342
+ - spec/desk/client/interaction_spec.rb
343
+ - spec/desk/client/macro_spec.rb
344
+ - spec/desk/client/topic_spec.rb
345
+ - spec/desk/client/user_spec.rb
346
+ - spec/desk/client_spec.rb
347
+ - spec/desk_spec.rb
348
+ - spec/faraday/response_spec.rb
349
+ - spec/fixtures/article.json
350
+ - spec/fixtures/article_create.json
351
+ - spec/fixtures/article_destroy.json
352
+ - spec/fixtures/article_update.json
353
+ - spec/fixtures/articles.json
354
+ - spec/fixtures/case.json
355
+ - spec/fixtures/case_update.json
356
+ - spec/fixtures/cases.json
357
+ - spec/fixtures/customer.json
358
+ - spec/fixtures/customer_create.json
359
+ - spec/fixtures/customer_create_email.json
360
+ - spec/fixtures/customer_update.json
361
+ - spec/fixtures/customer_update_email.json
362
+ - spec/fixtures/customers.json
363
+ - spec/fixtures/interaction_create.json
364
+ - spec/fixtures/interactions.json
365
+ - spec/fixtures/macro.json
366
+ - spec/fixtures/macro_action.json
367
+ - spec/fixtures/macro_action_update.json
368
+ - spec/fixtures/macro_actions.json
369
+ - spec/fixtures/macro_create.json
370
+ - spec/fixtures/macro_destroy.json
371
+ - spec/fixtures/macro_update.json
372
+ - spec/fixtures/macros.json
373
+ - spec/fixtures/topic.json
374
+ - spec/fixtures/topic_create.json
375
+ - spec/fixtures/topic_destroy.json
376
+ - spec/fixtures/topic_update.json
377
+ - spec/fixtures/topics.json
378
+ - spec/fixtures/user.json
379
+ - spec/fixtures/users.json
380
+ - spec/helper.rb
381
+ homepage: https://github.com/zencoder/desk
382
+ licenses: []
383
+
384
+ post_install_message: |
385
+ ********************************************************************************
386
+ Ruby wrapper for the Desk.com API.
387
+ ********************************************************************************
388
+
389
+ rdoc_options: []
390
+
391
+ require_paths:
392
+ - lib
393
+ required_ruby_version: !ruby/object:Gem::Requirement
394
+ none: false
395
+ requirements:
396
+ - - ">="
397
+ - !ruby/object:Gem::Version
398
+ hash: 3
399
+ segments:
400
+ - 0
401
+ version: "0"
402
+ required_rubygems_version: !ruby/object:Gem::Requirement
403
+ none: false
404
+ requirements:
405
+ - - ">="
406
+ - !ruby/object:Gem::Version
407
+ hash: 23
408
+ segments:
409
+ - 1
410
+ - 3
411
+ - 6
412
+ version: 1.3.6
413
+ requirements: []
414
+
415
+ rubyforge_project: desk
416
+ rubygems_version: 1.8.24
417
+ signing_key:
418
+ specification_version: 3
419
+ summary: Ruby wrapper for the Desk.com API
420
+ test_files:
421
+ - spec/desk/api_spec.rb
422
+ - spec/desk/client/article_spec.rb
423
+ - spec/desk/client/case_spec.rb
424
+ - spec/desk/client/customer_spec.rb
425
+ - spec/desk/client/interaction_spec.rb
426
+ - spec/desk/client/macro_spec.rb
427
+ - spec/desk/client/topic_spec.rb
428
+ - spec/desk/client/user_spec.rb
429
+ - spec/desk/client_spec.rb
430
+ - spec/desk_spec.rb
431
+ - spec/faraday/response_spec.rb
432
+ - spec/fixtures/article.json
433
+ - spec/fixtures/article_create.json
434
+ - spec/fixtures/article_destroy.json
435
+ - spec/fixtures/article_update.json
436
+ - spec/fixtures/articles.json
437
+ - spec/fixtures/case.json
438
+ - spec/fixtures/case_update.json
439
+ - spec/fixtures/cases.json
440
+ - spec/fixtures/customer.json
441
+ - spec/fixtures/customer_create.json
442
+ - spec/fixtures/customer_create_email.json
443
+ - spec/fixtures/customer_update.json
444
+ - spec/fixtures/customer_update_email.json
445
+ - spec/fixtures/customers.json
446
+ - spec/fixtures/interaction_create.json
447
+ - spec/fixtures/interactions.json
448
+ - spec/fixtures/macro.json
449
+ - spec/fixtures/macro_action.json
450
+ - spec/fixtures/macro_action_update.json
451
+ - spec/fixtures/macro_actions.json
452
+ - spec/fixtures/macro_create.json
453
+ - spec/fixtures/macro_destroy.json
454
+ - spec/fixtures/macro_update.json
455
+ - spec/fixtures/macros.json
456
+ - spec/fixtures/topic.json
457
+ - spec/fixtures/topic_create.json
458
+ - spec/fixtures/topic_destroy.json
459
+ - spec/fixtures/topic_update.json
460
+ - spec/fixtures/topics.json
461
+ - spec/fixtures/user.json
462
+ - spec/fixtures/users.json
463
+ - spec/helper.rb
464
+ has_rdoc: