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
data/README.md CHANGED
@@ -5,7 +5,7 @@ Mushikago SDK for Ruby.
5
5
  - **Author**: Toru Matsuoka
6
6
  - **Copyright**: 2011
7
7
  - **License**: Apache License, Version 2.0
8
- - **Latest Version**: 0.3.5
8
+ - **Latest Version**: 0.3.6
9
9
  - **Release Date**: January 27th 2012
10
10
 
11
11
 
@@ -151,7 +151,7 @@ $ export MUSHIKAGO_SECRET_KEY=<シークレットキー>
151
151
  変更履歴
152
152
  --------
153
153
 
154
- - **Jan.27.12**: 0.3.5 release
154
+ - **Jan.27.12**: 0.3.6 release
155
155
  - resource_get,script_getに:with_bodyオプション追加
156
156
  - **Jan.27.12**: 0.3.4 release
157
157
  - 数字を含むリクエストの不具合に対応
data/doc/Mushikago.html CHANGED
@@ -73,7 +73,7 @@
73
73
 
74
74
  <dt class="r1 last">Defined in:</dt>
75
75
  <dd class="r1 last">lib/mushikago.rb<span class="defines">,<br />
76
- lib/mushikago/http.rb,<br /> lib/mushikago/auth.rb,<br /> lib/mushikago/tombo.rb,<br /> lib/mushikago/hotaru.rb,<br /> lib/mushikago/version.rb,<br /> lib/mushikago/mitsubachi.rb,<br /> lib/mushikago/auth/signer.rb,<br /> lib/mushikago/http/client.rb,<br /> lib/mushikago/http/request.rb,<br /> lib/mushikago/tombo/client.rb,<br /> lib/mushikago/http/response.rb,<br /> lib/mushikago/hotaru/client.rb,<br /> lib/mushikago/tombo/request.rb,<br /> lib/mushikago/configuration.rb,<br /> lib/mushikago/auth/signature.rb,<br /> lib/mushikago/hotaru/request.rb,<br /> lib/mushikago/mitsubachi/client.rb,<br /> lib/mushikago/mitsubachi/request.rb,<br /> lib/mushikago/tombo/info_request.rb,<br /> lib/mushikago/tombo/delete_request.rb,<br /> lib/mushikago/tombo/capture_request.rb,<br /> lib/mushikago/tombo/captures_request.rb,<br /> lib/mushikago/http/multipart_request.rb,<br /> lib/mushikago/mitsubachi/http_push_request.rb,<br /> lib/mushikago/mitsubachi/multipart_request.rb,<br /> lib/mushikago/mitsubachi/http_fetch_request.rb,<br /> lib/mushikago/mitsubachi/script_get_request.rb,<br /> lib/mushikago/mitsubachi/script_list_request.rb,<br /> lib/mushikago/mitsubachi/resource_get_request.rb,<br /> lib/mushikago/mitsubachi/project_list_request.rb,<br /> lib/mushikago/mitsubachi/project_info_request.rb,<br /> lib/mushikago/mitsubachi/script_deploy_request.rb,<br /> lib/mushikago/mitsubachi/script_delete_request.rb,<br /> lib/mushikago/mitsubachi/resource_list_request.rb,<br /> lib/mushikago/mitsubachi/project_update_request.rb,<br /> lib/mushikago/mitsubachi/project_delete_request.rb,<br /> lib/mushikago/mitsubachi/project_queues_request.rb,<br /> lib/mushikago/mitsubachi/project_create_request.rb,<br /> lib/mushikago/mitsubachi/resource_store_request.rb,<br /> lib/mushikago/mitsubachi/resource_delete_request.rb,<br /> lib/mushikago/mitsubachi/project_discontinue_request.rb</span>
76
+ lib/mushikago/http.rb,<br /> lib/mushikago/auth.rb,<br /> lib/mushikago/tombo.rb,<br /> lib/mushikago/hotaru.rb,<br /> lib/mushikago/version.rb,<br /> lib/mushikago/mitsubachi.rb,<br /> lib/mushikago/auth/signer.rb,<br /> lib/mushikago/http/client.rb,<br /> lib/mushikago/tombo/client.rb,<br /> lib/mushikago/http/request.rb,<br /> lib/mushikago/hotaru/client.rb,<br /> lib/mushikago/http/response.rb,<br /> lib/mushikago/configuration.rb,<br /> lib/mushikago/tombo/request.rb,<br /> lib/mushikago/hotaru/request.rb,<br /> lib/mushikago/auth/signature.rb,<br /> lib/mushikago/mitsubachi/client.rb,<br /> lib/mushikago/mitsubachi/script.rb,<br /> lib/mushikago/tombo/info_request.rb,<br /> lib/mushikago/mitsubachi/request.rb,<br /> lib/mushikago/mitsubachi/project.rb,<br /> lib/mushikago/mitsubachi/scripts.rb,<br /> lib/mushikago/mitsubachi/projects.rb,<br /> lib/mushikago/mitsubachi/resource.rb,<br /> lib/mushikago/mitsubachi/resources.rb,<br /> lib/mushikago/tombo/delete_request.rb,<br /> lib/mushikago/tombo/capture_request.rb,<br /> lib/mushikago/tombo/captures_request.rb,<br /> lib/mushikago/http/multipart_request.rb,<br /> lib/mushikago/mitsubachi/http_push_request.rb,<br /> lib/mushikago/mitsubachi/multipart_request.rb,<br /> lib/mushikago/mitsubachi/http_fetch_request.rb,<br /> lib/mushikago/mitsubachi/script_get_request.rb,<br /> lib/mushikago/mitsubachi/script_list_request.rb,<br /> lib/mushikago/mitsubachi/project_info_request.rb,<br /> lib/mushikago/mitsubachi/project_list_request.rb,<br /> lib/mushikago/mitsubachi/resource_get_request.rb,<br /> lib/mushikago/mitsubachi/script_deploy_request.rb,<br /> lib/mushikago/mitsubachi/resource_list_request.rb,<br /> lib/mushikago/mitsubachi/script_delete_request.rb,<br /> lib/mushikago/mitsubachi/resource_store_request.rb,<br /> lib/mushikago/mitsubachi/project_create_request.rb,<br /> lib/mushikago/mitsubachi/project_queues_request.rb,<br /> lib/mushikago/mitsubachi/project_update_request.rb,<br /> lib/mushikago/mitsubachi/project_delete_request.rb,<br /> lib/mushikago/mitsubachi/resource_delete_request.rb,<br /> lib/mushikago/mitsubachi/project_discontinue_request.rb</span>
77
77
  </dd>
78
78
 
79
79
  </dl>
@@ -123,7 +123,7 @@ Mushikago SDK for Ruby のバージョン
123
123
 
124
124
  </div>
125
125
  </dt>
126
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>0.3.4</span><span class='tstring_end'>'</span></span></pre></dd>
126
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>0.3.6</span><span class='tstring_end'>'</span></span></pre></dd>
127
127
 
128
128
  </dl>
129
129
 
@@ -237,7 +237,7 @@ config コンフィグのインスタンスへのアクセスを提供する
237
237
  </div>
238
238
 
239
239
  <div id="footer">
240
- Generated on Fri Jan 27 13:34:47 2012 by
240
+ Generated on Wed Feb 1 14:15:29 2012 by
241
241
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
242
242
  0.7.4 (ruby-1.9.2).
243
243
  </div>
@@ -113,7 +113,7 @@ Mushikagoサービスの認証を扱うモジュール
113
113
  </div>
114
114
 
115
115
  <div id="footer">
116
- Generated on Fri Jan 27 13:34:47 2012 by
116
+ Generated on Wed Feb 1 14:15:29 2012 by
117
117
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
118
118
  0.7.4 (ruby-1.9.2).
119
119
  </div>
@@ -303,7 +303,7 @@ MushikagoのリクエストにMix-inして利用する
303
303
  </div>
304
304
 
305
305
  <div id="footer">
306
- Generated on Fri Jan 27 13:34:47 2012 by
306
+ Generated on Wed Feb 1 14:15:29 2012 by
307
307
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
308
308
  0.7.4 (ruby-1.9.2).
309
309
  </div>
@@ -456,7 +456,7 @@ A new instance of Signer
456
456
  </div>
457
457
 
458
458
  <div id="footer">
459
- Generated on Fri Jan 27 13:34:47 2012 by
459
+ Generated on Wed Feb 1 14:15:29 2012 by
460
460
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
461
461
  0.7.4 (ruby-1.9.2).
462
462
  </div>
@@ -276,7 +276,7 @@ optionsをロードします
276
276
  </div>
277
277
 
278
278
  <div id="footer">
279
- Generated on Fri Jan 27 13:34:47 2012 by
279
+ Generated on Wed Feb 1 14:15:29 2012 by
280
280
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
281
281
  0.7.4 (ruby-1.9.2).
282
282
  </div>
@@ -111,7 +111,7 @@ Hotaruへのアクセスを行うモジュール
111
111
  </div>
112
112
 
113
113
  <div id="footer">
114
- Generated on Fri Jan 27 13:34:47 2012 by
114
+ Generated on Wed Feb 1 14:15:29 2012 by
115
115
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
116
116
  0.7.4 (ruby-1.9.2).
117
117
  </div>
@@ -809,7 +809,7 @@ APIの使用状況を取得する
809
809
  </div>
810
810
 
811
811
  <div id="footer">
812
- Generated on Fri Jan 27 13:34:47 2012 by
812
+ Generated on Wed Feb 1 14:15:29 2012 by
813
813
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
814
814
  0.7.4 (ruby-1.9.2).
815
815
  </div>
@@ -294,7 +294,7 @@ Hotaruのエンドポイント
294
294
  </div>
295
295
 
296
296
  <div id="footer">
297
- Generated on Fri Jan 27 13:34:47 2012 by
297
+ Generated on Wed Feb 1 14:15:29 2012 by
298
298
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
299
299
  0.7.4 (ruby-1.9.2).
300
300
  </div>
@@ -111,7 +111,7 @@ MushikagoサービスへのHTTPリクエストを扱うモジュール
111
111
  </div>
112
112
 
113
113
  <div id="footer">
114
- Generated on Fri Jan 27 13:34:47 2012 by
114
+ Generated on Wed Feb 1 14:15:29 2012 by
115
115
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
116
116
  0.7.4 (ruby-1.9.2).
117
117
  </div>
@@ -563,7 +563,7 @@ response
563
563
  </div>
564
564
 
565
565
  <div id="footer">
566
- Generated on Fri Jan 27 13:34:47 2012 by
566
+ Generated on Wed Feb 1 14:15:29 2012 by
567
567
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
568
568
  0.7.4 (ruby-1.9.2).
569
569
  </div>
@@ -357,7 +357,7 @@
357
357
  </div>
358
358
 
359
359
  <div id="footer">
360
- Generated on Fri Jan 27 13:34:48 2012 by
360
+ Generated on Wed Feb 1 14:15:30 2012 by
361
361
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
362
362
  0.7.4 (ruby-1.9.2).
363
363
  </div>
@@ -1301,7 +1301,7 @@ URLエンコードされ、&amp;で接続されたパラメータの文字列
1301
1301
  </div>
1302
1302
 
1303
1303
  <div id="footer">
1304
- Generated on Fri Jan 27 13:34:47 2012 by
1304
+ Generated on Wed Feb 1 14:15:29 2012 by
1305
1305
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1306
1306
  0.7.4 (ruby-1.9.2).
1307
1307
  </div>
@@ -207,6 +207,27 @@ Mushikagoサービスのレスポンスを扱うクラス Mushikagoサービス
207
207
  </p>
208
208
  </div></span>
209
209
 
210
+ </li>
211
+
212
+
213
+ <li class="public ">
214
+ <span class="summary_signature">
215
+
216
+ <a href="#%5B%5D%3D-instance_method" title="#[]= (instance method)">- (Object) <strong>[]=</strong>(key, value) </a>
217
+
218
+
219
+
220
+ </span>
221
+
222
+
223
+
224
+
225
+
226
+
227
+
228
+
229
+ <span class="summary_desc"><div class='inline'></div></span>
230
+
210
231
  </li>
211
232
 
212
233
 
@@ -602,6 +623,34 @@ A new instance of Response
602
623
  </td>
603
624
  </tr>
604
625
  </table>
626
+ </div>
627
+
628
+ <div class="method_details ">
629
+ <p class="signature " id="[]=-instance_method">
630
+
631
+ - (<tt>Object</tt>) <strong>[]=</strong>(key, value)
632
+
633
+
634
+
635
+ </p><table class="source_code">
636
+ <tr>
637
+ <td>
638
+ <pre class="lines">
639
+
640
+
641
+ 49
642
+ 50
643
+ 51</pre>
644
+ </td>
645
+ <td>
646
+ <pre class="code"><span class="info file"># File 'lib/mushikago/http/response.rb', line 49</span>
647
+
648
+ <span class='kw'>def</span> <span class='op'>[]=</span> <span class='id identifier rubyid_key'>key</span><span class='comma'>,</span> <span class='id identifier rubyid_value'>value</span>
649
+ <span class='id identifier rubyid_response'>response</span><span class='lbracket'>[</span><span class='id identifier rubyid_key'>key</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='id identifier rubyid_value'>value</span>
650
+ <span class='kw'>end</span></pre>
651
+ </td>
652
+ </tr>
653
+ </table>
605
654
  </div>
606
655
 
607
656
  <div class="method_details ">
@@ -727,7 +776,7 @@ A new instance of Response
727
776
  </div>
728
777
 
729
778
  <div id="footer">
730
- Generated on Fri Jan 27 13:34:47 2012 by
779
+ Generated on Wed Feb 1 14:15:29 2012 by
731
780
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
732
781
  0.7.4 (ruby-1.9.2).
733
782
  </div>
@@ -73,7 +73,7 @@
73
73
 
74
74
  <dt class="r1 last">Defined in:</dt>
75
75
  <dd class="r1 last">lib/mushikago/mitsubachi.rb<span class="defines">,<br />
76
- lib/mushikago/mitsubachi/client.rb,<br /> lib/mushikago/mitsubachi/request.rb,<br /> lib/mushikago/mitsubachi/http_push_request.rb,<br /> lib/mushikago/mitsubachi/multipart_request.rb,<br /> lib/mushikago/mitsubachi/http_fetch_request.rb,<br /> lib/mushikago/mitsubachi/script_get_request.rb,<br /> lib/mushikago/mitsubachi/script_list_request.rb,<br /> lib/mushikago/mitsubachi/resource_get_request.rb,<br /> lib/mushikago/mitsubachi/project_list_request.rb,<br /> lib/mushikago/mitsubachi/project_info_request.rb,<br /> lib/mushikago/mitsubachi/script_deploy_request.rb,<br /> lib/mushikago/mitsubachi/script_delete_request.rb,<br /> lib/mushikago/mitsubachi/resource_list_request.rb,<br /> lib/mushikago/mitsubachi/project_update_request.rb,<br /> lib/mushikago/mitsubachi/project_delete_request.rb,<br /> lib/mushikago/mitsubachi/project_queues_request.rb,<br /> lib/mushikago/mitsubachi/project_create_request.rb,<br /> lib/mushikago/mitsubachi/resource_store_request.rb,<br /> lib/mushikago/mitsubachi/resource_delete_request.rb,<br /> lib/mushikago/mitsubachi/project_discontinue_request.rb</span>
76
+ lib/mushikago/mitsubachi/client.rb,<br /> lib/mushikago/mitsubachi/script.rb,<br /> lib/mushikago/mitsubachi/request.rb,<br /> lib/mushikago/mitsubachi/project.rb,<br /> lib/mushikago/mitsubachi/scripts.rb,<br /> lib/mushikago/mitsubachi/projects.rb,<br /> lib/mushikago/mitsubachi/resource.rb,<br /> lib/mushikago/mitsubachi/resources.rb,<br /> lib/mushikago/mitsubachi/http_push_request.rb,<br /> lib/mushikago/mitsubachi/multipart_request.rb,<br /> lib/mushikago/mitsubachi/http_fetch_request.rb,<br /> lib/mushikago/mitsubachi/script_get_request.rb,<br /> lib/mushikago/mitsubachi/script_list_request.rb,<br /> lib/mushikago/mitsubachi/project_info_request.rb,<br /> lib/mushikago/mitsubachi/project_list_request.rb,<br /> lib/mushikago/mitsubachi/resource_get_request.rb,<br /> lib/mushikago/mitsubachi/script_deploy_request.rb,<br /> lib/mushikago/mitsubachi/resource_list_request.rb,<br /> lib/mushikago/mitsubachi/script_delete_request.rb,<br /> lib/mushikago/mitsubachi/resource_store_request.rb,<br /> lib/mushikago/mitsubachi/project_create_request.rb,<br /> lib/mushikago/mitsubachi/project_queues_request.rb,<br /> lib/mushikago/mitsubachi/project_update_request.rb,<br /> lib/mushikago/mitsubachi/project_delete_request.rb,<br /> lib/mushikago/mitsubachi/resource_delete_request.rb,<br /> lib/mushikago/mitsubachi/project_discontinue_request.rb</span>
77
77
  </dd>
78
78
 
79
79
  </dl>
@@ -97,7 +97,7 @@ mitsubachiにアクセスするためのモジュール
97
97
 
98
98
 
99
99
 
100
- <strong class="classes">Classes:</strong> <span class='object_link'><a href="Mitsubachi/Client.html" title="Mushikago::Mitsubachi::Client (class)">Client</a></span>, <span class='object_link'><a href="Mitsubachi/HttpFetchRequest.html" title="Mushikago::Mitsubachi::HttpFetchRequest (class)">HttpFetchRequest</a></span>, <span class='object_link'><a href="Mitsubachi/HttpPushRequest.html" title="Mushikago::Mitsubachi::HttpPushRequest (class)">HttpPushRequest</a></span>, <span class='object_link'><a href="Mitsubachi/MultipartRequest.html" title="Mushikago::Mitsubachi::MultipartRequest (class)">MultipartRequest</a></span>, <span class='object_link'><a href="Mitsubachi/ProjectCreateRequest.html" title="Mushikago::Mitsubachi::ProjectCreateRequest (class)">ProjectCreateRequest</a></span>, <span class='object_link'><a href="Mitsubachi/ProjectDeleteRequest.html" title="Mushikago::Mitsubachi::ProjectDeleteRequest (class)">ProjectDeleteRequest</a></span>, <span class='object_link'><a href="Mitsubachi/ProjectDiscontinueRequest.html" title="Mushikago::Mitsubachi::ProjectDiscontinueRequest (class)">ProjectDiscontinueRequest</a></span>, <span class='object_link'><a href="Mitsubachi/ProjectInfoRequest.html" title="Mushikago::Mitsubachi::ProjectInfoRequest (class)">ProjectInfoRequest</a></span>, <span class='object_link'><a href="Mitsubachi/ProjectListRequest.html" title="Mushikago::Mitsubachi::ProjectListRequest (class)">ProjectListRequest</a></span>, <span class='object_link'><a href="Mitsubachi/ProjectQueuesRequest.html" title="Mushikago::Mitsubachi::ProjectQueuesRequest (class)">ProjectQueuesRequest</a></span>, <span class='object_link'><a href="Mitsubachi/ProjectUpdateRequest.html" title="Mushikago::Mitsubachi::ProjectUpdateRequest (class)">ProjectUpdateRequest</a></span>, <span class='object_link'><a href="Mitsubachi/Request.html" title="Mushikago::Mitsubachi::Request (class)">Request</a></span>, <span class='object_link'><a href="Mitsubachi/ResourceDeleteRequest.html" title="Mushikago::Mitsubachi::ResourceDeleteRequest (class)">ResourceDeleteRequest</a></span>, <span class='object_link'><a href="Mitsubachi/ResourceGetRequest.html" title="Mushikago::Mitsubachi::ResourceGetRequest (class)">ResourceGetRequest</a></span>, <span class='object_link'><a href="Mitsubachi/ResourceListRequest.html" title="Mushikago::Mitsubachi::ResourceListRequest (class)">ResourceListRequest</a></span>, <span class='object_link'><a href="Mitsubachi/ResourceStoreRequest.html" title="Mushikago::Mitsubachi::ResourceStoreRequest (class)">ResourceStoreRequest</a></span>, <span class='object_link'><a href="Mitsubachi/ScriptDeleteRequest.html" title="Mushikago::Mitsubachi::ScriptDeleteRequest (class)">ScriptDeleteRequest</a></span>, <span class='object_link'><a href="Mitsubachi/ScriptDeployRequest.html" title="Mushikago::Mitsubachi::ScriptDeployRequest (class)">ScriptDeployRequest</a></span>, <span class='object_link'><a href="Mitsubachi/ScriptGetRequest.html" title="Mushikago::Mitsubachi::ScriptGetRequest (class)">ScriptGetRequest</a></span>, <span class='object_link'><a href="Mitsubachi/ScriptListRequest.html" title="Mushikago::Mitsubachi::ScriptListRequest (class)">ScriptListRequest</a></span>
100
+ <strong class="classes">Classes:</strong> <span class='object_link'><a href="Mitsubachi/Client.html" title="Mushikago::Mitsubachi::Client (class)">Client</a></span>, <span class='object_link'><a href="Mitsubachi/HttpFetchRequest.html" title="Mushikago::Mitsubachi::HttpFetchRequest (class)">HttpFetchRequest</a></span>, <span class='object_link'><a href="Mitsubachi/HttpPushRequest.html" title="Mushikago::Mitsubachi::HttpPushRequest (class)">HttpPushRequest</a></span>, <span class='object_link'><a href="Mitsubachi/MultipartRequest.html" title="Mushikago::Mitsubachi::MultipartRequest (class)">MultipartRequest</a></span>, <span class='object_link'><a href="Mitsubachi/Project.html" title="Mushikago::Mitsubachi::Project (class)">Project</a></span>, <span class='object_link'><a href="Mitsubachi/ProjectCreateRequest.html" title="Mushikago::Mitsubachi::ProjectCreateRequest (class)">ProjectCreateRequest</a></span>, <span class='object_link'><a href="Mitsubachi/ProjectDeleteRequest.html" title="Mushikago::Mitsubachi::ProjectDeleteRequest (class)">ProjectDeleteRequest</a></span>, <span class='object_link'><a href="Mitsubachi/ProjectDiscontinueRequest.html" title="Mushikago::Mitsubachi::ProjectDiscontinueRequest (class)">ProjectDiscontinueRequest</a></span>, <span class='object_link'><a href="Mitsubachi/ProjectInfoRequest.html" title="Mushikago::Mitsubachi::ProjectInfoRequest (class)">ProjectInfoRequest</a></span>, <span class='object_link'><a href="Mitsubachi/ProjectListRequest.html" title="Mushikago::Mitsubachi::ProjectListRequest (class)">ProjectListRequest</a></span>, <span class='object_link'><a href="Mitsubachi/ProjectQueuesRequest.html" title="Mushikago::Mitsubachi::ProjectQueuesRequest (class)">ProjectQueuesRequest</a></span>, <span class='object_link'><a href="Mitsubachi/ProjectUpdateRequest.html" title="Mushikago::Mitsubachi::ProjectUpdateRequest (class)">ProjectUpdateRequest</a></span>, <span class='object_link'><a href="Mitsubachi/Projects.html" title="Mushikago::Mitsubachi::Projects (class)">Projects</a></span>, <span class='object_link'><a href="Mitsubachi/Request.html" title="Mushikago::Mitsubachi::Request (class)">Request</a></span>, <span class='object_link'><a href="Mitsubachi/Resource.html" title="Mushikago::Mitsubachi::Resource (class)">Resource</a></span>, <span class='object_link'><a href="Mitsubachi/ResourceDeleteRequest.html" title="Mushikago::Mitsubachi::ResourceDeleteRequest (class)">ResourceDeleteRequest</a></span>, <span class='object_link'><a href="Mitsubachi/ResourceGetRequest.html" title="Mushikago::Mitsubachi::ResourceGetRequest (class)">ResourceGetRequest</a></span>, <span class='object_link'><a href="Mitsubachi/ResourceListRequest.html" title="Mushikago::Mitsubachi::ResourceListRequest (class)">ResourceListRequest</a></span>, <span class='object_link'><a href="Mitsubachi/ResourceStoreRequest.html" title="Mushikago::Mitsubachi::ResourceStoreRequest (class)">ResourceStoreRequest</a></span>, <span class='object_link'><a href="Mitsubachi/Resources.html" title="Mushikago::Mitsubachi::Resources (class)">Resources</a></span>, <span class='object_link'><a href="Mitsubachi/Script.html" title="Mushikago::Mitsubachi::Script (class)">Script</a></span>, <span class='object_link'><a href="Mitsubachi/ScriptDeleteRequest.html" title="Mushikago::Mitsubachi::ScriptDeleteRequest (class)">ScriptDeleteRequest</a></span>, <span class='object_link'><a href="Mitsubachi/ScriptDeployRequest.html" title="Mushikago::Mitsubachi::ScriptDeployRequest (class)">ScriptDeployRequest</a></span>, <span class='object_link'><a href="Mitsubachi/ScriptGetRequest.html" title="Mushikago::Mitsubachi::ScriptGetRequest (class)">ScriptGetRequest</a></span>, <span class='object_link'><a href="Mitsubachi/ScriptListRequest.html" title="Mushikago::Mitsubachi::ScriptListRequest (class)">ScriptListRequest</a></span>, <span class='object_link'><a href="Mitsubachi/Scripts.html" title="Mushikago::Mitsubachi::Scripts (class)">Scripts</a></span>
101
101
 
102
102
 
103
103
  </p>
@@ -111,7 +111,7 @@ mitsubachiにアクセスするためのモジュール
111
111
  </div>
112
112
 
113
113
  <div id="footer">
114
- Generated on Fri Jan 27 13:34:47 2012 by
114
+ Generated on Wed Feb 1 14:15:29 2012 by
115
115
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
116
116
  0.7.4 (ruby-1.9.2).
117
117
  </div>
@@ -364,6 +364,27 @@ project/updateを発行します.
364
364
  </p>
365
365
  </div></span>
366
366
 
367
+ </li>
368
+
369
+
370
+ <li class="public ">
371
+ <span class="summary_signature">
372
+
373
+ <a href="#projects-instance_method" title="#projects (instance method)">- (Object) <strong>projects</strong> </a>
374
+
375
+
376
+
377
+ </span>
378
+
379
+
380
+
381
+
382
+
383
+
384
+
385
+
386
+ <span class="summary_desc"><div class='inline'></div></span>
387
+
367
388
  </li>
368
389
 
369
390
 
@@ -770,13 +791,13 @@ http/fetchを発行します
770
791
  <pre class="lines">
771
792
 
772
793
 
773
- 143
774
- 144
775
- 145
776
- 146</pre>
794
+ 146
795
+ 147
796
+ 148
797
+ 149</pre>
777
798
  </td>
778
799
  <td>
779
- <pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/client.rb', line 143</span>
800
+ <pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/client.rb', line 146</span>
780
801
 
781
802
  <span class='kw'>def</span> <span class='id identifier rubyid_http_fetch'>http_fetch</span> <span class='id identifier rubyid_project_name'>project_name</span><span class='comma'>,</span> <span class='id identifier rubyid_url'>url</span><span class='comma'>,</span> <span class='id identifier rubyid_script_name'>script_name</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>
782
803
  <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>HttpFetchRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_project_name'>project_name</span><span class='comma'>,</span> <span class='id identifier rubyid_url'>url</span><span class='comma'>,</span> <span class='id identifier rubyid_script_name'>script_name</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
@@ -990,13 +1011,13 @@ http/pushを発行します
990
1011
  <pre class="lines">
991
1012
 
992
1013
 
993
- 163
994
- 164
995
- 165
996
- 166</pre>
1014
+ 166
1015
+ 167
1016
+ 168
1017
+ 169</pre>
997
1018
  </td>
998
1019
  <td>
999
- <pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/client.rb', line 163</span>
1020
+ <pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/client.rb', line 166</span>
1000
1021
 
1001
1022
  <span class='kw'>def</span> <span class='id identifier rubyid_http_push'>http_push</span> <span class='id identifier rubyid_project_name'>project_name</span><span class='comma'>,</span> <span class='id identifier rubyid_url'>url</span><span class='comma'>,</span> <span class='id identifier rubyid_script_name'>script_name</span><span class='comma'>,</span> <span class='id identifier rubyid_file_name'>file_name</span><span class='comma'>,</span> <span class='id identifier rubyid_file_input_key'>file_input_key</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>
1002
1023
  <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>HttpPushRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_project_name'>project_name</span><span class='comma'>,</span> <span class='id identifier rubyid_url'>url</span><span class='comma'>,</span> <span class='id identifier rubyid_script_name'>script_name</span><span class='comma'>,</span> <span class='id identifier rubyid_file_name'>file_name</span><span class='comma'>,</span> <span class='id identifier rubyid_file_input_key'>file_input_key</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
@@ -1164,13 +1185,13 @@ project/createを発行します
1164
1185
  <pre class="lines">
1165
1186
 
1166
1187
 
1167
- 31
1168
- 32
1169
- 33
1170
- 34</pre>
1188
+ 34
1189
+ 35
1190
+ 36
1191
+ 37</pre>
1171
1192
  </td>
1172
1193
  <td>
1173
- <pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/client.rb', line 31</span>
1194
+ <pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/client.rb', line 34</span>
1174
1195
 
1175
1196
  <span class='kw'>def</span> <span class='id identifier rubyid_project_create'>project_create</span> <span class='id identifier rubyid_project_name'>project_name</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>
1176
1197
  <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>ProjectCreateRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_project_name'>project_name</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
@@ -1293,13 +1314,13 @@ project/deleteを発行します
1293
1314
  <pre class="lines">
1294
1315
 
1295
1316
 
1296
- 95
1297
- 96
1298
- 97
1299
- 98</pre>
1317
+ 98
1318
+ 99
1319
+ 100
1320
+ 101</pre>
1300
1321
  </td>
1301
1322
  <td>
1302
- <pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/client.rb', line 95</span>
1323
+ <pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/client.rb', line 98</span>
1303
1324
 
1304
1325
  <span class='kw'>def</span> <span class='id identifier rubyid_project_delete'>project_delete</span> <span class='id identifier rubyid_project_name'>project_name</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>
1305
1326
  <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>ProjectDeleteRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_project_name'>project_name</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
@@ -1402,13 +1423,13 @@ project/discontinueを発行します
1402
1423
  <pre class="lines">
1403
1424
 
1404
1425
 
1405
- 124
1406
- 125
1407
- 126
1408
- 127</pre>
1426
+ 127
1427
+ 128
1428
+ 129
1429
+ 130</pre>
1409
1430
  </td>
1410
1431
  <td>
1411
- <pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/client.rb', line 124</span>
1432
+ <pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/client.rb', line 127</span>
1412
1433
 
1413
1434
  <span class='kw'>def</span> <span class='id identifier rubyid_project_discontinue'>project_discontinue</span> <span class='id identifier rubyid_project_name'>project_name</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>
1414
1435
  <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>ProjectDiscontinueRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_project_name'>project_name</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
@@ -1520,13 +1541,13 @@ project/infoを発行します
1520
1541
  <pre class="lines">
1521
1542
 
1522
1543
 
1523
- 69
1524
- 70
1525
- 71
1526
- 72</pre>
1544
+ 72
1545
+ 73
1546
+ 74
1547
+ 75</pre>
1527
1548
  </td>
1528
1549
  <td>
1529
- <pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/client.rb', line 69</span>
1550
+ <pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/client.rb', line 72</span>
1530
1551
 
1531
1552
  <span class='kw'>def</span> <span class='id identifier rubyid_project_info'>project_info</span> <span class='id identifier rubyid_project_name'>project_name</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>
1532
1553
  <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>ProjectInfoRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_project_name'>project_name</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
@@ -1651,13 +1672,13 @@ project/listを発行します
1651
1672
  <pre class="lines">
1652
1673
 
1653
1674
 
1654
- 48
1655
- 49
1656
- 50
1657
- 51</pre>
1675
+ 51
1676
+ 52
1677
+ 53
1678
+ 54</pre>
1658
1679
  </td>
1659
1680
  <td>
1660
- <pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/client.rb', line 48</span>
1681
+ <pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/client.rb', line 51</span>
1661
1682
 
1662
1683
  <span class='kw'>def</span> <span class='id identifier rubyid_project_list'>project_list</span> <span class='id identifier rubyid_options'>options</span><span class='op'>=</span><span class='lbrace'>{</span><span class='rbrace'>}</span>
1663
1684
  <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>ProjectListRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
@@ -1761,13 +1782,13 @@ project/queuesを発行します
1761
1782
  <pre class="lines">
1762
1783
 
1763
1784
 
1764
- 82
1765
- 83
1766
- 84
1767
- 85</pre>
1785
+ 85
1786
+ 86
1787
+ 87
1788
+ 88</pre>
1768
1789
  </td>
1769
1790
  <td>
1770
- <pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/client.rb', line 82</span>
1791
+ <pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/client.rb', line 85</span>
1771
1792
 
1772
1793
  <span class='kw'>def</span> <span class='id identifier rubyid_project_queues'>project_queues</span> <span class='id identifier rubyid_project_name'>project_name</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>
1773
1794
  <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>ProjectQueuesRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_project_name'>project_name</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
@@ -1926,13 +1947,13 @@ project/updateを発行します
1926
1947
  <pre class="lines">
1927
1948
 
1928
1949
 
1929
- 112
1930
- 113
1931
- 114
1932
- 115</pre>
1950
+ 115
1951
+ 116
1952
+ 117
1953
+ 118</pre>
1933
1954
  </td>
1934
1955
  <td>
1935
- <pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/client.rb', line 112</span>
1956
+ <pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/client.rb', line 115</span>
1936
1957
 
1937
1958
  <span class='kw'>def</span> <span class='id identifier rubyid_project_update'>project_update</span> <span class='id identifier rubyid_project_name'>project_name</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>
1938
1959
  <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>ProjectUpdateRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_project_name'>project_name</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
@@ -1941,6 +1962,34 @@ project/updateを発行します
1941
1962
  </td>
1942
1963
  </tr>
1943
1964
  </table>
1965
+ </div>
1966
+
1967
+ <div class="method_details ">
1968
+ <p class="signature " id="projects-instance_method">
1969
+
1970
+ - (<tt>Object</tt>) <strong>projects</strong>
1971
+
1972
+
1973
+
1974
+ </p><table class="source_code">
1975
+ <tr>
1976
+ <td>
1977
+ <pre class="lines">
1978
+
1979
+
1980
+ 18
1981
+ 19
1982
+ 20</pre>
1983
+ </td>
1984
+ <td>
1985
+ <pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/client.rb', line 18</span>
1986
+
1987
+ <span class='kw'>def</span> <span class='id identifier rubyid_projects'>projects</span>
1988
+ <span class='const'>Mitsubachi</span><span class='op'>::</span><span class='const'>Projects</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='kw'>self</span><span class='rparen'>)</span>
1989
+ <span class='kw'>end</span></pre>
1990
+ </td>
1991
+ </tr>
1992
+ </table>
1944
1993
  </div>
1945
1994
 
1946
1995
  <div class="method_details ">
@@ -2052,13 +2101,13 @@ resource/deleteを発行します
2052
2101
  <pre class="lines">
2053
2102
 
2054
2103
 
2055
- 301
2056
- 302
2057
- 303
2058
- 304</pre>
2104
+ 322
2105
+ 323
2106
+ 324
2107
+ 325</pre>
2059
2108
  </td>
2060
2109
  <td>
2061
- <pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/client.rb', line 301</span>
2110
+ <pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/client.rb', line 322</span>
2062
2111
 
2063
2112
  <span class='kw'>def</span> <span class='id identifier rubyid_resource_delete'>resource_delete</span> <span class='id identifier rubyid_project_name'>project_name</span><span class='comma'>,</span> <span class='id identifier rubyid_file_name'>file_name</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>
2064
2113
  <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>ResourceDeleteRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_project_name'>project_name</span><span class='comma'>,</span> <span class='id identifier rubyid_file_name'>file_name</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
@@ -2153,6 +2202,31 @@ resource/getを発行します
2153
2202
 
2154
2203
  </ul>
2155
2204
 
2205
+
2206
+
2207
+
2208
+
2209
+
2210
+
2211
+
2212
+ <h3>Options Hash (<tt>options</tt>):</h3>
2213
+ <ul class="option">
2214
+
2215
+ <li>
2216
+ <span class="name">:with_body</span>
2217
+ <span class="type">(<tt>Boolean</tt>)</span>
2218
+ <span class="default">
2219
+
2220
+ </span>
2221
+ &mdash; <div class='inline'><p>
2222
+ trueを指定すると、response[&#8216;body&#8217;]でファイルの内容にアクセスすることができるようになります。
2223
+ </p>
2224
+ </div>
2225
+ </li>
2226
+
2227
+ </ul>
2228
+
2229
+
2156
2230
  <h3>Returns:</h3>
2157
2231
  <ul class="return">
2158
2232
 
@@ -2179,17 +2253,33 @@ resource/getを発行します
2179
2253
  <pre class="lines">
2180
2254
 
2181
2255
 
2182
- 288
2183
- 289
2184
- 290
2185
- 291</pre>
2256
+ 301
2257
+ 302
2258
+ 303
2259
+ 304
2260
+ 305
2261
+ 306
2262
+ 307
2263
+ 308
2264
+ 309
2265
+ 310
2266
+ 311
2267
+ 312</pre>
2186
2268
  </td>
2187
2269
  <td>
2188
- <pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/client.rb', line 288</span>
2270
+ <pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/client.rb', line 301</span>
2189
2271
 
2190
2272
  <span class='kw'>def</span> <span class='id identifier rubyid_resource_get'>resource_get</span> <span class='id identifier rubyid_project_name'>project_name</span><span class='comma'>,</span> <span class='id identifier rubyid_file_name'>file_name</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>
2191
2273
  <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>ResourceGetRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_project_name'>project_name</span><span class='comma'>,</span> <span class='id identifier rubyid_file_name'>file_name</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
2192
- <span class='id identifier rubyid_send_request'>send_request</span><span class='lparen'>(</span><span class='id identifier rubyid_request'>request</span><span class='rparen'>)</span>
2274
+ <span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='id identifier rubyid_send_request'>send_request</span><span class='lparen'>(</span><span class='id identifier rubyid_request'>request</span><span class='rparen'>)</span>
2275
+ <span class='kw'>if</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:with_body</span><span class='rbracket'>]</span>
2276
+ <span class='kw'>begin</span>
2277
+ <span class='id identifier rubyid_uri'>uri</span> <span class='op'>=</span> <span class='const'>URI</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='id identifier rubyid_result'>result</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>url</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
2278
+ <span class='id identifier rubyid_result'>result</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>body</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='const'>Net</span><span class='op'>::</span><span class='const'>HTTP</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='id identifier rubyid_uri'>uri</span><span class='period'>.</span><span class='id identifier rubyid_host'>host</span><span class='comma'>,</span> <span class='id identifier rubyid_uri'>uri</span><span class='period'>.</span><span class='id identifier rubyid_request_uri'>request_uri</span><span class='rparen'>)</span>
2279
+ <span class='kw'>rescue</span>
2280
+ <span class='kw'>end</span>
2281
+ <span class='kw'>end</span>
2282
+ <span class='kw'>return</span> <span class='id identifier rubyid_result'>result</span>
2193
2283
  <span class='kw'>end</span></pre>
2194
2284
  </td>
2195
2285
  </tr>
@@ -2338,13 +2428,13 @@ resource/listを発行します
2338
2428
  <pre class="lines">
2339
2429
 
2340
2430
 
2341
- 274
2342
- 275
2343
- 276
2344
- 277</pre>
2431
+ 286
2432
+ 287
2433
+ 288
2434
+ 289</pre>
2345
2435
  </td>
2346
2436
  <td>
2347
- <pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/client.rb', line 274</span>
2437
+ <pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/client.rb', line 286</span>
2348
2438
 
2349
2439
  <span class='kw'>def</span> <span class='id identifier rubyid_resource_list'>resource_list</span> <span class='id identifier rubyid_project_name'>project_name</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>
2350
2440
  <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>ResourceListRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_project_name'>project_name</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
@@ -2507,13 +2597,13 @@ resource/storeを発行します
2507
2597
  <pre class="lines">
2508
2598
 
2509
2599
 
2510
- 247
2511
- 248
2512
- 249
2513
- 250</pre>
2600
+ 259
2601
+ 260
2602
+ 261
2603
+ 262</pre>
2514
2604
  </td>
2515
2605
  <td>
2516
- <pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/client.rb', line 247</span>
2606
+ <pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/client.rb', line 259</span>
2517
2607
 
2518
2608
  <span class='kw'>def</span> <span class='id identifier rubyid_resource_store'>resource_store</span> <span class='id identifier rubyid_project_name'>project_name</span><span class='comma'>,</span> <span class='id identifier rubyid_file_or_file_name'>file_or_file_name</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>
2519
2609
  <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>ResourceStoreRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_project_name'>project_name</span><span class='comma'>,</span> <span class='id identifier rubyid_file_or_file_name'>file_or_file_name</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
@@ -2633,13 +2723,13 @@ script/deleteを発行します
2633
2723
  <pre class="lines">
2634
2724
 
2635
2725
 
2636
- 231
2637
- 232
2638
- 233
2639
- 234</pre>
2726
+ 243
2727
+ 244
2728
+ 245
2729
+ 246</pre>
2640
2730
  </td>
2641
2731
  <td>
2642
- <pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/client.rb', line 231</span>
2732
+ <pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/client.rb', line 243</span>
2643
2733
 
2644
2734
  <span class='kw'>def</span> <span class='id identifier rubyid_script_delete'>script_delete</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='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='op'>=</span><span class='lbrace'>{</span><span class='rbrace'>}</span>
2645
2735
  <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>ScriptDeleteRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</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_name'>script_name</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
@@ -2784,13 +2874,13 @@ script/deployを発行します
2784
2874
  <pre class="lines">
2785
2875
 
2786
2876
 
2787
- 177
2788
- 178
2789
- 179
2790
- 180</pre>
2877
+ 180
2878
+ 181
2879
+ 182
2880
+ 183</pre>
2791
2881
  </td>
2792
2882
  <td>
2793
- <pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/client.rb', line 177</span>
2883
+ <pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/client.rb', line 180</span>
2794
2884
 
2795
2885
  <span class='kw'>def</span> <span class='id identifier rubyid_script_deploy'>script_deploy</span> <span class='id identifier rubyid_project_name'>project_name</span><span class='comma'>,</span> <span class='id identifier rubyid_file_or_file_name'>file_or_file_name</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>
2796
2886
  <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>ScriptDeployRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_project_name'>project_name</span><span class='comma'>,</span> <span class='id identifier rubyid_file_or_file_name'>file_or_file_name</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
@@ -2885,6 +2975,31 @@ script/getを発行します
2885
2975
 
2886
2976
  </ul>
2887
2977
 
2978
+
2979
+
2980
+
2981
+
2982
+
2983
+
2984
+
2985
+ <h3>Options Hash (<tt>options</tt>):</h3>
2986
+ <ul class="option">
2987
+
2988
+ <li>
2989
+ <span class="name">:with_body</span>
2990
+ <span class="type">(<tt>Boolean</tt>)</span>
2991
+ <span class="default">
2992
+
2993
+ </span>
2994
+ &mdash; <div class='inline'><p>
2995
+ trueを指定すると、response[&#8216;body&#8217;]でファイルの内容にアクセスすることができるようになります。
2996
+ </p>
2997
+ </div>
2998
+ </li>
2999
+
3000
+ </ul>
3001
+
3002
+
2888
3003
  <h3>Returns:</h3>
2889
3004
  <ul class="return">
2890
3005
 
@@ -2911,17 +3026,33 @@ script/getを発行します
2911
3026
  <pre class="lines">
2912
3027
 
2913
3028
 
2914
- 218
2915
- 219
2916
- 220
2917
- 221</pre>
3029
+ 222
3030
+ 223
3031
+ 224
3032
+ 225
3033
+ 226
3034
+ 227
3035
+ 228
3036
+ 229
3037
+ 230
3038
+ 231
3039
+ 232
3040
+ 233</pre>
2918
3041
  </td>
2919
3042
  <td>
2920
- <pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/client.rb', line 218</span>
3043
+ <pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/client.rb', line 222</span>
2921
3044
 
2922
3045
  <span class='kw'>def</span> <span class='id identifier rubyid_script_get'>script_get</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='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='op'>=</span><span class='lbrace'>{</span><span class='rbrace'>}</span>
2923
3046
  <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>ScriptGetRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</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_name'>script_name</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
2924
- <span class='id identifier rubyid_send_request'>send_request</span><span class='lparen'>(</span><span class='id identifier rubyid_request'>request</span><span class='rparen'>)</span>
3047
+ <span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='id identifier rubyid_send_request'>send_request</span><span class='lparen'>(</span><span class='id identifier rubyid_request'>request</span><span class='rparen'>)</span>
3048
+ <span class='kw'>if</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:with_body</span><span class='rbracket'>]</span>
3049
+ <span class='kw'>begin</span>
3050
+ <span class='id identifier rubyid_uri'>uri</span> <span class='op'>=</span> <span class='const'>URI</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='id identifier rubyid_result'>result</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>url</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
3051
+ <span class='id identifier rubyid_result'>result</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>body</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='const'>Net</span><span class='op'>::</span><span class='const'>HTTP</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='id identifier rubyid_uri'>uri</span><span class='period'>.</span><span class='id identifier rubyid_host'>host</span><span class='comma'>,</span> <span class='id identifier rubyid_uri'>uri</span><span class='period'>.</span><span class='id identifier rubyid_request_uri'>request_uri</span><span class='rparen'>)</span>
3052
+ <span class='kw'>rescue</span>
3053
+ <span class='kw'>end</span>
3054
+ <span class='kw'>end</span>
3055
+ <span class='kw'>return</span> <span class='id identifier rubyid_result'>result</span>
2925
3056
  <span class='kw'>end</span></pre>
2926
3057
  </td>
2927
3058
  </tr>
@@ -3070,13 +3201,13 @@ script/listを発行します
3070
3201
  <pre class="lines">
3071
3202
 
3072
3203
 
3073
- 204
3074
- 205
3075
- 206
3076
- 207</pre>
3204
+ 207
3205
+ 208
3206
+ 209
3207
+ 210</pre>
3077
3208
  </td>
3078
3209
  <td>
3079
- <pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/client.rb', line 204</span>
3210
+ <pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/client.rb', line 207</span>
3080
3211
 
3081
3212
  <span class='kw'>def</span> <span class='id identifier rubyid_script_list'>script_list</span> <span class='id identifier rubyid_project_name'>project_name</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>
3082
3213
  <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>ScriptListRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_project_name'>project_name</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
@@ -3092,7 +3223,7 @@ script/listを発行します
3092
3223
  </div>
3093
3224
 
3094
3225
  <div id="footer">
3095
- Generated on Fri Jan 27 13:34:47 2012 by
3226
+ Generated on Wed Feb 1 14:15:30 2012 by
3096
3227
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
3097
3228
  0.7.4 (ruby-1.9.2).
3098
3229
  </div>