mushikago-sdk 0.4.3 → 2.0.0
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.
- data/README.md +3 -1
- data/Rakefile +1 -0
- data/lib/mushikago/hanamgri/client.rb +264 -0
- data/lib/mushikago/hanamgri/create_domain_request.rb +25 -0
- data/lib/mushikago/hanamgri/delete_dictionary_request.rb +14 -0
- data/lib/mushikago/hanamgri/delete_domain_request.rb +16 -0
- data/lib/mushikago/hanamgri/delete_knowledge_request.rb +15 -0
- data/lib/mushikago/hanamgri/field.rb +20 -0
- data/lib/mushikago/hanamgri/get_analysis_request.rb +16 -0
- data/lib/mushikago/hanamgri/get_information_request.rb +14 -0
- data/lib/mushikago/hanamgri/get_queue_size_request.rb +14 -0
- data/lib/mushikago/hanamgri/list_analyses_request.rb +24 -0
- data/lib/mushikago/hanamgri/list_dictionaries_request.rb +17 -0
- data/lib/mushikago/hanamgri/list_domains_request.rb +20 -0
- data/lib/mushikago/hanamgri/list_knowledges_request.rb +20 -0
- data/lib/mushikago/hanamgri/request_analysis_request.rb +21 -0
- data/lib/mushikago/hanamgri/save_dictionary_request.rb +18 -0
- data/lib/mushikago/hanamgri/save_knowledge_request.rb +19 -0
- data/lib/mushikago/hanamgri/schema.rb +28 -0
- data/lib/mushikago/hanamgri/search_schema_request.rb +19 -0
- data/lib/mushikago/hanamgri/train_request.rb +21 -0
- data/lib/mushikago/hanamgri/training_data.rb +27 -0
- data/lib/mushikago/hanamgri/update_domain_request.rb +18 -0
- data/lib/mushikago/hanamgri.rb +30 -0
- data/lib/mushikago/version.rb +1 -1
- data/lib/mushikago.rb +1 -0
- data/spec/mushikago/hanamgri/client_spec.rb +61 -0
- data/spec/mushikago/hanamgri/create_domain_spec.rb +34 -0
- data/spec/mushikago/hanamgri/delete_dictionary_spec.rb +11 -0
- data/spec/mushikago/hanamgri/delete_domain_spec.rb +12 -0
- data/spec/mushikago/hanamgri/delete_knowledge_request_spec.rb +11 -0
- data/spec/mushikago/hanamgri/field_spec.rb +44 -0
- data/spec/mushikago/hanamgri/get_analysis_request_spec.rb +12 -0
- data/spec/mushikago/hanamgri/get_information_request_spec.rb +14 -0
- data/spec/mushikago/hanamgri/get_queue_size_request_spec.rb +10 -0
- data/spec/mushikago/hanamgri/list_analyses_spec.rb +25 -0
- data/spec/mushikago/hanamgri/list_dictionaries_spec.rb +19 -0
- data/spec/mushikago/hanamgri/list_domains_spec.rb +19 -0
- data/spec/mushikago/hanamgri/list_knowledges_request_spec.rb +20 -0
- data/spec/mushikago/hanamgri/request_analysis_request_spec.rb +21 -0
- data/spec/mushikago/hanamgri/save_dictionary_request_spec.rb +22 -0
- data/spec/mushikago/hanamgri/save_knowledge_request_spec.rb +22 -0
- data/spec/mushikago/hanamgri/schema_spec.rb +53 -0
- data/spec/mushikago/hanamgri/search_schema_request_spec.rb +22 -0
- data/spec/mushikago/hanamgri/train_spec.rb +31 -0
- data/spec/mushikago/hanamgri/update_domain_spec.rb +22 -0
- metadata +95 -109
- data/doc/Mushikago/Auth/Signature.html +0 -312
- data/doc/Mushikago/Auth/Signer.html +0 -465
- data/doc/Mushikago/Auth.html +0 -122
- data/doc/Mushikago/Config.html +0 -285
- data/doc/Mushikago/Hotaru/ClassifierJudgeRequest.html +0 -307
- data/doc/Mushikago/Hotaru/Client.html +0 -4174
- data/doc/Mushikago/Hotaru/CollocationCreateRequest.html +0 -375
- data/doc/Mushikago/Hotaru/CollocationDeleteRequest.html +0 -307
- data/doc/Mushikago/Hotaru/CollocationDownloadRequest.html +0 -307
- data/doc/Mushikago/Hotaru/CollocationGetRequest.html +0 -309
- data/doc/Mushikago/Hotaru/CollocationListRequest.html +0 -313
- data/doc/Mushikago/Hotaru/CollocationWordlistRequest.html +0 -313
- data/doc/Mushikago/Hotaru/DictionaryDeleteRequest.html +0 -305
- data/doc/Mushikago/Hotaru/DictionaryListRequest.html +0 -309
- data/doc/Mushikago/Hotaru/DictionaryPutRequest.html +0 -342
- data/doc/Mushikago/Hotaru/DomainCreateRequest.html +0 -313
- data/doc/Mushikago/Hotaru/DomainDeleteRequest.html +0 -305
- data/doc/Mushikago/Hotaru/DomainInfoRequest.html +0 -307
- data/doc/Mushikago/Hotaru/DomainListRequest.html +0 -311
- data/doc/Mushikago/Hotaru/TagDeleteRequest.html +0 -307
- data/doc/Mushikago/Hotaru/TagListRequest.html +0 -307
- data/doc/Mushikago/Hotaru/TagPutRequest.html +0 -307
- data/doc/Mushikago/Hotaru/TextDeleteRequest.html +0 -309
- data/doc/Mushikago/Hotaru/TextGetRequest.html +0 -307
- data/doc/Mushikago/Hotaru/TextListRequest.html +0 -315
- data/doc/Mushikago/Hotaru/TextPutRequest.html +0 -311
- data/doc/Mushikago/Hotaru/TextTagsetRequest.html +0 -311
- data/doc/Mushikago/Hotaru/WordGetRequest.html +0 -307
- data/doc/Mushikago/Hotaru/WordListRequest.html +0 -311
- data/doc/Mushikago/Hotaru.html +0 -120
- data/doc/Mushikago/Http/Client.html +0 -673
- data/doc/Mushikago/Http/DeleteRequest.html +0 -240
- data/doc/Mushikago/Http/GetRequest.html +0 -240
- data/doc/Mushikago/Http/MultipartPostRequest.html +0 -265
- data/doc/Mushikago/Http/MultipartPutRequest.html +0 -265
- data/doc/Mushikago/Http/MultipartRequest.html +0 -362
- data/doc/Mushikago/Http/PostRequest.html +0 -240
- data/doc/Mushikago/Http/PutRequest.html +0 -240
- data/doc/Mushikago/Http/Request.html +0 -1223
- data/doc/Mushikago/Http/Response.html +0 -840
- data/doc/Mushikago/Http.html +0 -120
- data/doc/Mushikago/Mitsubachi/Client.html +0 -3232
- data/doc/Mushikago/Mitsubachi/HttpFetchRequest.html +0 -319
- data/doc/Mushikago/Mitsubachi/HttpPushRequest.html +0 -321
- data/doc/Mushikago/Mitsubachi/Project.html +0 -742
- data/doc/Mushikago/Mitsubachi/ProjectCreateRequest.html +0 -317
- data/doc/Mushikago/Mitsubachi/ProjectDeleteRequest.html +0 -307
- data/doc/Mushikago/Mitsubachi/ProjectDiscontinueRequest.html +0 -305
- data/doc/Mushikago/Mitsubachi/ProjectInfoRequest.html +0 -307
- data/doc/Mushikago/Mitsubachi/ProjectListRequest.html +0 -309
- data/doc/Mushikago/Mitsubachi/ProjectQueuesRequest.html +0 -305
- data/doc/Mushikago/Mitsubachi/ProjectUpdateRequest.html +0 -315
- data/doc/Mushikago/Mitsubachi/Projects.html +0 -474
- data/doc/Mushikago/Mitsubachi/Resource.html +0 -569
- data/doc/Mushikago/Mitsubachi/ResourceDeleteRequest.html +0 -307
- data/doc/Mushikago/Mitsubachi/ResourceGetRequest.html +0 -307
- data/doc/Mushikago/Mitsubachi/ResourceListRequest.html +0 -311
- data/doc/Mushikago/Mitsubachi/ResourceStoreRequest.html +0 -346
- data/doc/Mushikago/Mitsubachi/Resources.html +0 -546
- data/doc/Mushikago/Mitsubachi/Script.html +0 -569
- data/doc/Mushikago/Mitsubachi/ScriptDeleteRequest.html +0 -307
- data/doc/Mushikago/Mitsubachi/ScriptDeployRequest.html +0 -342
- data/doc/Mushikago/Mitsubachi/ScriptGetRequest.html +0 -307
- data/doc/Mushikago/Mitsubachi/ScriptListRequest.html +0 -311
- data/doc/Mushikago/Mitsubachi/Scripts.html +0 -546
- data/doc/Mushikago/Mitsubachi.html +0 -120
- data/doc/Mushikago/Tombo/CaptureRequest.html +0 -454
- data/doc/Mushikago/Tombo/CapturesRequest.html +0 -417
- data/doc/Mushikago/Tombo/Client.html +0 -830
- data/doc/Mushikago/Tombo/DeleteRequest.html +0 -357
- data/doc/Mushikago/Tombo/InfoRequest.html +0 -338
- data/doc/Mushikago/Tombo.html +0 -120
- data/doc/Mushikago.html +0 -246
- data/doc/_index.html +0 -701
- data/doc/class_list.html +0 -47
- data/doc/css/common.css +0 -1
- data/doc/css/full_list.css +0 -55
- data/doc/css/style.css +0 -322
- data/doc/file.README.html +0 -250
- data/doc/file_list.html +0 -49
- data/doc/frames.html +0 -13
- data/doc/index.html +0 -250
- data/doc/js/app.js +0 -205
- data/doc/js/full_list.js +0 -167
- data/doc/js/jquery.js +0 -16
- data/doc/method_list.html +0 -1806
- data/doc/top-level-namespace.html +0 -103
@@ -1,417 +0,0 @@
|
|
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::CapturesRequest
|
8
|
-
|
9
|
-
— 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 (C)</a> »
|
37
|
-
<span class='title'><span class='object_link'><a href="../../Mushikago.html" title="Mushikago (module)">Mushikago</a></span></span> » <span class='title'><span class='object_link'><a href="../Tombo.html" title="Mushikago::Tombo (module)">Tombo</a></span></span>
|
38
|
-
»
|
39
|
-
<span class="title">CapturesRequest</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::CapturesRequest
|
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="../Http/GetRequest.html" title="Mushikago::Http::GetRequest (class)">Http::GetRequest</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="../Http/GetRequest.html" title="Mushikago::Http::GetRequest (class)">Http::GetRequest</a></span></li>
|
77
|
-
|
78
|
-
<li class="next">Mushikago::Tombo::CapturesRequest</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/captures_request.rb</dd>
|
95
|
-
|
96
|
-
</dl>
|
97
|
-
<div class="clear"></div>
|
98
|
-
|
99
|
-
<h2>Overview</h2><div class="docstring">
|
100
|
-
<div class="discussion">
|
101
|
-
<p>
|
102
|
-
キャプチャ一覧取得リクエスト
|
103
|
-
</p>
|
104
|
-
|
105
|
-
|
106
|
-
</div>
|
107
|
-
</div>
|
108
|
-
<div class="tags">
|
109
|
-
|
110
|
-
|
111
|
-
</div>
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
<h2>Instance Attribute Summary</h2>
|
137
|
-
|
138
|
-
<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>
|
139
|
-
<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#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>
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
<h2>
|
144
|
-
Instance Method Summary
|
145
|
-
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
146
|
-
</h2>
|
147
|
-
|
148
|
-
<ul class="summary">
|
149
|
-
|
150
|
-
<li class="public ">
|
151
|
-
<span class="summary_signature">
|
152
|
-
|
153
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)">- (CapturesRequest) <strong>initialize</strong>(options = {}) </a>
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
</span>
|
158
|
-
|
159
|
-
<span class="note title constructor">constructor</span>
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
<span class="summary_desc"><div class='inline'><p>
|
169
|
-
A new instance of CapturesRequest.
|
170
|
-
</p>
|
171
|
-
</div></span>
|
172
|
-
|
173
|
-
</li>
|
174
|
-
|
175
|
-
|
176
|
-
<li class="public ">
|
177
|
-
<span class="summary_signature">
|
178
|
-
|
179
|
-
<a href="#path-instance_method" title="#path (instance method)">- (Object) <strong>path</strong> </a>
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
</span>
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
193
|
-
|
194
|
-
</li>
|
195
|
-
|
196
|
-
|
197
|
-
</ul>
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Http/GetRequest.html" title="Mushikago::Http::GetRequest (class)">Http::GetRequest</a></span></h3>
|
209
|
-
<p class="inherited"><span class='object_link'><a href="../Http/GetRequest.html#http_method-instance_method" title="Mushikago::Http::GetRequest#http_method (method)">#http_method</a></span></p>
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
<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>
|
219
|
-
<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>
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
<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>
|
229
|
-
<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>
|
230
|
-
<div id="constructor_details" class="method_details_list">
|
231
|
-
<h2>Constructor Details</h2>
|
232
|
-
|
233
|
-
<div class="method_details first">
|
234
|
-
<p class="signature first" id="initialize-instance_method">
|
235
|
-
|
236
|
-
- (<tt><span class='object_link'><a href="" title="Mushikago::Tombo::CapturesRequest (class)">CapturesRequest</a></span></tt>) <strong>initialize</strong>(options = {})
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
</p><div class="docstring">
|
241
|
-
<div class="discussion">
|
242
|
-
<p>
|
243
|
-
A new instance of CapturesRequest
|
244
|
-
</p>
|
245
|
-
|
246
|
-
|
247
|
-
</div>
|
248
|
-
</div>
|
249
|
-
<div class="tags">
|
250
|
-
<h3>Parameters:</h3>
|
251
|
-
<ul class="param">
|
252
|
-
|
253
|
-
<li>
|
254
|
-
|
255
|
-
<span class='name'>options</span>
|
256
|
-
|
257
|
-
|
258
|
-
<span class='type'>(<tt>Hash</tt>)</span>
|
259
|
-
|
260
|
-
|
261
|
-
<em class="default">(defaults to: <tt>{}</tt>)</em>
|
262
|
-
|
263
|
-
|
264
|
-
—
|
265
|
-
<div class='inline'><p>
|
266
|
-
リクエストのオプション
|
267
|
-
</p>
|
268
|
-
</div>
|
269
|
-
|
270
|
-
</li>
|
271
|
-
|
272
|
-
</ul>
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
<h3>Options Hash (<tt>options</tt>):</h3>
|
278
|
-
<ul class="option">
|
279
|
-
|
280
|
-
<li>
|
281
|
-
<span class="name">:id</span>
|
282
|
-
<span class="type">(<tt>String</tt>)</span>
|
283
|
-
<span class="default">
|
284
|
-
|
285
|
-
</span>
|
286
|
-
— <div class='inline'><p>
|
287
|
-
画像のID
|
288
|
-
</p>
|
289
|
-
</div>
|
290
|
-
</li>
|
291
|
-
|
292
|
-
<li>
|
293
|
-
<span class="name">:domain</span>
|
294
|
-
<span class="type">(<tt>String</tt>)</span>
|
295
|
-
<span class="default">
|
296
|
-
|
297
|
-
</span>
|
298
|
-
— <div class='inline'><p>
|
299
|
-
指定したドメインの画像一覧を取得する
|
300
|
-
</p>
|
301
|
-
</div>
|
302
|
-
</li>
|
303
|
-
|
304
|
-
<li>
|
305
|
-
<span class="name">:tag</span>
|
306
|
-
<span class="type">(<tt>String</tt>)</span>
|
307
|
-
<span class="default">
|
308
|
-
|
309
|
-
</span>
|
310
|
-
— <div class='inline'><p>
|
311
|
-
指定したタグの画像一覧を取得する
|
312
|
-
</p>
|
313
|
-
</div>
|
314
|
-
</li>
|
315
|
-
|
316
|
-
<li>
|
317
|
-
<span class="name">:limit(10)</span>
|
318
|
-
<span class="type">(<tt>Integer</tt>)</span>
|
319
|
-
<span class="default">
|
320
|
-
|
321
|
-
</span>
|
322
|
-
— <div class='inline'><p>
|
323
|
-
最大取得件数(1-100)
|
324
|
-
</p>
|
325
|
-
</div>
|
326
|
-
</li>
|
327
|
-
|
328
|
-
<li>
|
329
|
-
<span class="name">:offset(0)</span>
|
330
|
-
<span class="type">(<tt>Integer</tt>)</span>
|
331
|
-
<span class="default">
|
332
|
-
|
333
|
-
</span>
|
334
|
-
— <div class='inline'><p>
|
335
|
-
取得オフセット
|
336
|
-
</p>
|
337
|
-
</div>
|
338
|
-
</li>
|
339
|
-
|
340
|
-
</ul>
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
</div><table class="source_code">
|
345
|
-
<tr>
|
346
|
-
<td>
|
347
|
-
<pre class="lines">
|
348
|
-
|
349
|
-
|
350
|
-
20
|
351
|
-
21
|
352
|
-
22
|
353
|
-
23
|
354
|
-
24
|
355
|
-
25
|
356
|
-
26
|
357
|
-
27</pre>
|
358
|
-
</td>
|
359
|
-
<td>
|
360
|
-
<pre class="code"><span class="info file"># File 'lib/mushikago/tombo/captures_request.rb', line 20</span>
|
361
|
-
|
362
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span> <span class='id identifier rubyid_options'>options</span><span class='op'>=</span><span class='lbrace'>{</span><span class='rbrace'>}</span>
|
363
|
-
<span class='kw'>super</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
364
|
-
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_id'>id</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:id</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'>:id</span><span class='rparen'>)</span>
|
365
|
-
<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>
|
366
|
-
<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>
|
367
|
-
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_domain'>domain</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:domain</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'>:domain</span><span class='rparen'>)</span>
|
368
|
-
<span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_tag'>tag</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:tag</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'>:tag</span><span class='rparen'>)</span>
|
369
|
-
<span class='kw'>end</span></pre>
|
370
|
-
</td>
|
371
|
-
</tr>
|
372
|
-
</table>
|
373
|
-
</div>
|
374
|
-
|
375
|
-
</div>
|
376
|
-
|
377
|
-
|
378
|
-
<div id="instance_method_details" class="method_details_list">
|
379
|
-
<h2>Instance Method Details</h2>
|
380
|
-
|
381
|
-
|
382
|
-
<div class="method_details first">
|
383
|
-
<p class="signature first" id="path-instance_method">
|
384
|
-
|
385
|
-
- (<tt>Object</tt>) <strong>path</strong>
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
</p><table class="source_code">
|
390
|
-
<tr>
|
391
|
-
<td>
|
392
|
-
<pre class="lines">
|
393
|
-
|
394
|
-
|
395
|
-
6</pre>
|
396
|
-
</td>
|
397
|
-
<td>
|
398
|
-
<pre class="code"><span class="info file"># File 'lib/mushikago/tombo/captures_request.rb', line 6</span>
|
399
|
-
|
400
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_path'>path</span><span class='semicolon'>;</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/1/tombo/captures</span><span class='tstring_end'>'</span></span> <span class='kw'>end</span></pre>
|
401
|
-
</td>
|
402
|
-
</tr>
|
403
|
-
</table>
|
404
|
-
</div>
|
405
|
-
|
406
|
-
</div>
|
407
|
-
|
408
|
-
</div>
|
409
|
-
|
410
|
-
<div id="footer">
|
411
|
-
Generated on Thu Apr 26 10:56:48 2012 by
|
412
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
413
|
-
0.7.4 (ruby-1.9.2).
|
414
|
-
</div>
|
415
|
-
|
416
|
-
</body>
|
417
|
-
</html>
|