mushikago-sdk 0.2.3 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. data/README.md +9 -6
  2. data/autotest/discover.rb +1 -0
  3. data/doc/Mushikago.html +37 -21
  4. data/doc/Mushikago/Auth.html +8 -4
  5. data/doc/Mushikago/Auth/Signature.html +59 -32
  6. data/doc/Mushikago/Auth/Signer.html +81 -44
  7. data/doc/Mushikago/Config.html +41 -18
  8. data/doc/Mushikago/Hotaru.html +120 -0
  9. data/doc/Mushikago/Hotaru/Client.html +818 -0
  10. data/doc/Mushikago/Hotaru/Request.html +303 -0
  11. data/doc/Mushikago/Http.html +10 -6
  12. data/doc/Mushikago/Http/Client.html +107 -58
  13. data/doc/Mushikago/Http/MultipartRequest.html +366 -0
  14. data/doc/Mushikago/Http/Request.html +289 -167
  15. data/doc/Mushikago/Http/Response.html +153 -70
  16. data/doc/Mushikago/Mitsubachi.html +108 -0
  17. data/doc/Mushikago/Mitsubachi/Client.html +2923 -0
  18. data/doc/Mushikago/Mitsubachi/HttpFetchRequest.html +363 -0
  19. data/doc/Mushikago/Mitsubachi/HttpPushRequest.html +365 -0
  20. data/doc/Mushikago/Mitsubachi/MultipartRequest.html +332 -0
  21. data/doc/Mushikago/Mitsubachi/ProjectCreateRequest.html +361 -0
  22. data/doc/Mushikago/Mitsubachi/ProjectDeleteRequest.html +351 -0
  23. data/doc/Mushikago/Mitsubachi/ProjectDiscontinueRequest.html +349 -0
  24. data/doc/Mushikago/Mitsubachi/ProjectInfoRequest.html +302 -0
  25. data/doc/Mushikago/Mitsubachi/ProjectListRequest.html +304 -0
  26. data/doc/Mushikago/Mitsubachi/ProjectQueuesRequest.html +300 -0
  27. data/doc/Mushikago/Mitsubachi/ProjectUpdateRequest.html +359 -0
  28. data/doc/Mushikago/Mitsubachi/Request.html +307 -0
  29. data/doc/Mushikago/Mitsubachi/ResourceDeleteRequest.html +351 -0
  30. data/doc/Mushikago/Mitsubachi/ResourceGetRequest.html +302 -0
  31. data/doc/Mushikago/Mitsubachi/ResourceListRequest.html +306 -0
  32. data/doc/Mushikago/Mitsubachi/ResourceStoreRequest.html +390 -0
  33. data/doc/Mushikago/Mitsubachi/ScriptDeleteRequest.html +351 -0
  34. data/doc/Mushikago/Mitsubachi/ScriptDeployRequest.html +386 -0
  35. data/doc/Mushikago/Mitsubachi/ScriptGetRequest.html +302 -0
  36. data/doc/Mushikago/Mitsubachi/ScriptListRequest.html +306 -0
  37. data/doc/Mushikago/Tombo.html +8 -4
  38. data/doc/Mushikago/Tombo/CaptureRequest.html +90 -34
  39. data/doc/Mushikago/Tombo/CapturesRequest.html +68 -27
  40. data/doc/Mushikago/Tombo/Client.html +181 -75
  41. data/doc/Mushikago/Tombo/DeleteRequest.html +44 -24
  42. data/doc/Mushikago/Tombo/InfoRequest.html +32 -16
  43. data/doc/Mushikago/Tombo/Request.html +45 -15
  44. data/doc/_index.html +192 -9
  45. data/doc/class_list.html +1 -1
  46. data/doc/css/full_list.css +2 -0
  47. data/doc/css/style.css +12 -10
  48. data/doc/file.README.html +66 -60
  49. data/doc/frames.html +1 -1
  50. data/doc/index.html +66 -60
  51. data/doc/js/app.js +4 -4
  52. data/doc/js/full_list.js +23 -6
  53. data/doc/method_list.html +622 -62
  54. data/doc/top-level-namespace.html +3 -3
  55. data/lib/mushikago-sdk.rb +1 -0
  56. data/lib/mushikago.rb +3 -0
  57. data/lib/mushikago/auth.rb +1 -0
  58. data/lib/mushikago/auth/signature.rb +1 -0
  59. data/lib/mushikago/auth/signer.rb +1 -0
  60. data/lib/mushikago/configuration.rb +3 -2
  61. data/lib/mushikago/hotaru.rb +22 -0
  62. data/lib/mushikago/hotaru/client.rb +76 -0
  63. data/lib/mushikago/hotaru/request.rb +32 -0
  64. data/lib/mushikago/http.rb +2 -0
  65. data/lib/mushikago/http/client.rb +2 -1
  66. data/lib/mushikago/http/multipart_request.rb +62 -0
  67. data/lib/mushikago/http/request.rb +5 -2
  68. data/lib/mushikago/http/response.rb +1 -0
  69. data/lib/mushikago/mitsubachi.rb +33 -0
  70. data/lib/mushikago/mitsubachi/client.rb +256 -0
  71. data/lib/mushikago/mitsubachi/http_fetch_request.rb +33 -0
  72. data/lib/mushikago/mitsubachi/http_push_request.rb +36 -0
  73. data/lib/mushikago/mitsubachi/multipart_request.rb +33 -0
  74. data/lib/mushikago/mitsubachi/project_create_request.rb +32 -0
  75. data/lib/mushikago/mitsubachi/project_delete_request.rb +23 -0
  76. data/lib/mushikago/mitsubachi/project_discontinue_request.rb +22 -0
  77. data/lib/mushikago/mitsubachi/project_info_request.rb +17 -0
  78. data/lib/mushikago/mitsubachi/project_list_request.rb +21 -0
  79. data/lib/mushikago/mitsubachi/project_queues_request.rb +16 -0
  80. data/lib/mushikago/mitsubachi/project_update_request.rb +31 -0
  81. data/lib/mushikago/mitsubachi/request.rb +32 -0
  82. data/lib/mushikago/mitsubachi/resource_delete_request.rb +24 -0
  83. data/lib/mushikago/mitsubachi/resource_get_request.rb +19 -0
  84. data/lib/mushikago/mitsubachi/resource_list_request.rb +22 -0
  85. data/lib/mushikago/mitsubachi/resource_store_request.rb +33 -0
  86. data/lib/mushikago/mitsubachi/script_delete_request.rb +23 -0
  87. data/lib/mushikago/mitsubachi/script_deploy_request.rb +28 -0
  88. data/lib/mushikago/mitsubachi/script_get_request.rb +18 -0
  89. data/lib/mushikago/mitsubachi/script_list_request.rb +21 -0
  90. data/lib/mushikago/tombo.rb +1 -0
  91. data/lib/mushikago/tombo/capture_request.rb +2 -1
  92. data/lib/mushikago/tombo/captures_request.rb +2 -1
  93. data/lib/mushikago/tombo/client.rb +1 -0
  94. data/lib/mushikago/tombo/delete_request.rb +2 -1
  95. data/lib/mushikago/tombo/info_request.rb +2 -1
  96. data/lib/mushikago/tombo/request.rb +3 -2
  97. data/lib/mushikago/version.rb +2 -1
  98. data/spec/mushikago/auth/signature_spec.rb +1 -0
  99. data/spec/mushikago/auth/signer_spec.rb +1 -0
  100. data/spec/mushikago/configuration_spec.rb +7 -6
  101. data/spec/mushikago/http/client_spec.rb +3 -2
  102. data/spec/mushikago/http/request_spec.rb +3 -1
  103. data/spec/mushikago/http/response_spec.rb +1 -0
  104. data/spec/mushikago/tombo/capture_request_spec.rb +3 -2
  105. data/spec/mushikago/tombo/captures_request_spec.rb +3 -2
  106. data/spec/mushikago/tombo/client_spec.rb +91 -32
  107. data/spec/mushikago/tombo/delete_request_spec.rb +3 -2
  108. data/spec/mushikago/tombo/info_request_spec.rb +3 -2
  109. data/spec/mushikago/tombo/request_spec.rb +2 -1
  110. data/spec/spec_helper.rb +1 -0
  111. metadata +136 -115
@@ -0,0 +1,306 @@
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::ScriptListRequest
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">ScriptListRequest</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::ScriptListRequest
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"><span class='object_link'><a href="Request.html" title="Mushikago::Mitsubachi::Request (class)">Request</a></span></span>
70
+
71
+ <ul class="fullTree">
72
+ <li>Object</li>
73
+
74
+ <li class="next"><span class='object_link'><a href="../Http/Request.html" title="Mushikago::Http::Request (class)">Http::Request</a></span></li>
75
+
76
+ <li class="next"><span class='object_link'><a href="Request.html" title="Mushikago::Mitsubachi::Request (class)">Request</a></span></li>
77
+
78
+ <li class="next">Mushikago::Mitsubachi::ScriptListRequest</li>
79
+
80
+ </ul>
81
+ <a href="#" class="inheritanceTree">show all</a>
82
+
83
+ </dd>
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+ <dt class="r2 last">Defined in:</dt>
94
+ <dd class="r2 last">lib/mushikago/mitsubachi/script_list_request.rb</dd>
95
+
96
+ </dl>
97
+ <div class="clear"></div>
98
+
99
+
100
+
101
+
102
+
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+
111
+
112
+
113
+
114
+
115
+
116
+
117
+
118
+
119
+
120
+
121
+
122
+
123
+
124
+ <h2>Instance Attribute Summary</h2>
125
+
126
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="../Http/Request.html" title="Mushikago::Http::Request (class)">Http::Request</a></span></h3>
127
+ <p class="inherited"><span class='object_link'><a href="../Http/Request.html#headers-instance_method" title="Mushikago::Http::Request#headers (method)">headers</a></span>, <span class='object_link'><a href="../Http/Request.html#host-instance_method" title="Mushikago::Http::Request#host (method)">host</a></span>, <span class='object_link'><a href="../Http/Request.html#http_method-instance_method" title="Mushikago::Http::Request#http_method (method)">http_method</a></span>, <span class='object_link'><a href="../Http/Request.html#params-instance_method" title="Mushikago::Http::Request#params (method)">params</a></span>, <span class='object_link'><a href="../Http/Request.html#path-instance_method" title="Mushikago::Http::Request#path (method)">path</a></span>, <span class='object_link'><a href="../Http/Request.html#port-instance_method" title="Mushikago::Http::Request#port (method)">port</a></span></p>
128
+
129
+
130
+
131
+ <h2>
132
+ Instance Method Summary
133
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
134
+ </h2>
135
+
136
+ <ul class="summary">
137
+
138
+ <li class="public ">
139
+ <span class="summary_signature">
140
+
141
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (ScriptListRequest) <strong>initialize</strong>(project_name, options = {}) </a>
142
+
143
+
144
+
145
+ </span>
146
+
147
+ <span class="note title constructor">constructor</span>
148
+
149
+
150
+
151
+
152
+
153
+
154
+
155
+
156
+ <span class="summary_desc"><div class='inline'><p>
157
+ A new instance of ScriptListRequest.
158
+ </p>
159
+ </div></span>
160
+
161
+ </li>
162
+
163
+
164
+ <li class="public ">
165
+ <span class="summary_signature">
166
+
167
+ <a href="#method_name-instance_method" title="#method_name (instance method)">- (Object) <strong>method_name</strong> </a>
168
+
169
+
170
+
171
+ </span>
172
+
173
+
174
+
175
+
176
+
177
+
178
+
179
+
180
+ <span class="summary_desc"><div class='inline'></div></span>
181
+
182
+ </li>
183
+
184
+
185
+ </ul>
186
+
187
+
188
+
189
+
190
+
191
+
192
+
193
+
194
+
195
+
196
+
197
+
198
+
199
+
200
+
201
+ <h3 class="inherited">Methods included from <span class='object_link'><a href="../Auth/Signature.html" title="Mushikago::Auth::Signature (module)">Auth::Signature</a></span></h3>
202
+ <p class="inherited"><span class='object_link'><a href="../Auth/Signature.html#add_signature%21-instance_method" title="Mushikago::Auth::Signature#add_signature! (method)">#add_signature!</a></span>, <span class='object_link'><a href="../Auth/Signature.html#string_to_sign-instance_method" title="Mushikago::Auth::Signature#string_to_sign (method)">#string_to_sign</a></span></p>
203
+
204
+
205
+
206
+
207
+
208
+
209
+
210
+
211
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Http/Request.html" title="Mushikago::Http::Request (class)">Http::Request</a></span></h3>
212
+ <p class="inherited"><span class='object_link'><a href="../Http/Request.html#%5B%5D-instance_method" title="Mushikago::Http::Request#[] (method)">#[]</a></span>, <span class='object_link'><a href="../Http/Request.html#%5B%5D%3D-instance_method" title="Mushikago::Http::Request#[]= (method)">#[]=</a></span>, <span class='object_link'><a href="../Http/Request.html#add_param-class_method" title="Mushikago::Http::Request.add_param (method)">add_param</a></span>, <span class='object_link'><a href="../Http/Request.html#to_http_request-instance_method" title="Mushikago::Http::Request#to_http_request (method)">#to_http_request</a></span>, <span class='object_link'><a href="../Http/Request.html#url_encoded_params-instance_method" title="Mushikago::Http::Request#url_encoded_params (method)">#url_encoded_params</a></span></p>
213
+ <div id="constructor_details" class="method_details_list">
214
+ <h2>Constructor Details</h2>
215
+
216
+ <div class="method_details first">
217
+ <p class="signature first" id="initialize-instance_method">
218
+
219
+ - (<tt><span class='object_link'><a href="" title="Mushikago::Mitsubachi::ScriptListRequest (class)">ScriptListRequest</a></span></tt>) <strong>initialize</strong>(project_name, options = {})
220
+
221
+
222
+
223
+ </p><div class="docstring">
224
+ <div class="discussion">
225
+ <p>
226
+ A new instance of ScriptListRequest
227
+ </p>
228
+
229
+
230
+ </div>
231
+ </div>
232
+ <div class="tags">
233
+
234
+
235
+ </div><table class="source_code">
236
+ <tr>
237
+ <td>
238
+ <pre class="lines">
239
+
240
+
241
+ 11
242
+ 12
243
+ 13
244
+ 14
245
+ 15
246
+ 16
247
+ 17</pre>
248
+ </td>
249
+ <td>
250
+ <pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/script_list_request.rb', line 11</span>
251
+
252
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</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>
253
+ <span class='kw'>super</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
254
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_project_name'>project_name</span> <span class='op'>=</span> <span class='id identifier rubyid_project_name'>project_name</span>
255
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_limit'>limit</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:limit</span><span class='rbracket'>]</span> <span class='kw'>if</span> <span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_has_key?'>has_key?</span><span class='lparen'>(</span><span class='symbol'>:limit</span><span class='rparen'>)</span>
256
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_offset'>offset</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:offset</span><span class='rbracket'>]</span> <span class='kw'>if</span> <span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_has_key?'>has_key?</span><span class='lparen'>(</span><span class='symbol'>:offset</span><span class='rparen'>)</span>
257
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_filter'>filter</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:filter</span><span class='rbracket'>]</span> <span class='kw'>if</span> <span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_has_key?'>has_key?</span><span class='lparen'>(</span><span class='symbol'>:filter</span><span class='rparen'>)</span>
258
+ <span class='kw'>end</span></pre>
259
+ </td>
260
+ </tr>
261
+ </table>
262
+ </div>
263
+
264
+ </div>
265
+
266
+
267
+ <div id="instance_method_details" class="method_details_list">
268
+ <h2>Instance Method Details</h2>
269
+
270
+
271
+ <div class="method_details first">
272
+ <p class="signature first" id="method_name-instance_method">
273
+
274
+ - (<tt>Object</tt>) <strong>method_name</strong>
275
+
276
+
277
+
278
+ </p><table class="source_code">
279
+ <tr>
280
+ <td>
281
+ <pre class="lines">
282
+
283
+
284
+ 5</pre>
285
+ </td>
286
+ <td>
287
+ <pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/script_list_request.rb', line 5</span>
288
+
289
+ <span class='kw'>def</span> <span class='id identifier rubyid_method_name'>method_name</span><span class='semicolon'>;</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>script/list</span><span class='tstring_end'>'</span></span> <span class='kw'>end</span></pre>
290
+ </td>
291
+ </tr>
292
+ </table>
293
+ </div>
294
+
295
+ </div>
296
+
297
+ </div>
298
+
299
+ <div id="footer">
300
+ Generated on Thu Jan 26 17:19:03 2012 by
301
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
302
+ 0.7.4 (ruby-1.9.2).
303
+ </div>
304
+
305
+ </body>
306
+ </html>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: Mushikago::Tombo
8
8
 
9
- &mdash; Documentation by YARD 0.7.2
9
+ &mdash; Documentation by YARD 0.7.4
10
10
 
11
11
  </title>
12
12
 
@@ -81,12 +81,16 @@
81
81
 
82
82
  <h2>Overview</h2><div class="docstring">
83
83
  <div class="discussion">
84
- <p>Tomboへのアクセスを行うモジュール</p>
84
+ <p>
85
+ Tomboへのアクセスを行うモジュール
86
+ </p>
87
+
85
88
 
86
89
  </div>
87
90
  </div>
88
91
  <div class="tags">
89
92
 
93
+
90
94
  </div><h2>Defined Under Namespace</h2>
91
95
  <p class="children">
92
96
 
@@ -107,9 +111,9 @@
107
111
  </div>
108
112
 
109
113
  <div id="footer">
110
- Generated on Thu Sep 8 10:07:01 2011 by
114
+ Generated on Thu Jan 26 17:19:02 2012 by
111
115
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
112
- 0.7.2 (ruby-1.8.7).
116
+ 0.7.4 (ruby-1.9.2).
113
117
  </div>
114
118
 
115
119
  </body>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Mushikago::Tombo::CaptureRequest
8
8
 
9
- &mdash; Documentation by YARD 0.7.2
9
+ &mdash; Documentation by YARD 0.7.4
10
10
 
11
11
  </title>
12
12
 
@@ -98,12 +98,16 @@
98
98
 
99
99
  <h2>Overview</h2><div class="docstring">
100
100
  <div class="discussion">
101
- <p>キャプチャリクエスト</p>
101
+ <p>
102
+ キャプチャリクエスト
103
+ </p>
104
+
102
105
 
103
106
  </div>
104
107
  </div>
105
108
  <div class="tags">
106
109
 
110
+
107
111
  </div>
108
112
 
109
113
 
@@ -161,7 +165,10 @@
161
165
 
162
166
 
163
167
 
164
- <span class="summary_desc"><div class='inline'><p>A new instance of CaptureRequest.</p></div></span>
168
+ <span class="summary_desc"><div class='inline'><p>
169
+ A new instance of CaptureRequest.
170
+ </p>
171
+ </div></span>
165
172
 
166
173
  </li>
167
174
 
@@ -235,7 +242,7 @@
235
242
 
236
243
 
237
244
  <h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Http/Request.html" title="Mushikago::Http::Request (class)">Http::Request</a></span></h3>
238
- <p class="inherited"><span class='object_link'><a href="../Http/Request.html#add_param-class_method" title="Mushikago::Http::Request.add_param (method)">add_param</a></span>, <span class='object_link'><a href="../Http/Request.html#get_param-instance_method" title="Mushikago::Http::Request#get_param (method)">#get_param</a></span>, <span class='object_link'><a href="../Http/Request.html#set_param-instance_method" title="Mushikago::Http::Request#set_param (method)">#set_param</a></span>, <span class='object_link'><a href="../Http/Request.html#to_http_request-instance_method" title="Mushikago::Http::Request#to_http_request (method)">#to_http_request</a></span>, <span class='object_link'><a href="../Http/Request.html#url_encoded_params-instance_method" title="Mushikago::Http::Request#url_encoded_params (method)">#url_encoded_params</a></span></p>
245
+ <p class="inherited"><span class='object_link'><a href="../Http/Request.html#%5B%5D-instance_method" title="Mushikago::Http::Request#[] (method)">#[]</a></span>, <span class='object_link'><a href="../Http/Request.html#%5B%5D%3D-instance_method" title="Mushikago::Http::Request#[]= (method)">#[]=</a></span>, <span class='object_link'><a href="../Http/Request.html#add_param-class_method" title="Mushikago::Http::Request.add_param (method)">add_param</a></span>, <span class='object_link'><a href="../Http/Request.html#to_http_request-instance_method" title="Mushikago::Http::Request#to_http_request (method)">#to_http_request</a></span>, <span class='object_link'><a href="../Http/Request.html#url_encoded_params-instance_method" title="Mushikago::Http::Request#url_encoded_params (method)">#url_encoded_params</a></span></p>
239
246
  <div id="constructor_details" class="method_details_list">
240
247
  <h2>Constructor Details</h2>
241
248
 
@@ -248,7 +255,10 @@
248
255
 
249
256
  </p><div class="docstring">
250
257
  <div class="discussion">
251
- <p>A new instance of CaptureRequest</p>
258
+ <p>
259
+ A new instance of CaptureRequest
260
+ </p>
261
+
252
262
 
253
263
  </div>
254
264
  </div>
@@ -266,7 +276,10 @@
266
276
 
267
277
 
268
278
  &mdash;
269
- <div class='inline'><p>キャプチャ対象のURL</p></div>
279
+ <div class='inline'><p>
280
+ キャプチャ対象のURL
281
+ </p>
282
+ </div>
270
283
 
271
284
  </li>
272
285
 
@@ -282,7 +295,10 @@
282
295
 
283
296
 
284
297
  &mdash;
285
- <div class='inline'><p>リクエストのオプション</p></div>
298
+ <div class='inline'><p>
299
+ リクエストのオプション
300
+ </p>
301
+ </div>
286
302
 
287
303
  </li>
288
304
 
@@ -302,8 +318,11 @@
302
318
  <span class="default">
303
319
 
304
320
  </span>
305
- &mdash; <div class='inline'><p>画像のフォーマット(jpg,png)</p></div>
306
- </tr>
321
+ &mdash; <div class='inline'><p>
322
+ 画像のフォーマット(jpg,png)
323
+ </p>
324
+ </div>
325
+ </li>
307
326
 
308
327
  <li>
309
328
  <span class="name">:image_quality(80)</span>
@@ -311,8 +330,11 @@
311
330
  <span class="default">
312
331
 
313
332
  </span>
314
- &mdash; <div class='inline'><p>画像の品質(0-100)</p></div>
315
- </tr>
333
+ &mdash; <div class='inline'><p>
334
+ 画像の品質(0-100)
335
+ </p>
336
+ </div>
337
+ </li>
316
338
 
317
339
  <li>
318
340
  <span class="name">:thumbnail(0)</span>
@@ -320,8 +342,11 @@
320
342
  <span class="default">
321
343
 
322
344
  </span>
323
- &mdash; <div class='inline'><p>サムネイル取得フラグ(false:取得しない,true:取得する)</p></div>
324
- </tr>
345
+ &mdash; <div class='inline'><p>
346
+ サムネイル取得フラグ(false:取得しない,true:取得する)
347
+ </p>
348
+ </div>
349
+ </li>
325
350
 
326
351
  <li>
327
352
  <span class="name">:tags</span>
@@ -329,25 +354,58 @@
329
354
  <span class="default">
330
355
 
331
356
  </span>
332
- &mdash; <div class='inline'><p>タグ</p></div>
333
- </tr>
357
+ &mdash; <div class='inline'><p>
358
+ タグ
359
+ </p>
360
+ </div>
361
+ </li>
362
+
363
+ <li>
364
+ <span class="name">:useragent</span>
365
+ <span class="type">(<tt>String</tt>)</span>
366
+ <span class="default">
367
+
368
+ </span>
369
+ &mdash; <div class='inline'><p>
370
+ ユーザエージェント
371
+ </p>
372
+ </div>
373
+ </li>
334
374
 
335
375
  </ul>
336
376
 
337
377
 
378
+
338
379
  </div><table class="source_code">
339
380
  <tr>
340
381
  <td>
341
382
  <pre class="lines">
342
383
 
343
384
 
344
- 19</pre>
385
+ 22
386
+ 23
387
+ 24
388
+ 25
389
+ 26
390
+ 27
391
+ 28
392
+ 29
393
+ 30
394
+ 31</pre>
345
395
  </td>
346
396
  <td>
347
- <pre class="code"><span class="info file"># File 'lib/mushikago/tombo/capture_request.rb', line 19</span>
348
-
349
- <span class='def def kw'>def</span> <span class='initialize identifier id'>initialize</span> <span class='url identifier id'>url</span><span class='comma token'>,</span> <span class='options identifier id'>options</span><span class='assign token'>=</span><span class='lbrace token'>{</span><span class='rbrace token'>}</span>
350
- </pre>
397
+ <pre class="code"><span class="info file"># File 'lib/mushikago/tombo/capture_request.rb', line 22</span>
398
+
399
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span> <span class='id identifier rubyid_url'>url</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>
400
+ <span class='kw'>super</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
401
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_url'>url</span> <span class='op'>=</span> <span class='id identifier rubyid_url'>url</span>
402
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_image_format'>image_format</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:image_format</span><span class='rbracket'>]</span> <span class='kw'>if</span> <span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_has_key?'>has_key?</span><span class='lparen'>(</span><span class='symbol'>:image_format</span><span class='rparen'>)</span>
403
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_image_quality'>image_quality</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:image_quality</span><span class='rbracket'>]</span> <span class='kw'>if</span> <span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_has_key?'>has_key?</span><span class='lparen'>(</span><span class='symbol'>:image_quality</span><span class='rparen'>)</span>
404
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_thumbnail'>thumbnail</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:thumbnail</span><span class='rbracket'>]</span> <span class='kw'>if</span> <span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_has_key?'>has_key?</span><span class='lparen'>(</span><span class='symbol'>:thumbnail</span><span class='rparen'>)</span>
405
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_tags'>tags</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:tags</span><span class='rbracket'>]</span> <span class='kw'>if</span> <span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_has_key?'>has_key?</span><span class='lparen'>(</span><span class='symbol'>:tags</span><span class='rparen'>)</span>
406
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_useragent'>useragent</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:useragent</span><span class='rbracket'>]</span> <span class='kw'>if</span> <span class='id identifier rubyid_options'>options</span><span class='period'>.</span><span class='id identifier rubyid_has_key?'>has_key?</span><span class='lparen'>(</span><span class='symbol'>:useragent</span><span class='rparen'>)</span>
407
+ <span class='ivar'>@headers</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Content-type</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>application/x-www-form-urlencoded; charset=utf-8</span><span class='tstring_end'>'</span></span>
408
+ <span class='kw'>end</span></pre>
351
409
  </td>
352
410
  </tr>
353
411
  </table>
@@ -373,13 +431,12 @@
373
431
  <pre class="lines">
374
432
 
375
433
 
376
- 5</pre>
434
+ 6</pre>
377
435
  </td>
378
436
  <td>
379
- <pre class="code"><span class="info file"># File 'lib/mushikago/tombo/capture_request.rb', line 5</span>
437
+ <pre class="code"><span class="info file"># File 'lib/mushikago/tombo/capture_request.rb', line 6</span>
380
438
 
381
- <span class='def def kw'>def</span> <span class='method_name identifier id'>method_name</span><span class='semicolon token'>;</span> <span class='string val'>'capture.json'</span> <span class='end end kw'>end</span>
382
- </pre>
439
+ <span class='kw'>def</span> <span class='id identifier rubyid_method_name'>method_name</span><span class='semicolon'>;</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>capture</span><span class='tstring_end'>'</span></span> <span class='kw'>end</span></pre>
383
440
  </td>
384
441
  </tr>
385
442
  </table>
@@ -398,17 +455,16 @@
398
455
  <pre class="lines">
399
456
 
400
457
 
401
- 30
402
- 31
403
- 32</pre>
458
+ 34
459
+ 35
460
+ 36</pre>
404
461
  </td>
405
462
  <td>
406
- <pre class="code"><span class="info file"># File 'lib/mushikago/tombo/capture_request.rb', line 30</span>
463
+ <pre class="code"><span class="info file"># File 'lib/mushikago/tombo/capture_request.rb', line 34</span>
407
464
 
408
- <span class='def def kw'>def</span> <span class='new_http_request identifier id'>new_http_request</span>
409
- <span class='new_http_post_request identifier id'>new_http_post_request</span><span class='lparen token'>(</span><span class='path identifier id'>path</span><span class='rparen token'>)</span>
410
- <span class='end end kw'>end</span>
411
- </pre>
465
+ <span class='kw'>def</span> <span class='id identifier rubyid_new_http_request'>new_http_request</span>
466
+ <span class='id identifier rubyid_new_http_post_request'>new_http_post_request</span><span class='lparen'>(</span><span class='id identifier rubyid_path'>path</span><span class='rparen'>)</span>
467
+ <span class='kw'>end</span></pre>
412
468
  </td>
413
469
  </tr>
414
470
  </table>
@@ -419,9 +475,9 @@
419
475
  </div>
420
476
 
421
477
  <div id="footer">
422
- Generated on Thu Sep 8 10:07:01 2011 by
478
+ Generated on Thu Jan 26 17:19:03 2012 by
423
479
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
424
- 0.7.2 (ruby-1.8.7).
480
+ 0.7.4 (ruby-1.9.2).
425
481
  </div>
426
482
 
427
483
  </body>