mushikago-sdk 0.4.3 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- 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,569 +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::Mitsubachi::Resource
|
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 (R)</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="../Mitsubachi.html" title="Mushikago::Mitsubachi (module)">Mitsubachi</a></span></span>
|
38
|
-
»
|
39
|
-
<span class="title">Resource</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::Resource
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
</h1>
|
64
|
-
|
65
|
-
<dl class="box">
|
66
|
-
|
67
|
-
<dt class="r1">Inherits:</dt>
|
68
|
-
<dd class="r1">
|
69
|
-
<span class="inheritName">Object</span>
|
70
|
-
|
71
|
-
<ul class="fullTree">
|
72
|
-
<li>Object</li>
|
73
|
-
|
74
|
-
<li class="next">Mushikago::Mitsubachi::Resource</li>
|
75
|
-
|
76
|
-
</ul>
|
77
|
-
<a href="#" class="inheritanceTree">show all</a>
|
78
|
-
|
79
|
-
</dd>
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
<dt class="r2 last">Defined in:</dt>
|
90
|
-
<dd class="r2 last">lib/mushikago/mitsubachi/resource.rb</dd>
|
91
|
-
|
92
|
-
</dl>
|
93
|
-
<div class="clear"></div>
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
<h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
|
98
|
-
<ul class="summary">
|
99
|
-
|
100
|
-
<li class="public ">
|
101
|
-
<span class="summary_signature">
|
102
|
-
|
103
|
-
<a href="#client-instance_method" title="#client (instance method)">- (Object) <strong>client</strong> </a>
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
</span>
|
108
|
-
|
109
|
-
|
110
|
-
<span class="note title readonly">readonly</span>
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
<span class="summary_desc"><div class='inline'><p>
|
120
|
-
Returns the value of attribute client.
|
121
|
-
</p>
|
122
|
-
</div></span>
|
123
|
-
|
124
|
-
</li>
|
125
|
-
|
126
|
-
|
127
|
-
<li class="public ">
|
128
|
-
<span class="summary_signature">
|
129
|
-
|
130
|
-
<a href="#project_name-instance_method" title="#project_name (instance method)">- (Object) <strong>project_name</strong> </a>
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
</span>
|
135
|
-
|
136
|
-
|
137
|
-
<span class="note title readonly">readonly</span>
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
<span class="summary_desc"><div class='inline'><p>
|
147
|
-
Returns the value of attribute project_name.
|
148
|
-
</p>
|
149
|
-
</div></span>
|
150
|
-
|
151
|
-
</li>
|
152
|
-
|
153
|
-
|
154
|
-
<li class="public ">
|
155
|
-
<span class="summary_signature">
|
156
|
-
|
157
|
-
<a href="#resource_name-instance_method" title="#resource_name (instance method)">- (Object) <strong>resource_name</strong> </a>
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
</span>
|
162
|
-
|
163
|
-
|
164
|
-
<span class="note title readonly">readonly</span>
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
<span class="summary_desc"><div class='inline'><p>
|
174
|
-
Returns the value of attribute resource_name.
|
175
|
-
</p>
|
176
|
-
</div></span>
|
177
|
-
|
178
|
-
</li>
|
179
|
-
|
180
|
-
|
181
|
-
</ul>
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
<h2>
|
188
|
-
Instance Method Summary
|
189
|
-
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
190
|
-
</h2>
|
191
|
-
|
192
|
-
<ul class="summary">
|
193
|
-
|
194
|
-
<li class="public ">
|
195
|
-
<span class="summary_signature">
|
196
|
-
|
197
|
-
<a href="#body-instance_method" title="#body (instance method)">- (Object) <strong>body</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
|
-
<li class="public ">
|
216
|
-
<span class="summary_signature">
|
217
|
-
|
218
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)">- (Resource) <strong>initialize</strong>(client, project_name, resource_name) </a>
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
</span>
|
223
|
-
|
224
|
-
<span class="note title constructor">constructor</span>
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
<span class="summary_desc"><div class='inline'><p>
|
234
|
-
A new instance of Resource.
|
235
|
-
</p>
|
236
|
-
</div></span>
|
237
|
-
|
238
|
-
</li>
|
239
|
-
|
240
|
-
|
241
|
-
<li class="public ">
|
242
|
-
<span class="summary_signature">
|
243
|
-
|
244
|
-
<a href="#push-instance_method" title="#push (instance method)">- (Object) <strong>push</strong>(url, script_name, file_key, options = {}) </a>
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
</span>
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
258
|
-
|
259
|
-
</li>
|
260
|
-
|
261
|
-
|
262
|
-
<li class="public ">
|
263
|
-
<span class="summary_signature">
|
264
|
-
|
265
|
-
<a href="#to_s-instance_method" title="#to_s (instance method)">- (Object) <strong>to_s</strong> </a>
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
</span>
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
<span class="summary_desc"><div class='inline'></div></span>
|
279
|
-
|
280
|
-
</li>
|
281
|
-
|
282
|
-
|
283
|
-
</ul>
|
284
|
-
|
285
|
-
|
286
|
-
<div id="constructor_details" class="method_details_list">
|
287
|
-
<h2>Constructor Details</h2>
|
288
|
-
|
289
|
-
<div class="method_details first">
|
290
|
-
<p class="signature first" id="initialize-instance_method">
|
291
|
-
|
292
|
-
- (<tt><span class='object_link'><a href="" title="Mushikago::Mitsubachi::Resource (class)">Resource</a></span></tt>) <strong>initialize</strong>(client, project_name, resource_name)
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
</p><div class="docstring">
|
297
|
-
<div class="discussion">
|
298
|
-
<p>
|
299
|
-
A new instance of Resource
|
300
|
-
</p>
|
301
|
-
|
302
|
-
|
303
|
-
</div>
|
304
|
-
</div>
|
305
|
-
<div class="tags">
|
306
|
-
|
307
|
-
|
308
|
-
</div><table class="source_code">
|
309
|
-
<tr>
|
310
|
-
<td>
|
311
|
-
<pre class="lines">
|
312
|
-
|
313
|
-
|
314
|
-
9
|
315
|
-
10
|
316
|
-
11
|
317
|
-
12
|
318
|
-
13</pre>
|
319
|
-
</td>
|
320
|
-
<td>
|
321
|
-
<pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/resource.rb', line 9</span>
|
322
|
-
|
323
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span> <span class='id identifier rubyid_client'>client</span><span class='comma'>,</span> <span class='id identifier rubyid_project_name'>project_name</span><span class='comma'>,</span> <span class='id identifier rubyid_resource_name'>resource_name</span>
|
324
|
-
<span class='ivar'>@client</span> <span class='op'>=</span> <span class='id identifier rubyid_client'>client</span>
|
325
|
-
<span class='ivar'>@project_name</span> <span class='op'>=</span> <span class='id identifier rubyid_project_name'>project_name</span>
|
326
|
-
<span class='ivar'>@resource_name</span> <span class='op'>=</span> <span class='id identifier rubyid_resource_name'>resource_name</span>
|
327
|
-
<span class='kw'>end</span></pre>
|
328
|
-
</td>
|
329
|
-
</tr>
|
330
|
-
</table>
|
331
|
-
</div>
|
332
|
-
|
333
|
-
</div>
|
334
|
-
|
335
|
-
<div id="instance_attr_details" class="attr_details">
|
336
|
-
<h2>Instance Attribute Details</h2>
|
337
|
-
|
338
|
-
|
339
|
-
<span id=""></span>
|
340
|
-
<span id="client-instance_method"></span>
|
341
|
-
<div class="method_details first">
|
342
|
-
<p class="signature first" id="client-instance_method">
|
343
|
-
|
344
|
-
- (<tt>Object</tt>) <strong>client</strong> <span class="extras">(readonly)</span>
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
</p><div class="docstring">
|
349
|
-
<div class="discussion">
|
350
|
-
<p>
|
351
|
-
Returns the value of attribute client
|
352
|
-
</p>
|
353
|
-
|
354
|
-
|
355
|
-
</div>
|
356
|
-
</div>
|
357
|
-
<div class="tags">
|
358
|
-
|
359
|
-
|
360
|
-
</div><table class="source_code">
|
361
|
-
<tr>
|
362
|
-
<td>
|
363
|
-
<pre class="lines">
|
364
|
-
|
365
|
-
|
366
|
-
5
|
367
|
-
6
|
368
|
-
7</pre>
|
369
|
-
</td>
|
370
|
-
<td>
|
371
|
-
<pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/resource.rb', line 5</span>
|
372
|
-
|
373
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_client'>client</span>
|
374
|
-
<span class='ivar'>@client</span>
|
375
|
-
<span class='kw'>end</span></pre>
|
376
|
-
</td>
|
377
|
-
</tr>
|
378
|
-
</table>
|
379
|
-
</div>
|
380
|
-
|
381
|
-
|
382
|
-
<span id=""></span>
|
383
|
-
<span id="project_name-instance_method"></span>
|
384
|
-
<div class="method_details ">
|
385
|
-
<p class="signature " id="project_name-instance_method">
|
386
|
-
|
387
|
-
- (<tt>Object</tt>) <strong>project_name</strong> <span class="extras">(readonly)</span>
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
</p><div class="docstring">
|
392
|
-
<div class="discussion">
|
393
|
-
<p>
|
394
|
-
Returns the value of attribute project_name
|
395
|
-
</p>
|
396
|
-
|
397
|
-
|
398
|
-
</div>
|
399
|
-
</div>
|
400
|
-
<div class="tags">
|
401
|
-
|
402
|
-
|
403
|
-
</div><table class="source_code">
|
404
|
-
<tr>
|
405
|
-
<td>
|
406
|
-
<pre class="lines">
|
407
|
-
|
408
|
-
|
409
|
-
6
|
410
|
-
7
|
411
|
-
8</pre>
|
412
|
-
</td>
|
413
|
-
<td>
|
414
|
-
<pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/resource.rb', line 6</span>
|
415
|
-
|
416
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_project_name'>project_name</span>
|
417
|
-
<span class='ivar'>@project_name</span>
|
418
|
-
<span class='kw'>end</span></pre>
|
419
|
-
</td>
|
420
|
-
</tr>
|
421
|
-
</table>
|
422
|
-
</div>
|
423
|
-
|
424
|
-
|
425
|
-
<span id=""></span>
|
426
|
-
<span id="resource_name-instance_method"></span>
|
427
|
-
<div class="method_details ">
|
428
|
-
<p class="signature " id="resource_name-instance_method">
|
429
|
-
|
430
|
-
- (<tt>Object</tt>) <strong>resource_name</strong> <span class="extras">(readonly)</span>
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
</p><div class="docstring">
|
435
|
-
<div class="discussion">
|
436
|
-
<p>
|
437
|
-
Returns the value of attribute resource_name
|
438
|
-
</p>
|
439
|
-
|
440
|
-
|
441
|
-
</div>
|
442
|
-
</div>
|
443
|
-
<div class="tags">
|
444
|
-
|
445
|
-
|
446
|
-
</div><table class="source_code">
|
447
|
-
<tr>
|
448
|
-
<td>
|
449
|
-
<pre class="lines">
|
450
|
-
|
451
|
-
|
452
|
-
7
|
453
|
-
8
|
454
|
-
9</pre>
|
455
|
-
</td>
|
456
|
-
<td>
|
457
|
-
<pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/resource.rb', line 7</span>
|
458
|
-
|
459
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_resource_name'>resource_name</span>
|
460
|
-
<span class='ivar'>@resource_name</span>
|
461
|
-
<span class='kw'>end</span></pre>
|
462
|
-
</td>
|
463
|
-
</tr>
|
464
|
-
</table>
|
465
|
-
</div>
|
466
|
-
|
467
|
-
</div>
|
468
|
-
|
469
|
-
|
470
|
-
<div id="instance_method_details" class="method_details_list">
|
471
|
-
<h2>Instance Method Details</h2>
|
472
|
-
|
473
|
-
|
474
|
-
<div class="method_details first">
|
475
|
-
<p class="signature first" id="body-instance_method">
|
476
|
-
|
477
|
-
- (<tt>Object</tt>) <strong>body</strong>
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
</p><table class="source_code">
|
482
|
-
<tr>
|
483
|
-
<td>
|
484
|
-
<pre class="lines">
|
485
|
-
|
486
|
-
|
487
|
-
15
|
488
|
-
16
|
489
|
-
17</pre>
|
490
|
-
</td>
|
491
|
-
<td>
|
492
|
-
<pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/resource.rb', line 15</span>
|
493
|
-
|
494
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_body'>body</span>
|
495
|
-
<span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_resource_get'>resource_get</span><span class='lparen'>(</span><span class='id identifier rubyid_project_name'>project_name</span><span class='comma'>,</span> <span class='id identifier rubyid_resource_name'>resource_name</span><span class='comma'>,</span> <span class='symbol'>:with_body</span> <span class='op'>=></span> <span class='kw'>true</span><span class='rparen'>)</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>
|
496
|
-
<span class='kw'>end</span></pre>
|
497
|
-
</td>
|
498
|
-
</tr>
|
499
|
-
</table>
|
500
|
-
</div>
|
501
|
-
|
502
|
-
<div class="method_details ">
|
503
|
-
<p class="signature " id="push-instance_method">
|
504
|
-
|
505
|
-
- (<tt>Object</tt>) <strong>push</strong>(url, script_name, file_key, options = {})
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
</p><table class="source_code">
|
510
|
-
<tr>
|
511
|
-
<td>
|
512
|
-
<pre class="lines">
|
513
|
-
|
514
|
-
|
515
|
-
19
|
516
|
-
20
|
517
|
-
21</pre>
|
518
|
-
</td>
|
519
|
-
<td>
|
520
|
-
<pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/resource.rb', line 19</span>
|
521
|
-
|
522
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_push'>push</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_key'>file_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>
|
523
|
-
<span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_http_push'>http_push</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_resource_name'>resource_name</span><span class='comma'>,</span> <span class='id identifier rubyid_file_key'>file_key</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
|
524
|
-
<span class='kw'>end</span></pre>
|
525
|
-
</td>
|
526
|
-
</tr>
|
527
|
-
</table>
|
528
|
-
</div>
|
529
|
-
|
530
|
-
<div class="method_details ">
|
531
|
-
<p class="signature " id="to_s-instance_method">
|
532
|
-
|
533
|
-
- (<tt>Object</tt>) <strong>to_s</strong>
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
</p><table class="source_code">
|
538
|
-
<tr>
|
539
|
-
<td>
|
540
|
-
<pre class="lines">
|
541
|
-
|
542
|
-
|
543
|
-
23
|
544
|
-
24
|
545
|
-
25</pre>
|
546
|
-
</td>
|
547
|
-
<td>
|
548
|
-
<pre class="code"><span class="info file"># File 'lib/mushikago/mitsubachi/resource.rb', line 23</span>
|
549
|
-
|
550
|
-
<span class='kw'>def</span> <span class='id identifier rubyid_to_s'>to_s</span>
|
551
|
-
<span class='tstring'><span class='tstring_beg'>"</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_project_name'>project_name</span><span class='rbrace'>}</span><span class='tstring_content'>:</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_resource_name'>resource_name</span><span class='rbrace'>}</span><span class='tstring_end'>"</span></span>
|
552
|
-
<span class='kw'>end</span></pre>
|
553
|
-
</td>
|
554
|
-
</tr>
|
555
|
-
</table>
|
556
|
-
</div>
|
557
|
-
|
558
|
-
</div>
|
559
|
-
|
560
|
-
</div>
|
561
|
-
|
562
|
-
<div id="footer">
|
563
|
-
Generated on Thu Apr 26 10:56:48 2012 by
|
564
|
-
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
565
|
-
0.7.4 (ruby-1.9.2).
|
566
|
-
</div>
|
567
|
-
|
568
|
-
</body>
|
569
|
-
</html>
|