mushikago-sdk 0.3.5 → 0.3.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. data/README.md +2 -2
  2. data/doc/Mushikago.html +3 -3
  3. data/doc/Mushikago/Auth.html +1 -1
  4. data/doc/Mushikago/Auth/Signature.html +1 -1
  5. data/doc/Mushikago/Auth/Signer.html +1 -1
  6. data/doc/Mushikago/Config.html +1 -1
  7. data/doc/Mushikago/Hotaru.html +1 -1
  8. data/doc/Mushikago/Hotaru/Client.html +1 -1
  9. data/doc/Mushikago/Hotaru/Request.html +1 -1
  10. data/doc/Mushikago/Http.html +1 -1
  11. data/doc/Mushikago/Http/Client.html +1 -1
  12. data/doc/Mushikago/Http/MultipartRequest.html +1 -1
  13. data/doc/Mushikago/Http/Request.html +1 -1
  14. data/doc/Mushikago/Http/Response.html +50 -1
  15. data/doc/Mushikago/Mitsubachi.html +3 -3
  16. data/doc/Mushikago/Mitsubachi/Client.html +219 -88
  17. data/doc/Mushikago/Mitsubachi/HttpFetchRequest.html +1 -1
  18. data/doc/Mushikago/Mitsubachi/HttpPushRequest.html +1 -1
  19. data/doc/Mushikago/Mitsubachi/MultipartRequest.html +1 -1
  20. data/doc/Mushikago/Mitsubachi/Project.html +742 -0
  21. data/doc/Mushikago/Mitsubachi/ProjectCreateRequest.html +1 -1
  22. data/doc/Mushikago/Mitsubachi/ProjectDeleteRequest.html +1 -1
  23. data/doc/Mushikago/Mitsubachi/ProjectDiscontinueRequest.html +1 -1
  24. data/doc/Mushikago/Mitsubachi/ProjectInfoRequest.html +1 -1
  25. data/doc/Mushikago/Mitsubachi/ProjectListRequest.html +1 -1
  26. data/doc/Mushikago/Mitsubachi/ProjectQueuesRequest.html +1 -1
  27. data/doc/Mushikago/Mitsubachi/ProjectUpdateRequest.html +1 -1
  28. data/doc/Mushikago/Mitsubachi/Projects.html +474 -0
  29. data/doc/Mushikago/Mitsubachi/Request.html +1 -1
  30. data/doc/Mushikago/Mitsubachi/Resource.html +569 -0
  31. data/doc/Mushikago/Mitsubachi/ResourceDeleteRequest.html +1 -1
  32. data/doc/Mushikago/Mitsubachi/ResourceGetRequest.html +1 -1
  33. data/doc/Mushikago/Mitsubachi/ResourceListRequest.html +1 -1
  34. data/doc/Mushikago/Mitsubachi/ResourceStoreRequest.html +1 -1
  35. data/doc/Mushikago/Mitsubachi/Resources.html +546 -0
  36. data/doc/Mushikago/Mitsubachi/Script.html +569 -0
  37. data/doc/Mushikago/Mitsubachi/ScriptDeleteRequest.html +1 -1
  38. data/doc/Mushikago/Mitsubachi/ScriptDeployRequest.html +1 -1
  39. data/doc/Mushikago/Mitsubachi/ScriptGetRequest.html +1 -1
  40. data/doc/Mushikago/Mitsubachi/ScriptListRequest.html +1 -1
  41. data/doc/Mushikago/Mitsubachi/Scripts.html +546 -0
  42. data/doc/Mushikago/Tombo.html +1 -1
  43. data/doc/Mushikago/Tombo/CaptureRequest.html +1 -1
  44. data/doc/Mushikago/Tombo/CapturesRequest.html +1 -1
  45. data/doc/Mushikago/Tombo/Client.html +1 -1
  46. data/doc/Mushikago/Tombo/DeleteRequest.html +1 -1
  47. data/doc/Mushikago/Tombo/InfoRequest.html +1 -1
  48. data/doc/Mushikago/Tombo/Request.html +1 -1
  49. data/doc/_index.html +51 -9
  50. data/doc/class_list.html +1 -1
  51. data/doc/file.README.html +6 -2
  52. data/doc/index.html +6 -2
  53. data/doc/method_list.html +534 -158
  54. data/doc/top-level-namespace.html +1 -1
  55. data/lib/mushikago/mitsubachi.rb +8 -0
  56. data/lib/mushikago/mitsubachi/client.rb +3 -0
  57. data/lib/mushikago/mitsubachi/project.rb +47 -0
  58. data/lib/mushikago/mitsubachi/projects.rb +28 -0
  59. data/lib/mushikago/mitsubachi/resource.rb +31 -0
  60. data/lib/mushikago/mitsubachi/resources.rb +32 -0
  61. data/lib/mushikago/mitsubachi/script.rb +30 -0
  62. data/lib/mushikago/mitsubachi/scripts.rb +31 -0
  63. data/lib/mushikago/version.rb +1 -1
  64. metadata +30 -18
@@ -342,7 +342,7 @@ A new instance of ScriptDeleteRequest
342
342
  </div>
343
343
 
344
344
  <div id="footer">
345
- Generated on Fri Jan 27 13:34:48 2012 by
345
+ Generated on Wed Feb 1 14:15:30 2012 by
346
346
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
347
347
  0.7.4 (ruby-1.9.2).
348
348
  </div>
@@ -377,7 +377,7 @@ A new instance of ScriptDeployRequest
377
377
  </div>
378
378
 
379
379
  <div id="footer">
380
- Generated on Fri Jan 27 13:34:48 2012 by
380
+ Generated on Wed Feb 1 14:15:30 2012 by
381
381
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
382
382
  0.7.4 (ruby-1.9.2).
383
383
  </div>
@@ -293,7 +293,7 @@ A new instance of ScriptGetRequest
293
293
  </div>
294
294
 
295
295
  <div id="footer">
296
- Generated on Fri Jan 27 13:34:48 2012 by
296
+ Generated on Wed Feb 1 14:15:30 2012 by
297
297
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
298
298
  0.7.4 (ruby-1.9.2).
299
299
  </div>
@@ -297,7 +297,7 @@ A new instance of ScriptListRequest
297
297
  </div>
298
298
 
299
299
  <div id="footer">
300
- Generated on Fri Jan 27 13:34:48 2012 by
300
+ Generated on Wed Feb 1 14:15:30 2012 by
301
301
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
302
302
  0.7.4 (ruby-1.9.2).
303
303
  </div>
@@ -0,0 +1,546 @@
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: Mushikago::Mitsubachi::Scripts
8
+
9
+ &mdash; Documentation by YARD 0.7.4
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
+ relpath = '../..';
19
+ if (relpath != '') relpath += '/';
20
+ </script>
21
+
22
+ <script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
23
+
24
+ <script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
25
+
26
+
27
+ </head>
28
+ <body>
29
+ <script type="text/javascript" charset="utf-8">
30
+ if (window.top.frames.main) document.body.className = 'frames';
31
+ </script>
32
+
33
+ <div id="header">
34
+ <div id="menu">
35
+
36
+ <a href="../../_index.html">Index (S)</a> &raquo;
37
+ <span class='title'><span class='object_link'><a href="../../Mushikago.html" title="Mushikago (module)">Mushikago</a></span></span> &raquo; <span class='title'><span class='object_link'><a href="../Mitsubachi.html" title="Mushikago::Mitsubachi (module)">Mitsubachi</a></span></span>
38
+ &raquo;
39
+ <span class="title">Scripts</span>
40
+
41
+
42
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
43
+ </div>
44
+
45
+ <div id="search">
46
+
47
+ <a id="class_list_link" href="#">Class List</a>
48
+
49
+ <a id="method_list_link" href="#">Method List</a>
50
+
51
+ <a id="file_list_link" href="#">File List</a>
52
+
53
+ </div>
54
+ <div class="clear"></div>
55
+ </div>
56
+
57
+ <iframe id="search_frame"></iframe>
58
+
59
+ <div id="content"><h1>Class: Mushikago::Mitsubachi::Scripts
60
+
61
+
62
+
63
+ </h1>
64
+
65
+ <dl class="box">
66
+
67
+ <dt class="r1">Inherits:</dt>
68
+ <dd class="r1">
69
+ <span class="inheritName">Object</span>
70
+
71
+ <ul class="fullTree">
72
+ <li>Object</li>
73
+
74
+ <li class="next">Mushikago::Mitsubachi::Scripts</li>
75
+
76
+ </ul>
77
+ <a href="#" class="inheritanceTree">show all</a>
78
+
79
+ </dd>
80
+
81
+
82
+
83
+
84
+
85
+
86
+
87
+
88
+
89
+ <dt class="r2 last">Defined in:</dt>
90
+ <dd class="r2 last">lib/mushikago/mitsubachi/scripts.rb</dd>
91
+
92
+ </dl>
93
+ <div class="clear"></div>
94
+
95
+
96
+
97
+ <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
98
+ <ul class="summary">
99
+
100
+ <li class="public ">
101
+ <span class="summary_signature">
102
+
103
+ <a href="#client-instance_method" title="#client (instance method)">- (Object) <strong>client</strong> </a>
104
+
105
+
106
+
107
+ </span>
108
+
109
+
110
+ <span class="note title readonly">readonly</span>
111
+
112
+
113
+
114
+
115
+
116
+
117
+
118
+
119
+ <span class="summary_desc"><div class='inline'><p>
120
+ Returns the value of attribute client.
121
+ </p>
122
+ </div></span>
123
+
124
+ </li>
125
+
126
+
127
+ <li class="public ">
128
+ <span class="summary_signature">
129
+
130
+ <a href="#project_name-instance_method" title="#project_name (instance method)">- (Object) <strong>project_name</strong> </a>
131
+
132
+
133
+
134
+ </span>
135
+
136
+
137
+ <span class="note title readonly">readonly</span>
138
+
139
+
140
+
141
+
142
+
143
+
144
+
145
+
146
+ <span class="summary_desc"><div class='inline'><p>
147
+ Returns the value of attribute project_name.
148
+ </p>
149
+ </div></span>
150
+
151
+ </li>
152
+
153
+
154
+ </ul>
155
+
156
+
157
+
158
+
159
+
160
+ <h2>
161
+ Instance Method Summary
162
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
163
+ </h2>
164
+
165
+ <ul class="summary">
166
+
167
+ <li class="public ">
168
+ <span class="summary_signature">
169
+
170
+ <a href="#%5B%5D-instance_method" title="#[] (instance method)">- (Object) <strong>[]</strong>(script_name) </a>
171
+
172
+
173
+
174
+ </span>
175
+
176
+
177
+
178
+
179
+
180
+
181
+
182
+
183
+ <span class="summary_desc"><div class='inline'></div></span>
184
+
185
+ </li>
186
+
187
+
188
+ <li class="public ">
189
+ <span class="summary_signature">
190
+
191
+ <a href="#deploy-instance_method" title="#deploy (instance method)">- (Object) <strong>deploy</strong>(script_file, options = {}) </a>
192
+
193
+
194
+
195
+ </span>
196
+
197
+
198
+
199
+
200
+
201
+
202
+
203
+
204
+ <span class="summary_desc"><div class='inline'></div></span>
205
+
206
+ </li>
207
+
208
+
209
+ <li class="public ">
210
+ <span class="summary_signature">
211
+
212
+ <a href="#each-instance_method" title="#each (instance method)">- (Object) <strong>each</strong> </a>
213
+
214
+
215
+
216
+ </span>
217
+
218
+
219
+
220
+
221
+
222
+
223
+
224
+
225
+ <span class="summary_desc"><div class='inline'></div></span>
226
+
227
+ </li>
228
+
229
+
230
+ <li class="public ">
231
+ <span class="summary_signature">
232
+
233
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (Scripts) <strong>initialize</strong>(client, project_name) </a>
234
+
235
+
236
+
237
+ </span>
238
+
239
+ <span class="note title constructor">constructor</span>
240
+
241
+
242
+
243
+
244
+
245
+
246
+
247
+
248
+ <span class="summary_desc"><div class='inline'><p>
249
+ A new instance of Scripts.
250
+ </p>
251
+ </div></span>
252
+
253
+ </li>
254
+
255
+
256
+ <li class="public ">
257
+ <span class="summary_signature">
258
+
259
+ <a href="#list-instance_method" title="#list (instance method)">- (Object) <strong>list</strong> </a>
260
+
261
+
262
+
263
+ </span>
264
+
265
+
266
+
267
+
268
+
269
+
270
+
271
+
272
+ <span class="summary_desc"><div class='inline'></div></span>
273
+
274
+ </li>
275
+
276
+
277
+ </ul>
278
+
279
+
280
+ <div id="constructor_details" class="method_details_list">
281
+ <h2>Constructor Details</h2>
282
+
283
+ <div class="method_details first">
284
+ <p class="signature first" id="initialize-instance_method">
285
+
286
+ - (<tt><span class='object_link'><a href="" title="Mushikago::Mitsubachi::Scripts (class)">Scripts</a></span></tt>) <strong>initialize</strong>(client, project_name)
287
+
288
+
289
+
290
+ </p><div class="docstring">
291
+ <div class="discussion">
292
+ <p>
293
+ A new instance of Scripts
294
+ </p>
295
+
296
+
297
+ </div>
298
+ </div>
299
+ <div class="tags">
300
+
301
+
302
+ </div><table class="source_code">
303
+ <tr>
304
+ <td>
305
+ <pre class="lines">
306
+
307
+
308
+ 8
309
+ 9
310
+ 10
311
+ 11</pre>
312
+ </td>
313
+ <td>
314
+ <pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/scripts.rb', line 8</span>
315
+
316
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span> <span class='id identifier rubyid_client'>client</span><span class='comma'>,</span> <span class='id identifier rubyid_project_name'>project_name</span>
317
+ <span class='ivar'>@client</span> <span class='op'>=</span> <span class='id identifier rubyid_client'>client</span>
318
+ <span class='ivar'>@project_name</span> <span class='op'>=</span> <span class='id identifier rubyid_project_name'>project_name</span>
319
+ <span class='kw'>end</span></pre>
320
+ </td>
321
+ </tr>
322
+ </table>
323
+ </div>
324
+
325
+ </div>
326
+
327
+ <div id="instance_attr_details" class="attr_details">
328
+ <h2>Instance Attribute Details</h2>
329
+
330
+
331
+ <span id=""></span>
332
+ <span id="client-instance_method"></span>
333
+ <div class="method_details first">
334
+ <p class="signature first" id="client-instance_method">
335
+
336
+ - (<tt>Object</tt>) <strong>client</strong> <span class="extras">(readonly)</span>
337
+
338
+
339
+
340
+ </p><div class="docstring">
341
+ <div class="discussion">
342
+ <p>
343
+ Returns the value of attribute client
344
+ </p>
345
+
346
+
347
+ </div>
348
+ </div>
349
+ <div class="tags">
350
+
351
+
352
+ </div><table class="source_code">
353
+ <tr>
354
+ <td>
355
+ <pre class="lines">
356
+
357
+
358
+ 5
359
+ 6
360
+ 7</pre>
361
+ </td>
362
+ <td>
363
+ <pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/scripts.rb', line 5</span>
364
+
365
+ <span class='kw'>def</span> <span class='id identifier rubyid_client'>client</span>
366
+ <span class='ivar'>@client</span>
367
+ <span class='kw'>end</span></pre>
368
+ </td>
369
+ </tr>
370
+ </table>
371
+ </div>
372
+
373
+
374
+ <span id=""></span>
375
+ <span id="project_name-instance_method"></span>
376
+ <div class="method_details ">
377
+ <p class="signature " id="project_name-instance_method">
378
+
379
+ - (<tt>Object</tt>) <strong>project_name</strong> <span class="extras">(readonly)</span>
380
+
381
+
382
+
383
+ </p><div class="docstring">
384
+ <div class="discussion">
385
+ <p>
386
+ Returns the value of attribute project_name
387
+ </p>
388
+
389
+
390
+ </div>
391
+ </div>
392
+ <div class="tags">
393
+
394
+
395
+ </div><table class="source_code">
396
+ <tr>
397
+ <td>
398
+ <pre class="lines">
399
+
400
+
401
+ 6
402
+ 7
403
+ 8</pre>
404
+ </td>
405
+ <td>
406
+ <pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/scripts.rb', line 6</span>
407
+
408
+ <span class='kw'>def</span> <span class='id identifier rubyid_project_name'>project_name</span>
409
+ <span class='ivar'>@project_name</span>
410
+ <span class='kw'>end</span></pre>
411
+ </td>
412
+ </tr>
413
+ </table>
414
+ </div>
415
+
416
+ </div>
417
+
418
+
419
+ <div id="instance_method_details" class="method_details_list">
420
+ <h2>Instance Method Details</h2>
421
+
422
+
423
+ <div class="method_details first">
424
+ <p class="signature first" id="[]-instance_method">
425
+
426
+ - (<tt>Object</tt>) <strong>[]</strong>(script_name)
427
+
428
+
429
+
430
+ </p><table class="source_code">
431
+ <tr>
432
+ <td>
433
+ <pre class="lines">
434
+
435
+
436
+ 13
437
+ 14
438
+ 15</pre>
439
+ </td>
440
+ <td>
441
+ <pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/scripts.rb', line 13</span>
442
+
443
+ <span class='kw'>def</span> <span class='op'>[]</span> <span class='id identifier rubyid_script_name'>script_name</span>
444
+ <span class='const'>Mitsubachi</span><span class='op'>::</span><span class='const'>Script</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_client'>client</span><span class='comma'>,</span> <span class='id identifier rubyid_project_name'>project_name</span><span class='comma'>,</span> <span class='id identifier rubyid_script_name'>script_name</span><span class='rparen'>)</span>
445
+ <span class='kw'>end</span></pre>
446
+ </td>
447
+ </tr>
448
+ </table>
449
+ </div>
450
+
451
+ <div class="method_details ">
452
+ <p class="signature " id="deploy-instance_method">
453
+
454
+ - (<tt>Object</tt>) <strong>deploy</strong>(script_file, options = {})
455
+
456
+
457
+
458
+ </p><table class="source_code">
459
+ <tr>
460
+ <td>
461
+ <pre class="lines">
462
+
463
+
464
+ 17
465
+ 18
466
+ 19</pre>
467
+ </td>
468
+ <td>
469
+ <pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/scripts.rb', line 17</span>
470
+
471
+ <span class='kw'>def</span> <span class='id identifier rubyid_deploy'>deploy</span> <span class='id identifier rubyid_script_file'>script_file</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='op'>=</span><span class='lbrace'>{</span><span class='rbrace'>}</span>
472
+ <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_script_deploy'>script_deploy</span><span class='lparen'>(</span><span class='id identifier rubyid_project_name'>project_name</span><span class='comma'>,</span> <span class='id identifier rubyid_script_file'>script_file</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
473
+ <span class='kw'>end</span></pre>
474
+ </td>
475
+ </tr>
476
+ </table>
477
+ </div>
478
+
479
+ <div class="method_details ">
480
+ <p class="signature " id="each-instance_method">
481
+
482
+ - (<tt>Object</tt>) <strong>each</strong>
483
+
484
+
485
+
486
+ </p><table class="source_code">
487
+ <tr>
488
+ <td>
489
+ <pre class="lines">
490
+
491
+
492
+ 25
493
+ 26
494
+ 27</pre>
495
+ </td>
496
+ <td>
497
+ <pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/scripts.rb', line 25</span>
498
+
499
+ <span class='kw'>def</span> <span class='id identifier rubyid_each'>each</span>
500
+ <span class='id identifier rubyid_list'>list</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span>
501
+ <span class='kw'>end</span></pre>
502
+ </td>
503
+ </tr>
504
+ </table>
505
+ </div>
506
+
507
+ <div class="method_details ">
508
+ <p class="signature " id="list-instance_method">
509
+
510
+ - (<tt>Object</tt>) <strong>list</strong>
511
+
512
+
513
+
514
+ </p><table class="source_code">
515
+ <tr>
516
+ <td>
517
+ <pre class="lines">
518
+
519
+
520
+ 21
521
+ 22
522
+ 23</pre>
523
+ </td>
524
+ <td>
525
+ <pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/scripts.rb', line 21</span>
526
+
527
+ <span class='kw'>def</span> <span class='id identifier rubyid_list'>list</span>
528
+ <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_script_list'>script_list</span><span class='lparen'>(</span><span class='id identifier rubyid_project_name'>project_name</span><span class='rparen'>)</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>scripts</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_map'>map</span><span class='lbrace'>{</span><span class='op'>|</span><span class='id identifier rubyid_p'>p</span><span class='op'>|</span> <span class='kw'>self</span><span class='lbracket'>[</span><span class='id identifier rubyid_p'>p</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>name</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='rbracket'>]</span><span class='rbrace'>}</span>
529
+ <span class='kw'>end</span></pre>
530
+ </td>
531
+ </tr>
532
+ </table>
533
+ </div>
534
+
535
+ </div>
536
+
537
+ </div>
538
+
539
+ <div id="footer">
540
+ Generated on Wed Feb 1 14:15:30 2012 by
541
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
542
+ 0.7.4 (ruby-1.9.2).
543
+ </div>
544
+
545
+ </body>
546
+ </html>