mushikago-sdk 0.1.6 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,118 @@
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
+ Module: Mushikago::Tombo
8
+
9
+ &mdash; Documentation by YARD 0.7.2
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 (T)</a> &raquo;
37
+ <span class='title'><span class='object_link'><a href="../Mushikago.html" title="Mushikago (module)">Mushikago</a></span></span>
38
+ &raquo;
39
+ <span class="title">Tombo</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>Module: Mushikago::Tombo
60
+
61
+
62
+
63
+ </h1>
64
+
65
+ <dl class="box">
66
+
67
+
68
+
69
+
70
+
71
+
72
+
73
+
74
+ <dt class="r1 last">Defined in:</dt>
75
+ <dd class="r1 last">lib/mushikago/tombo.rb<span class="defines">,<br />
76
+ lib/mushikago/tombo/client.rb,<br /> lib/mushikago/tombo/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</span>
77
+ </dd>
78
+
79
+ </dl>
80
+ <div class="clear"></div>
81
+
82
+ <h2>Overview</h2><div class="docstring">
83
+ <div class="discussion">
84
+
85
+ <p>Tomboへのアクセスを行うモジュール</p>
86
+
87
+
88
+ </div>
89
+ </div>
90
+ <div class="tags">
91
+
92
+ </div><h2>Defined Under Namespace</h2>
93
+ <p class="children">
94
+
95
+
96
+
97
+
98
+ <strong class="classes">Classes:</strong> <span class='object_link'><a href="Tombo/CaptureRequest.html" title="Mushikago::Tombo::CaptureRequest (class)">CaptureRequest</a></span>, <span class='object_link'><a href="Tombo/CapturesRequest.html" title="Mushikago::Tombo::CapturesRequest (class)">CapturesRequest</a></span>, <span class='object_link'><a href="Tombo/Client.html" title="Mushikago::Tombo::Client (class)">Client</a></span>, <span class='object_link'><a href="Tombo/DeleteRequest.html" title="Mushikago::Tombo::DeleteRequest (class)">DeleteRequest</a></span>, <span class='object_link'><a href="Tombo/InfoRequest.html" title="Mushikago::Tombo::InfoRequest (class)">InfoRequest</a></span>, <span class='object_link'><a href="Tombo/Request.html" title="Mushikago::Tombo::Request (class)">Request</a></span>
99
+
100
+
101
+ </p>
102
+
103
+
104
+
105
+
106
+
107
+
108
+
109
+ </div>
110
+
111
+ <div id="footer">
112
+ Generated on Tue Sep 6 18:23:00 2011 by
113
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
114
+ 0.7.2 (ruby-1.8.7).
115
+ </div>
116
+
117
+ </body>
118
+ </html>
@@ -0,0 +1,446 @@
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::Tombo::CaptureRequest
8
+
9
+ &mdash; Documentation by YARD 0.7.2
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 (C)</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="../Tombo.html" title="Mushikago::Tombo (module)">Tombo</a></span></span>
38
+ &raquo;
39
+ <span class="title">CaptureRequest</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::Tombo::CaptureRequest
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::Tombo::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::Tombo::Request (class)">Request</a></span></li>
77
+
78
+ <li class="next">Mushikago::Tombo::CaptureRequest</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/tombo/capture_request.rb</dd>
95
+
96
+ </dl>
97
+ <div class="clear"></div>
98
+
99
+ <h2>Overview</h2><div class="docstring">
100
+ <div class="discussion">
101
+
102
+ <p>キャプチャリクエスト</p>
103
+
104
+
105
+ </div>
106
+ </div>
107
+ <div class="tags">
108
+
109
+ </div>
110
+
111
+
112
+
113
+
114
+
115
+
116
+
117
+
118
+
119
+
120
+
121
+
122
+
123
+
124
+
125
+
126
+
127
+
128
+
129
+
130
+
131
+
132
+
133
+
134
+ <h2>Instance Attribute Summary</h2>
135
+
136
+ <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>
137
+ <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>
138
+
139
+
140
+
141
+ <h2>
142
+ Instance Method Summary
143
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
144
+ </h2>
145
+
146
+ <ul class="summary">
147
+
148
+ <li class="public ">
149
+ <span class="summary_signature">
150
+
151
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (CaptureRequest) <strong>initialize</strong>(url, options = {}) </a>
152
+
153
+
154
+
155
+ </span>
156
+
157
+ <span class="note title constructor">constructor</span>
158
+
159
+
160
+
161
+
162
+
163
+
164
+
165
+
166
+ <span class="summary_desc"><div class='inline'>
167
+ <p>A new instance of CaptureRequest.</p>
168
+ </div></span>
169
+
170
+ </li>
171
+
172
+
173
+ <li class="public ">
174
+ <span class="summary_signature">
175
+
176
+ <a href="#method_name-instance_method" title="#method_name (instance method)">- (Object) <strong>method_name</strong> </a>
177
+
178
+
179
+
180
+ </span>
181
+
182
+
183
+
184
+
185
+
186
+
187
+
188
+
189
+ <span class="summary_desc"><div class='inline'></div></span>
190
+
191
+ </li>
192
+
193
+
194
+ <li class="public ">
195
+ <span class="summary_signature">
196
+
197
+ <a href="#new_http_request-instance_method" title="#new_http_request (instance method)">- (Object) <strong>new_http_request</strong> </a>
198
+
199
+
200
+
201
+ </span>
202
+
203
+
204
+
205
+
206
+
207
+
208
+
209
+
210
+ <span class="summary_desc"><div class='inline'></div></span>
211
+
212
+ </li>
213
+
214
+
215
+ </ul>
216
+
217
+
218
+
219
+
220
+
221
+
222
+
223
+
224
+
225
+
226
+
227
+
228
+
229
+
230
+
231
+ <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>
232
+ <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>
233
+
234
+
235
+
236
+
237
+
238
+
239
+
240
+
241
+ <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>
242
+ <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>
243
+ <div id="constructor_details" class="method_details_list">
244
+ <h2>Constructor Details</h2>
245
+
246
+ <div class="method_details first">
247
+ <p class="signature first" id="initialize-instance_method">
248
+
249
+ - (<tt><span class='object_link'><a href="" title="Mushikago::Tombo::CaptureRequest (class)">CaptureRequest</a></span></tt>) <strong>initialize</strong>(url, options = {})
250
+
251
+
252
+
253
+ </p><div class="docstring">
254
+ <div class="discussion">
255
+
256
+ <p>A new instance of CaptureRequest</p>
257
+
258
+
259
+ </div>
260
+ </div>
261
+ <div class="tags">
262
+ <h3>Parameters:</h3>
263
+ <ul class="param">
264
+
265
+ <li>
266
+
267
+ <span class='name'>url</span>
268
+
269
+
270
+ <span class='type'>(<tt>String</tt>)</span>
271
+
272
+
273
+
274
+ &mdash;
275
+ <div class='inline'>
276
+ <p>キャプチャ対象のURL</p>
277
+ </div>
278
+
279
+ </li>
280
+
281
+ <li>
282
+
283
+ <span class='name'>options</span>
284
+
285
+
286
+ <span class='type'>(<tt>Hash</tt>)</span>
287
+
288
+
289
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
290
+
291
+
292
+ &mdash;
293
+ <div class='inline'>
294
+ <p>リクエストのオプション</p>
295
+ </div>
296
+
297
+ </li>
298
+
299
+ </ul>
300
+
301
+
302
+
303
+
304
+
305
+
306
+ <h3>Options Hash (<tt>options</tt>):</h3>
307
+ <ul class="option">
308
+
309
+ <li>
310
+ <span class="name">:image_format('jpg')</span>
311
+ <span class="type">(<tt>String</tt>)</span>
312
+ <span class="default">
313
+
314
+ </span>
315
+ &mdash; <div class='inline'>
316
+ <p>画像のフォーマット(jpg,png)</p>
317
+ </div>
318
+ </tr>
319
+
320
+ <li>
321
+ <span class="name">:image_quality(80)</span>
322
+ <span class="type">(<tt>Integer</tt>)</span>
323
+ <span class="default">
324
+
325
+ </span>
326
+ &mdash; <div class='inline'>
327
+ <p>画像の品質(0-100)</p>
328
+ </div>
329
+ </tr>
330
+
331
+ <li>
332
+ <span class="name">:thumbnail(0)</span>
333
+ <span class="type">(<tt>Boolean</tt>)</span>
334
+ <span class="default">
335
+
336
+ </span>
337
+ &mdash; <div class='inline'>
338
+ <p>サムネイル取得フラグ(false:取得しない,true:取得する)</p>
339
+ </div>
340
+ </tr>
341
+
342
+ <li>
343
+ <span class="name">:tags</span>
344
+ <span class="type">(<tt>String</tt>, <tt>Array</tt>)</span>
345
+ <span class="default">
346
+
347
+ </span>
348
+ &mdash; <div class='inline'>
349
+ <p>タグ</p>
350
+ </div>
351
+ </tr>
352
+
353
+ </ul>
354
+
355
+
356
+ </div><table class="source_code">
357
+ <tr>
358
+ <td>
359
+ <pre class="lines">
360
+
361
+
362
+ 19</pre>
363
+ </td>
364
+ <td>
365
+ <pre class="code"><span class="info file"># File 'lib/mushikago/tombo/capture_request.rb', line 19</span>
366
+
367
+ <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>
368
+ </pre>
369
+ </td>
370
+ </tr>
371
+ </table>
372
+ </div>
373
+
374
+ </div>
375
+
376
+
377
+ <div id="instance_method_details" class="method_details_list">
378
+ <h2>Instance Method Details</h2>
379
+
380
+
381
+ <div class="method_details first">
382
+ <p class="signature first" id="method_name-instance_method">
383
+
384
+ - (<tt>Object</tt>) <strong>method_name</strong>
385
+
386
+
387
+
388
+ </p><table class="source_code">
389
+ <tr>
390
+ <td>
391
+ <pre class="lines">
392
+
393
+
394
+ 5</pre>
395
+ </td>
396
+ <td>
397
+ <pre class="code"><span class="info file"># File 'lib/mushikago/tombo/capture_request.rb', line 5</span>
398
+
399
+ <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>
400
+ </pre>
401
+ </td>
402
+ </tr>
403
+ </table>
404
+ </div>
405
+
406
+ <div class="method_details ">
407
+ <p class="signature " id="new_http_request-instance_method">
408
+
409
+ - (<tt>Object</tt>) <strong>new_http_request</strong>
410
+
411
+
412
+
413
+ </p><table class="source_code">
414
+ <tr>
415
+ <td>
416
+ <pre class="lines">
417
+
418
+
419
+ 30
420
+ 31
421
+ 32</pre>
422
+ </td>
423
+ <td>
424
+ <pre class="code"><span class="info file"># File 'lib/mushikago/tombo/capture_request.rb', line 30</span>
425
+
426
+ <span class='def def kw'>def</span> <span class='new_http_request identifier id'>new_http_request</span>
427
+ <span class='Net constant id'>Net</span><span class='colon2 op'>::</span><span class='HTTP constant id'>HTTP</span><span class='colon2 op'>::</span><span class='Post constant id'>Post</span><span class='dot token'>.</span><span class='new identifier id'>new</span><span class='lparen token'>(</span><span class='path identifier id'>path</span><span class='rparen token'>)</span>
428
+ <span class='end end kw'>end</span>
429
+ </pre>
430
+ </td>
431
+ </tr>
432
+ </table>
433
+ </div>
434
+
435
+ </div>
436
+
437
+ </div>
438
+
439
+ <div id="footer">
440
+ Generated on Tue Sep 6 18:23:00 2011 by
441
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
442
+ 0.7.2 (ruby-1.8.7).
443
+ </div>
444
+
445
+ </body>
446
+ </html>