mushikago-sdk 0.3.7 → 0.4.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.
Files changed (117) hide show
  1. data/README.md +45 -1
  2. data/doc/Mushikago.html +3 -3
  3. data/doc/Mushikago/Auth.html +1 -1
  4. data/doc/Mushikago/Auth/Signature.html +2 -2
  5. data/doc/Mushikago/Auth/Signer.html +1 -1
  6. data/doc/Mushikago/Config.html +1 -1
  7. data/doc/Mushikago/Hotaru.html +3 -3
  8. data/doc/Mushikago/Hotaru/ClassifierJudgeRequest.html +307 -0
  9. data/doc/Mushikago/Hotaru/Client.html +3511 -155
  10. data/doc/Mushikago/Hotaru/CollocationCreateRequest.html +375 -0
  11. data/doc/Mushikago/Hotaru/CollocationDeleteRequest.html +307 -0
  12. data/doc/Mushikago/Hotaru/CollocationDownloadRequest.html +307 -0
  13. data/doc/Mushikago/Hotaru/CollocationGetRequest.html +309 -0
  14. data/doc/Mushikago/Hotaru/CollocationListRequest.html +313 -0
  15. data/doc/Mushikago/Hotaru/CollocationWordlistRequest.html +313 -0
  16. data/doc/Mushikago/Hotaru/DictionaryDeleteRequest.html +305 -0
  17. data/doc/Mushikago/Hotaru/DictionaryListRequest.html +309 -0
  18. data/doc/Mushikago/Hotaru/DictionaryPutRequest.html +342 -0
  19. data/doc/Mushikago/Hotaru/DomainCreateRequest.html +313 -0
  20. data/doc/Mushikago/Hotaru/DomainDeleteRequest.html +305 -0
  21. data/doc/Mushikago/Hotaru/DomainInfoRequest.html +307 -0
  22. data/doc/Mushikago/Hotaru/DomainListRequest.html +311 -0
  23. data/doc/Mushikago/Hotaru/TagDeleteRequest.html +307 -0
  24. data/doc/Mushikago/Hotaru/TagListRequest.html +307 -0
  25. data/doc/Mushikago/Hotaru/TagPutRequest.html +307 -0
  26. data/doc/Mushikago/Hotaru/TextDeleteRequest.html +309 -0
  27. data/doc/Mushikago/Hotaru/TextGetRequest.html +307 -0
  28. data/doc/Mushikago/Hotaru/TextListRequest.html +315 -0
  29. data/doc/Mushikago/Hotaru/TextPutRequest.html +311 -0
  30. data/doc/Mushikago/Hotaru/TextTagsetRequest.html +311 -0
  31. data/doc/Mushikago/Hotaru/WordGetRequest.html +307 -0
  32. data/doc/Mushikago/Hotaru/WordListRequest.html +311 -0
  33. data/doc/Mushikago/Http.html +3 -3
  34. data/doc/Mushikago/Http/Client.html +104 -13
  35. data/doc/Mushikago/Http/DeleteRequest.html +240 -0
  36. data/doc/Mushikago/Http/GetRequest.html +240 -0
  37. data/doc/Mushikago/Http/MultipartPostRequest.html +265 -0
  38. data/doc/Mushikago/Http/MultipartPutRequest.html +265 -0
  39. data/doc/Mushikago/Http/MultipartRequest.html +7 -11
  40. data/doc/Mushikago/Http/PostRequest.html +240 -0
  41. data/doc/Mushikago/Http/PutRequest.html +240 -0
  42. data/doc/Mushikago/Http/Request.html +46 -133
  43. data/doc/Mushikago/Http/Response.html +56 -1
  44. data/doc/Mushikago/Mitsubachi.html +3 -3
  45. data/doc/Mushikago/Mitsubachi/Client.html +2 -2
  46. data/doc/Mushikago/Mitsubachi/HttpFetchRequest.html +13 -57
  47. data/doc/Mushikago/Mitsubachi/HttpPushRequest.html +13 -57
  48. data/doc/Mushikago/Mitsubachi/Project.html +1 -1
  49. data/doc/Mushikago/Mitsubachi/ProjectCreateRequest.html +13 -57
  50. data/doc/Mushikago/Mitsubachi/ProjectDeleteRequest.html +13 -57
  51. data/doc/Mushikago/Mitsubachi/ProjectDiscontinueRequest.html +13 -57
  52. data/doc/Mushikago/Mitsubachi/ProjectInfoRequest.html +13 -8
  53. data/doc/Mushikago/Mitsubachi/ProjectListRequest.html +13 -8
  54. data/doc/Mushikago/Mitsubachi/ProjectQueuesRequest.html +13 -8
  55. data/doc/Mushikago/Mitsubachi/ProjectUpdateRequest.html +13 -57
  56. data/doc/Mushikago/Mitsubachi/Projects.html +1 -1
  57. data/doc/Mushikago/Mitsubachi/Resource.html +1 -1
  58. data/doc/Mushikago/Mitsubachi/ResourceDeleteRequest.html +13 -57
  59. data/doc/Mushikago/Mitsubachi/ResourceGetRequest.html +13 -8
  60. data/doc/Mushikago/Mitsubachi/ResourceListRequest.html +13 -8
  61. data/doc/Mushikago/Mitsubachi/ResourceStoreRequest.html +13 -57
  62. data/doc/Mushikago/Mitsubachi/Resources.html +1 -1
  63. data/doc/Mushikago/Mitsubachi/Script.html +1 -1
  64. data/doc/Mushikago/Mitsubachi/ScriptDeleteRequest.html +13 -57
  65. data/doc/Mushikago/Mitsubachi/ScriptDeployRequest.html +13 -57
  66. data/doc/Mushikago/Mitsubachi/ScriptGetRequest.html +13 -8
  67. data/doc/Mushikago/Mitsubachi/ScriptListRequest.html +13 -8
  68. data/doc/Mushikago/Mitsubachi/Scripts.html +1 -1
  69. data/doc/Mushikago/Tombo.html +3 -3
  70. data/doc/Mushikago/Tombo/CaptureRequest.html +13 -57
  71. data/doc/Mushikago/Tombo/CapturesRequest.html +13 -8
  72. data/doc/Mushikago/Tombo/Client.html +2 -2
  73. data/doc/Mushikago/Tombo/DeleteRequest.html +13 -57
  74. data/doc/Mushikago/Tombo/InfoRequest.html +13 -8
  75. data/doc/_index.html +227 -29
  76. data/doc/class_list.html +1 -1
  77. data/doc/file.README.html +51 -2
  78. data/doc/index.html +51 -2
  79. data/doc/method_list.html +728 -256
  80. data/doc/top-level-namespace.html +1 -1
  81. data/lib/mushikago/hotaru.rb +35 -12
  82. data/lib/mushikago/hotaru/classifier_judge_request.rb +16 -0
  83. data/lib/mushikago/hotaru/client.rb +325 -27
  84. data/lib/mushikago/hotaru/collocation_create_request.rb +35 -0
  85. data/lib/mushikago/hotaru/collocation_delete_request.rb +16 -0
  86. data/lib/mushikago/hotaru/collocation_download_request.rb +16 -0
  87. data/lib/mushikago/hotaru/collocation_get_request.rb +18 -0
  88. data/lib/mushikago/hotaru/collocation_list_request.rb +23 -0
  89. data/lib/mushikago/hotaru/collocation_wordlist_request.rb +22 -0
  90. data/lib/mushikago/hotaru/dictionary_delete_request.rb +14 -0
  91. data/lib/mushikago/hotaru/dictionary_list_request.rb +23 -0
  92. data/lib/mushikago/hotaru/dictionary_put_request.rb +26 -0
  93. data/lib/mushikago/hotaru/domain_create_request.rb +23 -0
  94. data/lib/mushikago/hotaru/domain_delete_request.rb +14 -0
  95. data/lib/mushikago/hotaru/domain_info_request.rb +20 -0
  96. data/lib/mushikago/hotaru/domain_list_request.rb +21 -0
  97. data/lib/mushikago/hotaru/tag_delete_request.rb +18 -0
  98. data/lib/mushikago/hotaru/tag_list_request.rb +16 -0
  99. data/lib/mushikago/hotaru/tag_put_request.rb +17 -0
  100. data/lib/mushikago/hotaru/text_delete_request.rb +18 -0
  101. data/lib/mushikago/hotaru/text_get_request.rb +16 -0
  102. data/lib/mushikago/hotaru/text_list_request.rb +25 -0
  103. data/lib/mushikago/hotaru/text_put_request.rb +20 -0
  104. data/lib/mushikago/hotaru/text_tagset_request.rb +20 -0
  105. data/lib/mushikago/hotaru/word_get_request.rb +16 -0
  106. data/lib/mushikago/hotaru/word_list_request.rb +20 -0
  107. data/lib/mushikago/http/client.rb +5 -1
  108. data/lib/mushikago/http/request.rb +5 -0
  109. data/lib/mushikago/http/response.rb +7 -0
  110. data/lib/mushikago/version.rb +1 -1
  111. data/spec/mushikago/auth/signature_spec.rb +1 -2
  112. data/spec/mushikago/http/client_spec.rb +3 -2
  113. data/spec/mushikago/http/request_spec.rb +1 -3
  114. data/spec/mushikago/tombo/client_spec.rb +3 -2
  115. metadata +72 -21
  116. data/lib/mushikago/hotaru/request.rb +0 -32
  117. data/spec/mushikago/tombo/request_spec.rb +0 -23
@@ -0,0 +1,342 @@
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::Hotaru::DictionaryPutRequest
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 (D)</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="../Hotaru.html" title="Mushikago::Hotaru (module)">Hotaru</a></span></span>
38
+ &raquo;
39
+ <span class="title">DictionaryPutRequest</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::Hotaru::DictionaryPutRequest
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/MultipartPutRequest.html" title="Mushikago::Http::MultipartPutRequest (class)">Mushikago::Http::MultipartPutRequest</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)">Mushikago::Http::Request</a></span></li>
75
+
76
+ <li class="next"><span class='object_link'><a href="../Http/MultipartRequest.html" title="Mushikago::Http::MultipartRequest (class)">Mushikago::Http::MultipartRequest</a></span></li>
77
+
78
+ <li class="next"><span class='object_link'><a href="../Http/MultipartPutRequest.html" title="Mushikago::Http::MultipartPutRequest (class)">Mushikago::Http::MultipartPutRequest</a></span></li>
79
+
80
+ <li class="next">Mushikago::Hotaru::DictionaryPutRequest</li>
81
+
82
+ </ul>
83
+ <a href="#" class="inheritanceTree">show all</a>
84
+
85
+ </dd>
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+ <dt class="r2 last">Defined in:</dt>
96
+ <dd class="r2 last">lib/mushikago/hotaru/dictionary_put_request.rb</dd>
97
+
98
+ </dl>
99
+ <div class="clear"></div>
100
+
101
+
102
+ <h2>Constant Summary</h2>
103
+
104
+
105
+
106
+
107
+
108
+
109
+
110
+
111
+
112
+
113
+
114
+
115
+
116
+
117
+
118
+ <h3 class="inherited">Constants inherited from <span class='object_link'><a href="../Http/MultipartRequest.html" title="Mushikago::Http::MultipartRequest (class)">Mushikago::Http::MultipartRequest</a></span></h3>
119
+ <p class="inherited"><span class='object_link'><a href="../Http/MultipartRequest.html#CR-constant" title="Mushikago::Http::MultipartRequest::CR (constant)">CR</a></span>, <span class='object_link'><a href="../Http/MultipartRequest.html#EOL-constant" title="Mushikago::Http::MultipartRequest::EOL (constant)">EOL</a></span>, <span class='object_link'><a href="../Http/MultipartRequest.html#LF-constant" title="Mushikago::Http::MultipartRequest::LF (constant)">LF</a></span></p>
120
+
121
+
122
+
123
+
124
+
125
+
126
+
127
+
128
+
129
+
130
+
131
+
132
+
133
+
134
+
135
+
136
+
137
+
138
+
139
+ <h2>Instance Attribute Summary</h2>
140
+
141
+ <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="../Http/Request.html" title="Mushikago::Http::Request (class)">Mushikago::Http::Request</a></span></h3>
142
+ <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>
143
+
144
+
145
+
146
+ <h2>
147
+ Instance Method Summary
148
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
149
+ </h2>
150
+
151
+ <ul class="summary">
152
+
153
+ <li class="public ">
154
+ <span class="summary_signature">
155
+
156
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (DictionaryPutRequest) <strong>initialize</strong>(file_or_file_name, options = {}) </a>
157
+
158
+
159
+
160
+ </span>
161
+
162
+ <span class="note title constructor">constructor</span>
163
+
164
+
165
+
166
+
167
+
168
+
169
+
170
+
171
+ <span class="summary_desc"><div class='inline'><p>
172
+ A new instance of DictionaryPutRequest.
173
+ </p>
174
+ </div></span>
175
+
176
+ </li>
177
+
178
+
179
+ <li class="public ">
180
+ <span class="summary_signature">
181
+
182
+ <a href="#path-instance_method" title="#path (instance method)">- (Object) <strong>path</strong> </a>
183
+
184
+
185
+
186
+ </span>
187
+
188
+
189
+
190
+
191
+
192
+
193
+
194
+
195
+ <span class="summary_desc"><div class='inline'></div></span>
196
+
197
+ </li>
198
+
199
+
200
+ </ul>
201
+
202
+
203
+
204
+
205
+
206
+
207
+
208
+
209
+
210
+
211
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Http/MultipartPutRequest.html" title="Mushikago::Http::MultipartPutRequest (class)">Mushikago::Http::MultipartPutRequest</a></span></h3>
212
+ <p class="inherited"><span class='object_link'><a href="../Http/MultipartPutRequest.html#http_method-instance_method" title="Mushikago::Http::MultipartPutRequest#http_method (method)">#http_method</a></span></p>
213
+
214
+
215
+
216
+
217
+
218
+
219
+
220
+
221
+ <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>
222
+ <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>
223
+
224
+
225
+
226
+
227
+
228
+
229
+
230
+
231
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Http/MultipartRequest.html" title="Mushikago::Http::MultipartRequest (class)">Mushikago::Http::MultipartRequest</a></span></h3>
232
+ <p class="inherited"><span class='object_link'><a href="../Http/MultipartRequest.html#multipart_body-instance_method" title="Mushikago::Http::MultipartRequest#multipart_body (method)">#multipart_body</a></span>, <span class='object_link'><a href="../Http/MultipartRequest.html#to_http_request-instance_method" title="Mushikago::Http::MultipartRequest#to_http_request (method)">#to_http_request</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)">Mushikago::Http::Request</a></span></h3>
242
+ <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>
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::Hotaru::DictionaryPutRequest (class)">DictionaryPutRequest</a></span></tt>) <strong>initialize</strong>(file_or_file_name, options = {})
250
+
251
+
252
+
253
+ </p><div class="docstring">
254
+ <div class="discussion">
255
+ <p>
256
+ A new instance of DictionaryPutRequest
257
+ </p>
258
+
259
+
260
+ </div>
261
+ </div>
262
+ <div class="tags">
263
+
264
+
265
+ </div><table class="source_code">
266
+ <tr>
267
+ <td>
268
+ <pre class="lines">
269
+
270
+
271
+ 10
272
+ 11
273
+ 12
274
+ 13
275
+ 14
276
+ 15
277
+ 16
278
+ 17
279
+ 18
280
+ 19</pre>
281
+ </td>
282
+ <td>
283
+ <pre class="code"><span class="info file"># File 'lib/mushikago/hotaru/dictionary_put_request.rb', line 10</span>
284
+
285
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span> <span class='id identifier rubyid_file_or_file_name'>file_or_file_name</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='op'>=</span><span class='lbrace'>{</span><span class='rbrace'>}</span>
286
+ <span class='kw'>super</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
287
+ <span class='kw'>if</span><span class='lparen'>(</span><span class='id identifier rubyid_file_or_file_name'>file_or_file_name</span><span class='period'>.</span><span class='id identifier rubyid_kind_of?'>kind_of?</span><span class='lparen'>(</span><span class='const'>File</span><span class='rparen'>)</span><span class='rparen'>)</span>
288
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_dictionary_file'>dictionary_file</span> <span class='op'>=</span> <span class='id identifier rubyid_file_or_file_name'>file_or_file_name</span>
289
+ <span class='kw'>else</span>
290
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_dictionary_file'>dictionary_file</span> <span class='op'>=</span> <span class='const'>File</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_file_or_file_name'>file_or_file_name</span><span class='period'>.</span><span class='id identifier rubyid_to_s'>to_s</span><span class='rparen'>)</span>
291
+ <span class='kw'>end</span>
292
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_dictionary_name'>dictionary_name</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:dictionary_name</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'>:dictionary_name</span><span class='rparen'>)</span>
293
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_description'>description</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:description</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'>:description</span><span class='rparen'>)</span>
294
+ <span class='kw'>end</span></pre>
295
+ </td>
296
+ </tr>
297
+ </table>
298
+ </div>
299
+
300
+ </div>
301
+
302
+
303
+ <div id="instance_method_details" class="method_details_list">
304
+ <h2>Instance Method Details</h2>
305
+
306
+
307
+ <div class="method_details first">
308
+ <p class="signature first" id="path-instance_method">
309
+
310
+ - (<tt>Object</tt>) <strong>path</strong>
311
+
312
+
313
+
314
+ </p><table class="source_code">
315
+ <tr>
316
+ <td>
317
+ <pre class="lines">
318
+
319
+
320
+ 5</pre>
321
+ </td>
322
+ <td>
323
+ <pre class="code"><span class="info file"># File 'lib/mushikago/hotaru/dictionary_put_request.rb', line 5</span>
324
+
325
+ <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/hotaru/dictionary/put</span><span class='tstring_end'>'</span></span> <span class='kw'>end</span></pre>
326
+ </td>
327
+ </tr>
328
+ </table>
329
+ </div>
330
+
331
+ </div>
332
+
333
+ </div>
334
+
335
+ <div id="footer">
336
+ Generated on Mon Feb 20 09:55:34 2012 by
337
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
338
+ 0.7.4 (ruby-1.9.2).
339
+ </div>
340
+
341
+ </body>
342
+ </html>
@@ -0,0 +1,313 @@
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::Hotaru::DomainCreateRequest
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 (D)</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="../Hotaru.html" title="Mushikago::Hotaru (module)">Hotaru</a></span></span>
38
+ &raquo;
39
+ <span class="title">DomainCreateRequest</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::Hotaru::DomainCreateRequest
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/PostRequest.html" title="Mushikago::Http::PostRequest (class)">Mushikago::Http::PostRequest</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)">Mushikago::Http::Request</a></span></li>
75
+
76
+ <li class="next"><span class='object_link'><a href="../Http/PostRequest.html" title="Mushikago::Http::PostRequest (class)">Mushikago::Http::PostRequest</a></span></li>
77
+
78
+ <li class="next">Mushikago::Hotaru::DomainCreateRequest</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/hotaru/domain_create_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)">Mushikago::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#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)">- (DomainCreateRequest) <strong>initialize</strong>(domain_name, splitter, 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 DomainCreateRequest.
158
+ </p>
159
+ </div></span>
160
+
161
+ </li>
162
+
163
+
164
+ <li class="public ">
165
+ <span class="summary_signature">
166
+
167
+ <a href="#path-instance_method" title="#path (instance method)">- (Object) <strong>path</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
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Http/PostRequest.html" title="Mushikago::Http::PostRequest (class)">Mushikago::Http::PostRequest</a></span></h3>
197
+ <p class="inherited"><span class='object_link'><a href="../Http/PostRequest.html#http_method-instance_method" title="Mushikago::Http::PostRequest#http_method (method)">#http_method</a></span></p>
198
+
199
+
200
+
201
+
202
+
203
+
204
+
205
+
206
+ <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>
207
+ <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>
208
+
209
+
210
+
211
+
212
+
213
+
214
+
215
+
216
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Http/Request.html" title="Mushikago::Http::Request (class)">Mushikago::Http::Request</a></span></h3>
217
+ <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>
218
+ <div id="constructor_details" class="method_details_list">
219
+ <h2>Constructor Details</h2>
220
+
221
+ <div class="method_details first">
222
+ <p class="signature first" id="initialize-instance_method">
223
+
224
+ - (<tt><span class='object_link'><a href="" title="Mushikago::Hotaru::DomainCreateRequest (class)">DomainCreateRequest</a></span></tt>) <strong>initialize</strong>(domain_name, splitter, options = {})
225
+
226
+
227
+
228
+ </p><div class="docstring">
229
+ <div class="discussion">
230
+ <p>
231
+ A new instance of DomainCreateRequest
232
+ </p>
233
+
234
+
235
+ </div>
236
+ </div>
237
+ <div class="tags">
238
+
239
+
240
+ </div><table class="source_code">
241
+ <tr>
242
+ <td>
243
+ <pre class="lines">
244
+
245
+
246
+ 12
247
+ 13
248
+ 14
249
+ 15
250
+ 16
251
+ 17
252
+ 18
253
+ 19</pre>
254
+ </td>
255
+ <td>
256
+ <pre class="code"><span class="info file"># File 'lib/mushikago/hotaru/domain_create_request.rb', line 12</span>
257
+
258
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span> <span class='id identifier rubyid_domain_name'>domain_name</span><span class='comma'>,</span> <span class='id identifier rubyid_splitter'>splitter</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>
259
+ <span class='kw'>super</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
260
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_domain_name'>domain_name</span> <span class='op'>=</span> <span class='id identifier rubyid_domain_name'>domain_name</span>
261
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_splitter'>splitter</span> <span class='op'>=</span> <span class='id identifier rubyid_splitter'>splitter</span>
262
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_description'>description</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:description</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'>:description</span><span class='rparen'>)</span>
263
+ <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_dictionary_ids'>dictionary_ids</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:dictionary_ids</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'>:dictionary_ids</span><span class='rparen'>)</span>
264
+ <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>
265
+ <span class='kw'>end</span></pre>
266
+ </td>
267
+ </tr>
268
+ </table>
269
+ </div>
270
+
271
+ </div>
272
+
273
+
274
+ <div id="instance_method_details" class="method_details_list">
275
+ <h2>Instance Method Details</h2>
276
+
277
+
278
+ <div class="method_details first">
279
+ <p class="signature first" id="path-instance_method">
280
+
281
+ - (<tt>Object</tt>) <strong>path</strong>
282
+
283
+
284
+
285
+ </p><table class="source_code">
286
+ <tr>
287
+ <td>
288
+ <pre class="lines">
289
+
290
+
291
+ 5</pre>
292
+ </td>
293
+ <td>
294
+ <pre class="code"><span class="info file"># File 'lib/mushikago/hotaru/domain_create_request.rb', line 5</span>
295
+
296
+ <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/hotaru/domain/create</span><span class='tstring_end'>'</span></span> <span class='kw'>end</span></pre>
297
+ </td>
298
+ </tr>
299
+ </table>
300
+ </div>
301
+
302
+ </div>
303
+
304
+ </div>
305
+
306
+ <div id="footer">
307
+ Generated on Mon Feb 20 09:55:34 2012 by
308
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
309
+ 0.7.4 (ruby-1.9.2).
310
+ </div>
311
+
312
+ </body>
313
+ </html>