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
@@ -142,7 +142,7 @@ APIキーをファイルから読み込む場合
142
142
  <h2>Instance Attribute Summary</h2>
143
143
 
144
144
  <h3 class="inherited">Attributes inherited from <span class='object_link'><a href="../Http/Client.html" title="Mushikago::Http::Client (class)">Mushikago::Http::Client</a></span></h3>
145
- <p class="inherited"><span class='object_link'><a href="../Http/Client.html#api_key-instance_method" title="Mushikago::Http::Client#api_key (method)">api_key</a></span>, <span class='object_link'><a href="../Http/Client.html#signer-instance_method" title="Mushikago::Http::Client#signer (method)">signer</a></span></p>
145
+ <p class="inherited"><span class='object_link'><a href="../Http/Client.html#api_key-instance_method" title="Mushikago::Http::Client#api_key (method)">api_key</a></span>, <span class='object_link'><a href="../Http/Client.html#signer-instance_method" title="Mushikago::Http::Client#signer (method)">signer</a></span>, <span class='object_link'><a href="../Http/Client.html#use_ssl-instance_method" title="Mushikago::Http::Client#use_ssl (method)">use_ssl</a></span></p>
146
146
 
147
147
 
148
148
 
@@ -156,7 +156,7 @@ APIキーをファイルから読み込む場合
156
156
  <li class="public ">
157
157
  <span class="summary_signature">
158
158
 
159
- <a href="#capture-instance_method" title="#capture (instance method)">- (Mushikago::Http::Response) <strong>capture</strong>(url, options = {}) </a>
159
+ <a href="#classifier_judge-instance_method" title="#classifier_judge (instance method)">- (Mushikago::Http::Response) <strong>classifier_judge</strong>(domain_name, text, options = {}) </a>
160
160
 
161
161
 
162
162
 
@@ -170,7 +170,7 @@ APIキーをファイルから読み込む場合
170
170
 
171
171
 
172
172
  <span class="summary_desc"><div class='inline'><p>
173
- 指定したURLのキャプチャを取得する.
173
+ 指定されたtextにふさわしいtagを返す.
174
174
  </p>
175
175
  </div></span>
176
176
 
@@ -180,7 +180,7 @@ APIキーをファイルから読み込む場合
180
180
  <li class="public ">
181
181
  <span class="summary_signature">
182
182
 
183
- <a href="#captures-instance_method" title="#captures (instance method)">- (Mushikago::Http::Response) <strong>captures</strong>(options = {}) </a>
183
+ <a href="#collocation_create-instance_method" title="#collocation_create (instance method)">- (Mushikago::Http::Response) <strong>collocation_create</strong>(domain_name, tags, options = {}) </a>
184
184
 
185
185
 
186
186
 
@@ -194,7 +194,7 @@ APIキーをファイルから読み込む場合
194
194
 
195
195
 
196
196
  <span class="summary_desc"><div class='inline'><p>
197
- いままでキャプチャした画像の情報を取得する.
197
+ 共起グラフを作成する.
198
198
  </p>
199
199
  </div></span>
200
200
 
@@ -204,7 +204,7 @@ APIキーをファイルから読み込む場合
204
204
  <li class="public ">
205
205
  <span class="summary_signature">
206
206
 
207
- <a href="#delete-instance_method" title="#delete (instance method)">- (Mushikago::Http::Response) <strong>delete</strong>(id, options = {}) </a>
207
+ <a href="#collocation_delete-instance_method" title="#collocation_delete (instance method)">- (Mushikago::Http::Response) <strong>collocation_delete</strong>(domain_name, collocation_id, options = {}) </a>
208
208
 
209
209
 
210
210
 
@@ -218,7 +218,7 @@ APIキーをファイルから読み込む場合
218
218
 
219
219
 
220
220
  <span class="summary_desc"><div class='inline'><p>
221
- 指定した画像を削除する.
221
+ 共起グラフを削除する.
222
222
  </p>
223
223
  </div></span>
224
224
 
@@ -228,7 +228,7 @@ APIキーをファイルから読み込む場合
228
228
  <li class="public ">
229
229
  <span class="summary_signature">
230
230
 
231
- <a href="#info-instance_method" title="#info (instance method)">- (Mushikago::Http::Response) <strong>info</strong>(options = {}) </a>
231
+ <a href="#collocation_download-instance_method" title="#collocation_download (instance method)">- (Mushikago::Http::Response) <strong>collocation_download</strong>(domain_name, collocation_id, options = {}) </a>
232
232
 
233
233
 
234
234
 
@@ -242,49 +242,3328 @@ APIキーをファイルから読み込む場合
242
242
 
243
243
 
244
244
  <span class="summary_desc"><div class='inline'><p>
245
- APIの使用状況を取得する.
245
+ 共起グラフをダウンロードする.
246
246
  </p>
247
247
  </div></span>
248
248
 
249
249
  </li>
250
250
 
251
251
 
252
+ <li class="public ">
253
+ <span class="summary_signature">
254
+
255
+ <a href="#collocation_get-instance_method" title="#collocation_get (instance method)">- (Mushikago::Http::Response) <strong>collocation_get</strong>(domain_name, collocation_id, word, options = {}) </a>
256
+
257
+
258
+
259
+ </span>
260
+
261
+
262
+
263
+
264
+
265
+
266
+
267
+
268
+ <span class="summary_desc"><div class='inline'><p>
269
+ 共起語を取得する.
270
+ </p>
271
+ </div></span>
272
+
273
+ </li>
274
+
275
+
276
+ <li class="public ">
277
+ <span class="summary_signature">
278
+
279
+ <a href="#collocation_list-instance_method" title="#collocation_list (instance method)">- (Mushikago::Http::Response) <strong>collocation_list</strong>(domain_name, options = {}) </a>
280
+
281
+
282
+
283
+ </span>
284
+
285
+
286
+
287
+
288
+
289
+
290
+
291
+
292
+ <span class="summary_desc"><div class='inline'><p>
293
+ 共起グラフ一覧を取得する.
294
+ </p>
295
+ </div></span>
296
+
297
+ </li>
298
+
299
+
300
+ <li class="public ">
301
+ <span class="summary_signature">
302
+
303
+ <a href="#collocation_wordlist-instance_method" title="#collocation_wordlist (instance method)">- (Mushikago::Http::Response) <strong>collocation_wordlist</strong>(domain_name, collocation_id, options = {}) </a>
304
+
305
+
306
+
307
+ </span>
308
+
309
+
310
+
311
+
312
+
313
+
314
+
315
+
316
+ <span class="summary_desc"><div class='inline'><p>
317
+ 共起グラフ内の単語一覧を取得する.
318
+ </p>
319
+ </div></span>
320
+
321
+ </li>
322
+
323
+
324
+ <li class="public ">
325
+ <span class="summary_signature">
326
+
327
+ <a href="#dictionary_delete-instance_method" title="#dictionary_delete (instance method)">- (Mushikago::Http::Response) <strong>dictionary_delete</strong>(dictionary_id, options = {}) </a>
328
+
329
+
330
+
331
+ </span>
332
+
333
+
334
+
335
+
336
+
337
+
338
+
339
+
340
+ <span class="summary_desc"><div class='inline'><p>
341
+ 辞書を削除する.
342
+ </p>
343
+ </div></span>
344
+
345
+ </li>
346
+
347
+
348
+ <li class="public ">
349
+ <span class="summary_signature">
350
+
351
+ <a href="#dictionary_list-instance_method" title="#dictionary_list (instance method)">- (Mushikago::Http::Response) <strong>dictionary_list</strong>(options = {}) </a>
352
+
353
+
354
+
355
+ </span>
356
+
357
+
358
+
359
+
360
+
361
+
362
+
363
+
364
+ <span class="summary_desc"><div class='inline'><p>
365
+ 辞書の一覧を取得する.
366
+ </p>
367
+ </div></span>
368
+
369
+ </li>
370
+
371
+
372
+ <li class="public ">
373
+ <span class="summary_signature">
374
+
375
+ <a href="#dictionary_put-instance_method" title="#dictionary_put (instance method)">- (Mushikago::Http::Response) <strong>dictionary_put</strong>(dictionary_file, options = {}) </a>
376
+
377
+
378
+
379
+ </span>
380
+
381
+
382
+
383
+
384
+
385
+
386
+
387
+
388
+ <span class="summary_desc"><div class='inline'><p>
389
+ 辞書を登録する.
390
+ </p>
391
+ </div></span>
392
+
393
+ </li>
394
+
395
+
396
+ <li class="public ">
397
+ <span class="summary_signature">
398
+
399
+ <a href="#domain_create-instance_method" title="#domain_create (instance method)">- (Mushikago::Http::Response) <strong>domain_create</strong>(domain_name, splitter, options = {}) </a>
400
+
401
+
402
+
403
+ </span>
404
+
405
+
406
+
407
+
408
+
409
+
410
+
411
+
412
+ <span class="summary_desc"><div class='inline'><p>
413
+ ドメインを作成する.
414
+ </p>
415
+ </div></span>
416
+
417
+ </li>
418
+
419
+
420
+ <li class="public ">
421
+ <span class="summary_signature">
422
+
423
+ <a href="#domain_delete-instance_method" title="#domain_delete (instance method)">- (Mushikago::Http::Response) <strong>domain_delete</strong>(domain_name, options = {}) </a>
424
+
425
+
426
+
427
+ </span>
428
+
429
+
430
+
431
+
432
+
433
+
434
+
435
+
436
+ <span class="summary_desc"><div class='inline'><p>
437
+ ドメインを削除する.
438
+ </p>
439
+ </div></span>
440
+
441
+ </li>
442
+
443
+
444
+ <li class="public ">
445
+ <span class="summary_signature">
446
+
447
+ <a href="#domain_info-instance_method" title="#domain_info (instance method)">- (Mushikago::Http::Response) <strong>domain_info</strong>(domain_name, options = {}) </a>
448
+
449
+
450
+
451
+ </span>
452
+
453
+
454
+
455
+
456
+
457
+
458
+
459
+
460
+ <span class="summary_desc"><div class='inline'><p>
461
+ ドメインの情報を参照する.
462
+ </p>
463
+ </div></span>
464
+
465
+ </li>
466
+
467
+
468
+ <li class="public ">
469
+ <span class="summary_signature">
470
+
471
+ <a href="#domain_list-instance_method" title="#domain_list (instance method)">- (Mushikago::Http::Response) <strong>domain_list</strong>(options = {}) </a>
472
+
473
+
474
+
475
+ </span>
476
+
477
+
478
+
479
+
480
+
481
+
482
+
483
+
484
+ <span class="summary_desc"><div class='inline'><p>
485
+ ドメインの一覧を取得する.
486
+ </p>
487
+ </div></span>
488
+
489
+ </li>
490
+
491
+
492
+ <li class="public ">
493
+ <span class="summary_signature">
494
+
495
+ <a href="#tag_delete-instance_method" title="#tag_delete (instance method)">- (Mushikago::Http::Response) <strong>tag_delete</strong>(domain_name, tag, options = {}) </a>
496
+
497
+
498
+
499
+ </span>
500
+
501
+
502
+
503
+
504
+
505
+
506
+
507
+
508
+ <span class="summary_desc"><div class='inline'><p>
509
+ ドメインに登録されているタグを削除する.
510
+ </p>
511
+ </div></span>
512
+
513
+ </li>
514
+
515
+
516
+ <li class="public ">
517
+ <span class="summary_signature">
518
+
519
+ <a href="#tag_list-instance_method" title="#tag_list (instance method)">- (Mushikago::Http::Response) <strong>tag_list</strong>(domain_name, options = {}) </a>
520
+
521
+
522
+
523
+ </span>
524
+
525
+
526
+
527
+
528
+
529
+
530
+
531
+
532
+ <span class="summary_desc"><div class='inline'><p>
533
+ ドメイン内のタグ一覧を取得する.
534
+ </p>
535
+ </div></span>
536
+
537
+ </li>
538
+
539
+
540
+ <li class="public ">
541
+ <span class="summary_signature">
542
+
543
+ <a href="#tag_put-instance_method" title="#tag_put (instance method)">- (Mushikago::Http::Response) <strong>tag_put</strong>(domain_name, tag, options = {}) </a>
544
+
545
+
546
+
547
+ </span>
548
+
549
+
550
+
551
+
552
+
553
+
554
+
555
+
556
+ <span class="summary_desc"><div class='inline'><p>
557
+ ドメインにタグを登録する.
558
+ </p>
559
+ </div></span>
560
+
561
+ </li>
562
+
563
+
564
+ <li class="public ">
565
+ <span class="summary_signature">
566
+
567
+ <a href="#text_delete-instance_method" title="#text_delete (instance method)">- (Mushikago::Http::Response) <strong>text_delete</strong>(domain_name, text_id, options = {}) </a>
568
+
569
+
570
+
571
+ </span>
572
+
573
+
574
+
575
+
576
+
577
+
578
+
579
+
580
+ <span class="summary_desc"><div class='inline'><p>
581
+ テキストを削除する.
582
+ </p>
583
+ </div></span>
584
+
585
+ </li>
586
+
587
+
588
+ <li class="public ">
589
+ <span class="summary_signature">
590
+
591
+ <a href="#text_get-instance_method" title="#text_get (instance method)">- (Mushikago::Http::Response) <strong>text_get</strong>(domain_name, text_id, options = {}) </a>
592
+
593
+
594
+
595
+ </span>
596
+
597
+
598
+
599
+
600
+
601
+
602
+
603
+
604
+ <span class="summary_desc"><div class='inline'><p>
605
+ テキストを取得する.
606
+ </p>
607
+ </div></span>
608
+
609
+ </li>
610
+
611
+
612
+ <li class="public ">
613
+ <span class="summary_signature">
614
+
615
+ <a href="#text_list-instance_method" title="#text_list (instance method)">- (Mushikago::Http::Response) <strong>text_list</strong>(domain_name, options = {}) </a>
616
+
617
+
618
+
619
+ </span>
620
+
621
+
622
+
623
+
624
+
625
+
626
+
627
+
628
+ <span class="summary_desc"><div class='inline'><p>
629
+ テキスト一覧を取得する.
630
+ </p>
631
+ </div></span>
632
+
633
+ </li>
634
+
635
+
636
+ <li class="public ">
637
+ <span class="summary_signature">
638
+
639
+ <a href="#text_put-instance_method" title="#text_put (instance method)">- (Mushikago::Http::Response) <strong>text_put</strong>(domain_name, text, tags, options = {}) </a>
640
+
641
+
642
+
643
+ </span>
644
+
645
+
646
+
647
+
648
+
649
+
650
+
651
+
652
+ <span class="summary_desc"><div class='inline'><p>
653
+ テキストを登録する.
654
+ </p>
655
+ </div></span>
656
+
657
+ </li>
658
+
659
+
660
+ <li class="public ">
661
+ <span class="summary_signature">
662
+
663
+ <a href="#text_tagset-instance_method" title="#text_tagset (instance method)">- (Mushikago::Http::Response) <strong>text_tagset</strong>(domain_name, text_id, tags, options = {}) </a>
664
+
665
+
666
+
667
+ </span>
668
+
669
+
670
+
671
+
672
+
673
+
674
+
675
+
676
+ <span class="summary_desc"><div class='inline'><p>
677
+ テキストにヒモ付たタグの追加更新.
678
+ </p>
679
+ </div></span>
680
+
681
+ </li>
682
+
683
+
684
+ <li class="public ">
685
+ <span class="summary_signature">
686
+
687
+ <a href="#word_get-instance_method" title="#word_get (instance method)">- (Mushikago::Http::Response) <strong>word_get</strong>(domain_name, word, options = {}) </a>
688
+
689
+
690
+
691
+ </span>
692
+
693
+
694
+
695
+
696
+
697
+
698
+
699
+
700
+ <span class="summary_desc"><div class='inline'><p>
701
+ 指定した単語の詳細な情報を返す.
702
+ </p>
703
+ </div></span>
704
+
705
+ </li>
706
+
707
+
708
+ <li class="public ">
709
+ <span class="summary_signature">
710
+
711
+ <a href="#word_list-instance_method" title="#word_list (instance method)">- (Mushikago::Http::Response) <strong>word_list</strong>(domain_name, options = {}) </a>
712
+
713
+
714
+
715
+ </span>
716
+
717
+
718
+
719
+
720
+
721
+
722
+
723
+
724
+ <span class="summary_desc"><div class='inline'><p>
725
+ 単語の一覧を取得する.
726
+ </p>
727
+ </div></span>
728
+
729
+ </li>
730
+
731
+
732
+ </ul>
733
+
734
+
735
+
736
+
737
+
738
+
739
+
740
+
741
+
742
+
743
+ <h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Http/Client.html" title="Mushikago::Http::Client (class)">Mushikago::Http::Client</a></span></h3>
744
+ <p class="inherited"><span class='object_link'><a href="../Http/Client.html#initialize-instance_method" title="Mushikago::Http::Client#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="../Http/Client.html#send_request-instance_method" title="Mushikago::Http::Client#send_request (method)">#send_request</a></span></p>
745
+ <div id="constructor_details" class="method_details_list">
746
+ <h2>Constructor Details</h2>
747
+
748
+ <p class="notice">This class inherits a constructor from <span class='object_link'><a href="../Http/Client.html#initialize-instance_method" title="Mushikago::Http::Client#initialize (method)">Mushikago::Http::Client</a></span></p>
749
+
750
+ </div>
751
+
752
+
753
+ <div id="instance_method_details" class="method_details_list">
754
+ <h2>Instance Method Details</h2>
755
+
756
+
757
+ <div class="method_details first">
758
+ <p class="signature first" id="classifier_judge-instance_method">
759
+
760
+ - (<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>) <strong>classifier_judge</strong>(domain_name, text, options = {})
761
+
762
+
763
+
764
+ </p><div class="docstring">
765
+ <div class="discussion">
766
+ <p>
767
+ 指定されたtextにふさわしいtagを返す
768
+ </p>
769
+
770
+
771
+ </div>
772
+ </div>
773
+ <div class="tags">
774
+
775
+ <div class="examples">
776
+ <h3>Examples:</h3>
777
+
778
+ <h4><div class='inline'></div></h4>
779
+ <pre class="example code"><span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_classifier_judge'>classifier_judge</span></pre>
780
+
781
+ </div>
782
+ <h3>Parameters:</h3>
783
+ <ul class="param">
784
+
785
+ <li>
786
+
787
+ <span class='name'>domain_name</span>
788
+
789
+
790
+ <span class='type'>(<tt>String</tt>)</span>
791
+
792
+
793
+
794
+ &mdash;
795
+ <div class='inline'><p>
796
+ ドメイン名
797
+ </p>
798
+ </div>
799
+
800
+ </li>
801
+
802
+ <li>
803
+
804
+ <span class='name'>text</span>
805
+
806
+
807
+ <span class='type'>(<tt>String</tt>)</span>
808
+
809
+
810
+
811
+ &mdash;
812
+ <div class='inline'><p>
813
+ text
814
+ </p>
815
+ </div>
816
+
817
+ </li>
818
+
819
+ <li>
820
+
821
+ <span class='name'>options</span>
822
+
823
+
824
+ <span class='type'>(<tt>Hash</tt>)</span>
825
+
826
+
827
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
828
+
829
+
830
+ &mdash;
831
+ <div class='inline'><p>
832
+ リクエストのオプション
833
+ </p>
834
+ </div>
835
+
836
+ </li>
837
+
838
+ </ul>
839
+
840
+ <h3>Returns:</h3>
841
+ <ul class="return">
842
+
843
+ <li>
844
+
845
+
846
+ <span class='type'>(<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>)</span>
847
+
848
+
849
+
850
+ &mdash;
851
+ <div class='inline'><p>
852
+ リクエストの結果
853
+ </p>
854
+ </div>
855
+
856
+ </li>
857
+
858
+ </ul>
859
+
860
+ </div><table class="source_code">
861
+ <tr>
862
+ <td>
863
+ <pre class="lines">
864
+
865
+
866
+ 166
867
+ 167
868
+ 168
869
+ 169</pre>
870
+ </td>
871
+ <td>
872
+ <pre class="code"><span class="info file"># File 'lib/mushikago/hotaru/client.rb', line 166</span>
873
+
874
+ <span class='kw'>def</span> <span class='id identifier rubyid_classifier_judge'>classifier_judge</span> <span class='id identifier rubyid_domain_name'>domain_name</span><span class='comma'>,</span> <span class='id identifier rubyid_text'>text</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>
875
+ <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>Hotaru</span><span class='op'>::</span><span class='const'>ClassifierJudgeRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_domain_name'>domain_name</span><span class='comma'>,</span> <span class='id identifier rubyid_text'>text</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
876
+ <span class='id identifier rubyid_send_request'>send_request</span><span class='lparen'>(</span><span class='id identifier rubyid_request'>request</span><span class='rparen'>)</span>
877
+ <span class='kw'>end</span></pre>
878
+ </td>
879
+ </tr>
880
+ </table>
881
+ </div>
882
+
883
+ <div class="method_details ">
884
+ <p class="signature " id="collocation_create-instance_method">
885
+
886
+ - (<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>) <strong>collocation_create</strong>(domain_name, tags, options = {})
887
+
888
+
889
+
890
+ </p><div class="docstring">
891
+ <div class="discussion">
892
+ <p>
893
+ 共起グラフを作成する
894
+ </p>
895
+
896
+
897
+ </div>
898
+ </div>
899
+ <div class="tags">
900
+
901
+ <div class="examples">
902
+ <h3>Examples:</h3>
903
+
904
+ <h4><div class='inline'></div></h4>
905
+ <pre class="example code"><span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_collocation_create'>collocation_create</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>sample_domain</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>tag1</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>tag2</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
906
+ <span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_collocation_create'>collocation_create</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>sample_domain</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>tag1</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:parts_of_speech</span> <span class='op'>=&gt;</span> <span class='const'>Mushikago</span><span class='op'>::</span><span class='const'>Hotaru</span><span class='op'>::</span><span class='const'>CollocationCreateRequest</span><span class='op'>::</span><span class='const'>POS_LARGE</span><span class='rparen'>)</span></pre>
907
+
908
+ </div>
909
+ <h3>Parameters:</h3>
910
+ <ul class="param">
911
+
912
+ <li>
913
+
914
+ <span class='name'>domain_name</span>
915
+
916
+
917
+ <span class='type'>(<tt>String</tt>)</span>
918
+
919
+
920
+
921
+ &mdash;
922
+ <div class='inline'><p>
923
+ ドメイン名
924
+ </p>
925
+ </div>
926
+
927
+ </li>
928
+
929
+ <li>
930
+
931
+ <span class='name'>tags</span>
932
+
933
+
934
+ <span class='type'>(<tt>String</tt>, <tt>Array</tt>)</span>
935
+
936
+
937
+
938
+ &mdash;
939
+ <div class='inline'><p>
940
+ タグ
941
+ </p>
942
+ </div>
943
+
944
+ </li>
945
+
946
+ <li>
947
+
948
+ <span class='name'>options</span>
949
+
950
+
951
+ <span class='type'>(<tt>Hash</tt>)</span>
952
+
953
+
954
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
955
+
956
+
957
+ &mdash;
958
+ <div class='inline'><p>
959
+ リクエストのオプション
960
+ </p>
961
+ </div>
962
+
963
+ </li>
964
+
965
+ </ul>
966
+
967
+
968
+
969
+
970
+
971
+
972
+
973
+
974
+ <h3>Options Hash (<tt>options</tt>):</h3>
975
+ <ul class="option">
976
+
977
+ <li>
978
+ <span class="name">:parts_of_speech</span>
979
+ <span class="type">(<tt>String</tt>, <tt>Array</tt>)</span>
980
+ <span class="default">
981
+
982
+ </span>
983
+ &mdash; <div class='inline'><p>
984
+ 共起を取る単語の品詞
985
+ </p>
986
+ </div>
987
+ </li>
988
+
989
+ <li>
990
+ <span class="name">:collocation_name</span>
991
+ <span class="type">(<tt>String</tt>)</span>
992
+ <span class="default">
993
+
994
+ </span>
995
+ &mdash; <div class='inline'><p>
996
+ 共起グラフにつける名前
997
+ </p>
998
+ </div>
999
+ </li>
1000
+
1001
+ <li>
1002
+ <span class="name">:lower_threshold</span>
1003
+ <span class="type">(<tt>String</tt>)</span>
1004
+ <span class="default">
1005
+
1006
+ </span>
1007
+ &mdash; <div class='inline'><p>
1008
+ 単語の出現数下限
1009
+ </p>
1010
+ </div>
1011
+ </li>
1012
+
1013
+ <li>
1014
+ <span class="name">:upper_threshold</span>
1015
+ <span class="type">(<tt>String</tt>)</span>
1016
+ <span class="default">
1017
+
1018
+ </span>
1019
+ &mdash; <div class='inline'><p>
1020
+ 単語の出現数上限
1021
+ </p>
1022
+ </div>
1023
+ </li>
1024
+
1025
+ <li>
1026
+ <span class="name">:description</span>
1027
+ <span class="type">(<tt>String</tt>)</span>
1028
+ <span class="default">
1029
+
1030
+ </span>
1031
+ &mdash; <div class='inline'><p>
1032
+ 共起グラフの説明
1033
+ </p>
1034
+ </div>
1035
+ </li>
1036
+
1037
+ </ul>
1038
+
1039
+
1040
+ <h3>Returns:</h3>
1041
+ <ul class="return">
1042
+
1043
+ <li>
1044
+
1045
+
1046
+ <span class='type'>(<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>)</span>
1047
+
1048
+
1049
+
1050
+ &mdash;
1051
+ <div class='inline'><p>
1052
+ リクエストの結果
1053
+ </p>
1054
+ </div>
1055
+
1056
+ </li>
1057
+
1058
+ </ul>
1059
+
1060
+ </div><table class="source_code">
1061
+ <tr>
1062
+ <td>
1063
+ <pre class="lines">
1064
+
1065
+
1066
+ 185
1067
+ 186
1068
+ 187
1069
+ 188</pre>
1070
+ </td>
1071
+ <td>
1072
+ <pre class="code"><span class="info file"># File 'lib/mushikago/hotaru/client.rb', line 185</span>
1073
+
1074
+ <span class='kw'>def</span> <span class='id identifier rubyid_collocation_create'>collocation_create</span> <span class='id identifier rubyid_domain_name'>domain_name</span><span class='comma'>,</span> <span class='id identifier rubyid_tags'>tags</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>
1075
+ <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>Hotaru</span><span class='op'>::</span><span class='const'>CollocationCreateRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_domain_name'>domain_name</span><span class='comma'>,</span> <span class='id identifier rubyid_tags'>tags</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
1076
+ <span class='id identifier rubyid_send_request'>send_request</span><span class='lparen'>(</span><span class='id identifier rubyid_request'>request</span><span class='rparen'>)</span>
1077
+ <span class='kw'>end</span></pre>
1078
+ </td>
1079
+ </tr>
1080
+ </table>
1081
+ </div>
1082
+
1083
+ <div class="method_details ">
1084
+ <p class="signature " id="collocation_delete-instance_method">
1085
+
1086
+ - (<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>) <strong>collocation_delete</strong>(domain_name, collocation_id, options = {})
1087
+
1088
+
1089
+
1090
+ </p><div class="docstring">
1091
+ <div class="discussion">
1092
+ <p>
1093
+ 共起グラフを削除する
1094
+ </p>
1095
+
1096
+
1097
+ </div>
1098
+ </div>
1099
+ <div class="tags">
1100
+
1101
+ <div class="examples">
1102
+ <h3>Examples:</h3>
1103
+
1104
+ <h4><div class='inline'></div></h4>
1105
+ <pre class="example code"><span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_collocation_delete'>collocation_delete</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>sample_domain</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>c12345</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span></pre>
1106
+
1107
+ </div>
1108
+ <h3>Parameters:</h3>
1109
+ <ul class="param">
1110
+
1111
+ <li>
1112
+
1113
+ <span class='name'>domain_name</span>
1114
+
1115
+
1116
+ <span class='type'>(<tt>String</tt>)</span>
1117
+
1118
+
1119
+
1120
+ &mdash;
1121
+ <div class='inline'><p>
1122
+ ドメイン名
1123
+ </p>
1124
+ </div>
1125
+
1126
+ </li>
1127
+
1128
+ <li>
1129
+
1130
+ <span class='name'>collocation_id</span>
1131
+
1132
+
1133
+ <span class='type'>(<tt>String</tt>)</span>
1134
+
1135
+
1136
+
1137
+ &mdash;
1138
+ <div class='inline'><p>
1139
+ 共起ID
1140
+ </p>
1141
+ </div>
1142
+
1143
+ </li>
1144
+
1145
+ <li>
1146
+
1147
+ <span class='name'>options</span>
1148
+
1149
+
1150
+ <span class='type'>(<tt>Hash</tt>)</span>
1151
+
1152
+
1153
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1154
+
1155
+
1156
+ &mdash;
1157
+ <div class='inline'><p>
1158
+ リクエストのオプション
1159
+ </p>
1160
+ </div>
1161
+
1162
+ </li>
1163
+
1164
+ </ul>
1165
+
1166
+ <h3>Returns:</h3>
1167
+ <ul class="return">
1168
+
1169
+ <li>
1170
+
1171
+
1172
+ <span class='type'>(<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>)</span>
1173
+
1174
+
1175
+
1176
+ &mdash;
1177
+ <div class='inline'><p>
1178
+ リクエストの結果
1179
+ </p>
1180
+ </div>
1181
+
1182
+ </li>
1183
+
1184
+ </ul>
1185
+
1186
+ </div><table class="source_code">
1187
+ <tr>
1188
+ <td>
1189
+ <pre class="lines">
1190
+
1191
+
1192
+ 214
1193
+ 215
1194
+ 216
1195
+ 217</pre>
1196
+ </td>
1197
+ <td>
1198
+ <pre class="code"><span class="info file"># File 'lib/mushikago/hotaru/client.rb', line 214</span>
1199
+
1200
+ <span class='kw'>def</span> <span class='id identifier rubyid_collocation_delete'>collocation_delete</span> <span class='id identifier rubyid_domain_name'>domain_name</span><span class='comma'>,</span> <span class='id identifier rubyid_collocation_id'>collocation_id</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>
1201
+ <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>Hotaru</span><span class='op'>::</span><span class='const'>CollocationDeleteRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_domain_name'>domain_name</span><span class='comma'>,</span> <span class='id identifier rubyid_collocation_id'>collocation_id</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
1202
+ <span class='id identifier rubyid_send_request'>send_request</span><span class='lparen'>(</span><span class='id identifier rubyid_request'>request</span><span class='rparen'>)</span>
1203
+ <span class='kw'>end</span></pre>
1204
+ </td>
1205
+ </tr>
1206
+ </table>
1207
+ </div>
1208
+
1209
+ <div class="method_details ">
1210
+ <p class="signature " id="collocation_download-instance_method">
1211
+
1212
+ - (<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>) <strong>collocation_download</strong>(domain_name, collocation_id, options = {})
1213
+
1214
+
1215
+
1216
+ </p><div class="docstring">
1217
+ <div class="discussion">
1218
+ <p>
1219
+ 共起グラフをダウンロードする
1220
+ </p>
1221
+
1222
+
1223
+ </div>
1224
+ </div>
1225
+ <div class="tags">
1226
+
1227
+ <div class="examples">
1228
+ <h3>Examples:</h3>
1229
+
1230
+ <h4><div class='inline'></div></h4>
1231
+ <pre class="example code"><span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_collocation_download'>collocation_download</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>sample_domain</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>c12345</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span></pre>
1232
+
1233
+ </div>
1234
+ <h3>Parameters:</h3>
1235
+ <ul class="param">
1236
+
1237
+ <li>
1238
+
1239
+ <span class='name'>domain_name</span>
1240
+
1241
+
1242
+ <span class='type'>(<tt>String</tt>)</span>
1243
+
1244
+
1245
+
1246
+ &mdash;
1247
+ <div class='inline'><p>
1248
+ ドメイン名
1249
+ </p>
1250
+ </div>
1251
+
1252
+ </li>
1253
+
1254
+ <li>
1255
+
1256
+ <span class='name'>collocation_id</span>
1257
+
1258
+
1259
+ <span class='type'>(<tt>String</tt>)</span>
1260
+
1261
+
1262
+
1263
+ &mdash;
1264
+ <div class='inline'><p>
1265
+ 共起ID
1266
+ </p>
1267
+ </div>
1268
+
1269
+ </li>
1270
+
1271
+ <li>
1272
+
1273
+ <span class='name'>options</span>
1274
+
1275
+
1276
+ <span class='type'>(<tt>Hash</tt>)</span>
1277
+
1278
+
1279
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1280
+
1281
+
1282
+ &mdash;
1283
+ <div class='inline'><p>
1284
+ リクエストのオプション
1285
+ </p>
1286
+ </div>
1287
+
1288
+ </li>
1289
+
1290
+ </ul>
1291
+
1292
+
1293
+
1294
+
1295
+
1296
+
1297
+
1298
+
1299
+ <h3>Options Hash (<tt>options</tt>):</h3>
1300
+ <ul class="option">
1301
+
1302
+ <li>
1303
+ <span class="name">:with_body</span>
1304
+ <span class="type">(<tt>Boolean</tt>)</span>
1305
+ <span class="default">
1306
+
1307
+ </span>
1308
+ &mdash; <div class='inline'><p>
1309
+ trueを指定すると、response[&#8216;body&#8217;]でファイルの内容にアクセスすることができるようになります。
1310
+ </p>
1311
+ </div>
1312
+ </li>
1313
+
1314
+ </ul>
1315
+
1316
+
1317
+ <h3>Returns:</h3>
1318
+ <ul class="return">
1319
+
1320
+ <li>
1321
+
1322
+
1323
+ <span class='type'>(<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>)</span>
1324
+
1325
+
1326
+
1327
+ &mdash;
1328
+ <div class='inline'><p>
1329
+ リクエストの結果
1330
+ </p>
1331
+ </div>
1332
+
1333
+ </li>
1334
+
1335
+ </ul>
1336
+
1337
+ </div><table class="source_code">
1338
+ <tr>
1339
+ <td>
1340
+ <pre class="lines">
1341
+
1342
+
1343
+ 258
1344
+ 259
1345
+ 260
1346
+ 261
1347
+ 262
1348
+ 263
1349
+ 264
1350
+ 265
1351
+ 266
1352
+ 267
1353
+ 268
1354
+ 269</pre>
1355
+ </td>
1356
+ <td>
1357
+ <pre class="code"><span class="info file"># File 'lib/mushikago/hotaru/client.rb', line 258</span>
1358
+
1359
+ <span class='kw'>def</span> <span class='id identifier rubyid_collocation_download'>collocation_download</span> <span class='id identifier rubyid_domain_name'>domain_name</span><span class='comma'>,</span> <span class='id identifier rubyid_collocation_id'>collocation_id</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>
1360
+ <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>Hotaru</span><span class='op'>::</span><span class='const'>CollocationDownloadRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_domain_name'>domain_name</span><span class='comma'>,</span> <span class='id identifier rubyid_collocation_id'>collocation_id</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
1361
+ <span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='id identifier rubyid_send_request'>send_request</span><span class='lparen'>(</span><span class='id identifier rubyid_request'>request</span><span class='rparen'>)</span>
1362
+ <span class='kw'>if</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:with_body</span><span class='rbracket'>]</span>
1363
+ <span class='kw'>begin</span>
1364
+ <span class='id identifier rubyid_uri'>uri</span> <span class='op'>=</span> <span class='const'>URI</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='id identifier rubyid_result'>result</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>url</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
1365
+ <span class='id identifier rubyid_result'>result</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> <span class='op'>=</span> <span class='const'>Net</span><span class='op'>::</span><span class='const'>HTTP</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='id identifier rubyid_uri'>uri</span><span class='period'>.</span><span class='id identifier rubyid_host'>host</span><span class='comma'>,</span> <span class='id identifier rubyid_uri'>uri</span><span class='period'>.</span><span class='id identifier rubyid_request_uri'>request_uri</span><span class='rparen'>)</span>
1366
+ <span class='kw'>rescue</span>
1367
+ <span class='kw'>end</span>
1368
+ <span class='kw'>end</span>
1369
+ <span class='kw'>return</span> <span class='id identifier rubyid_result'>result</span>
1370
+ <span class='kw'>end</span></pre>
1371
+ </td>
1372
+ </tr>
1373
+ </table>
1374
+ </div>
1375
+
1376
+ <div class="method_details ">
1377
+ <p class="signature " id="collocation_get-instance_method">
1378
+
1379
+ - (<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>) <strong>collocation_get</strong>(domain_name, collocation_id, word, options = {})
1380
+
1381
+
1382
+
1383
+ </p><div class="docstring">
1384
+ <div class="discussion">
1385
+ <p>
1386
+ 共起語を取得する
1387
+ </p>
1388
+
1389
+
1390
+ </div>
1391
+ </div>
1392
+ <div class="tags">
1393
+
1394
+ <div class="examples">
1395
+ <h3>Examples:</h3>
1396
+
1397
+ <h4><div class='inline'></div></h4>
1398
+ <pre class="example code"><span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_collocation_get'>collocation_get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>sample_domain</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>c12345</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>我輩</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span></pre>
1399
+
1400
+ </div>
1401
+ <h3>Parameters:</h3>
1402
+ <ul class="param">
1403
+
1404
+ <li>
1405
+
1406
+ <span class='name'>domain_name</span>
1407
+
1408
+
1409
+ <span class='type'>(<tt>String</tt>)</span>
1410
+
1411
+
1412
+
1413
+ &mdash;
1414
+ <div class='inline'><p>
1415
+ ドメイン名
1416
+ </p>
1417
+ </div>
1418
+
1419
+ </li>
1420
+
1421
+ <li>
1422
+
1423
+ <span class='name'>collocation_id</span>
1424
+
1425
+
1426
+ <span class='type'>(<tt>String</tt>)</span>
1427
+
1428
+
1429
+
1430
+ &mdash;
1431
+ <div class='inline'><p>
1432
+ 共起ID
1433
+ </p>
1434
+ </div>
1435
+
1436
+ </li>
1437
+
1438
+ <li>
1439
+
1440
+ <span class='name'>word</span>
1441
+
1442
+
1443
+ <span class='type'>(<tt>String</tt>)</span>
1444
+
1445
+
1446
+
1447
+ &mdash;
1448
+ <div class='inline'><p>
1449
+ 共起語を取得したい単語
1450
+ </p>
1451
+ </div>
1452
+
1453
+ </li>
1454
+
1455
+ <li>
1456
+
1457
+ <span class='name'>options</span>
1458
+
1459
+
1460
+ <span class='type'>(<tt>Hash</tt>)</span>
1461
+
1462
+
1463
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1464
+
1465
+
1466
+ &mdash;
1467
+ <div class='inline'><p>
1468
+ リクエストのオプション
1469
+ </p>
1470
+ </div>
1471
+
1472
+ </li>
1473
+
1474
+ </ul>
1475
+
1476
+ <h3>Returns:</h3>
1477
+ <ul class="return">
1478
+
1479
+ <li>
1480
+
1481
+
1482
+ <span class='type'>(<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>)</span>
1483
+
1484
+
1485
+
1486
+ &mdash;
1487
+ <div class='inline'><p>
1488
+ リクエストの結果
1489
+ </p>
1490
+ </div>
1491
+
1492
+ </li>
1493
+
1494
+ </ul>
1495
+
1496
+ </div><table class="source_code">
1497
+ <tr>
1498
+ <td>
1499
+ <pre class="lines">
1500
+
1501
+
1502
+ 228
1503
+ 229
1504
+ 230
1505
+ 231</pre>
1506
+ </td>
1507
+ <td>
1508
+ <pre class="code"><span class="info file"># File 'lib/mushikago/hotaru/client.rb', line 228</span>
1509
+
1510
+ <span class='kw'>def</span> <span class='id identifier rubyid_collocation_get'>collocation_get</span> <span class='id identifier rubyid_domain_name'>domain_name</span><span class='comma'>,</span> <span class='id identifier rubyid_collocation_id'>collocation_id</span><span class='comma'>,</span> <span class='id identifier rubyid_word'>word</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>
1511
+ <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>Hotaru</span><span class='op'>::</span><span class='const'>CollocationGetRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_domain_name'>domain_name</span><span class='comma'>,</span> <span class='id identifier rubyid_collocation_id'>collocation_id</span><span class='comma'>,</span> <span class='id identifier rubyid_word'>word</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
1512
+ <span class='id identifier rubyid_send_request'>send_request</span><span class='lparen'>(</span><span class='id identifier rubyid_request'>request</span><span class='rparen'>)</span>
1513
+ <span class='kw'>end</span></pre>
1514
+ </td>
1515
+ </tr>
1516
+ </table>
1517
+ </div>
1518
+
1519
+ <div class="method_details ">
1520
+ <p class="signature " id="collocation_list-instance_method">
1521
+
1522
+ - (<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>) <strong>collocation_list</strong>(domain_name, options = {})
1523
+
1524
+
1525
+
1526
+ </p><div class="docstring">
1527
+ <div class="discussion">
1528
+ <p>
1529
+ 共起グラフ一覧を取得する
1530
+ </p>
1531
+
1532
+
1533
+ </div>
1534
+ </div>
1535
+ <div class="tags">
1536
+
1537
+ <div class="examples">
1538
+ <h3>Examples:</h3>
1539
+
1540
+ <h4><div class='inline'></div></h4>
1541
+ <pre class="example code"><span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_collocation_list'>collocation_list</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>sample_domain</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span></pre>
1542
+
1543
+ </div>
1544
+ <h3>Parameters:</h3>
1545
+ <ul class="param">
1546
+
1547
+ <li>
1548
+
1549
+ <span class='name'>domain_name</span>
1550
+
1551
+
1552
+ <span class='type'>(<tt>String</tt>)</span>
1553
+
1554
+
1555
+
1556
+ &mdash;
1557
+ <div class='inline'><p>
1558
+ ドメイン名
1559
+ </p>
1560
+ </div>
1561
+
1562
+ </li>
1563
+
1564
+ <li>
1565
+
1566
+ <span class='name'>options</span>
1567
+
1568
+
1569
+ <span class='type'>(<tt>Hash</tt>)</span>
1570
+
1571
+
1572
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1573
+
1574
+
1575
+ &mdash;
1576
+ <div class='inline'><p>
1577
+ リクエストのオプション
1578
+ </p>
1579
+ </div>
1580
+
1581
+ </li>
1582
+
1583
+ </ul>
1584
+
1585
+
1586
+
1587
+
1588
+
1589
+
1590
+ <h3>Options Hash (<tt>options</tt>):</h3>
1591
+ <ul class="option">
1592
+
1593
+ <li>
1594
+ <span class="name">:limit</span>
1595
+ <span class="type">(<tt>Integer</tt>)</span>
1596
+ <span class="default">
1597
+
1598
+ </span>
1599
+
1600
+ </li>
1601
+
1602
+ <li>
1603
+ <span class="name">:offset</span>
1604
+ <span class="type">(<tt>Integer</tt>)</span>
1605
+ <span class="default">
1606
+
1607
+ </span>
1608
+
1609
+ </li>
1610
+
1611
+ <li>
1612
+ <span class="name">:filter</span>
1613
+ <span class="type">(<tt>String</tt>)</span>
1614
+ <span class="default">
1615
+
1616
+ </span>
1617
+
1618
+ </li>
1619
+
1620
+ <li>
1621
+ <span class="name">:status</span>
1622
+ <span class="type">(<tt>String</tt>)</span>
1623
+ <span class="default">
1624
+
1625
+ </span>
1626
+
1627
+ </li>
1628
+
1629
+ </ul>
1630
+
1631
+
1632
+ <h3>Returns:</h3>
1633
+ <ul class="return">
1634
+
1635
+ <li>
1636
+
1637
+
1638
+ <span class='type'>(<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>)</span>
1639
+
1640
+
1641
+
1642
+ &mdash;
1643
+ <div class='inline'><p>
1644
+ リクエストの結果
1645
+ </p>
1646
+ </div>
1647
+
1648
+ </li>
1649
+
1650
+ </ul>
1651
+
1652
+ </div><table class="source_code">
1653
+ <tr>
1654
+ <td>
1655
+ <pre class="lines">
1656
+
1657
+
1658
+ 201
1659
+ 202
1660
+ 203
1661
+ 204</pre>
1662
+ </td>
1663
+ <td>
1664
+ <pre class="code"><span class="info file"># File 'lib/mushikago/hotaru/client.rb', line 201</span>
1665
+
1666
+ <span class='kw'>def</span> <span class='id identifier rubyid_collocation_list'>collocation_list</span> <span class='id identifier rubyid_domain_name'>domain_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>
1667
+ <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>Hotaru</span><span class='op'>::</span><span class='const'>CollocationListRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_domain_name'>domain_name</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
1668
+ <span class='id identifier rubyid_send_request'>send_request</span><span class='lparen'>(</span><span class='id identifier rubyid_request'>request</span><span class='rparen'>)</span>
1669
+ <span class='kw'>end</span></pre>
1670
+ </td>
1671
+ </tr>
1672
+ </table>
1673
+ </div>
1674
+
1675
+ <div class="method_details ">
1676
+ <p class="signature " id="collocation_wordlist-instance_method">
1677
+
1678
+ - (<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>) <strong>collocation_wordlist</strong>(domain_name, collocation_id, options = {})
1679
+
1680
+
1681
+
1682
+ </p><div class="docstring">
1683
+ <div class="discussion">
1684
+ <p>
1685
+ 共起グラフ内の単語一覧を取得する
1686
+ </p>
1687
+
1688
+
1689
+ </div>
1690
+ </div>
1691
+ <div class="tags">
1692
+
1693
+ <div class="examples">
1694
+ <h3>Examples:</h3>
1695
+
1696
+ <h4><div class='inline'></div></h4>
1697
+ <pre class="example code"><span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_collocation_wordlist'>collocation_wordlist</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>sample_domain</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>c12345</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span></pre>
1698
+
1699
+ </div>
1700
+ <h3>Parameters:</h3>
1701
+ <ul class="param">
1702
+
1703
+ <li>
1704
+
1705
+ <span class='name'>domain_name</span>
1706
+
1707
+
1708
+ <span class='type'>(<tt>String</tt>)</span>
1709
+
1710
+
1711
+
1712
+ &mdash;
1713
+ <div class='inline'><p>
1714
+ ドメイン名
1715
+ </p>
1716
+ </div>
1717
+
1718
+ </li>
1719
+
1720
+ <li>
1721
+
1722
+ <span class='name'>collocation_id</span>
1723
+
1724
+
1725
+ <span class='type'>(<tt>String</tt>)</span>
1726
+
1727
+
1728
+
1729
+ &mdash;
1730
+ <div class='inline'><p>
1731
+ 共起ID
1732
+ </p>
1733
+ </div>
1734
+
1735
+ </li>
1736
+
1737
+ <li>
1738
+
1739
+ <span class='name'>options</span>
1740
+
1741
+
1742
+ <span class='type'>(<tt>Hash</tt>)</span>
1743
+
1744
+
1745
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1746
+
1747
+
1748
+ &mdash;
1749
+ <div class='inline'><p>
1750
+ リクエストのオプション
1751
+ </p>
1752
+ </div>
1753
+
1754
+ </li>
1755
+
1756
+ </ul>
1757
+
1758
+
1759
+
1760
+
1761
+
1762
+
1763
+
1764
+
1765
+ <h3>Options Hash (<tt>options</tt>):</h3>
1766
+ <ul class="option">
1767
+
1768
+ <li>
1769
+ <span class="name">:limit</span>
1770
+ <span class="type">(<tt>Integer</tt>)</span>
1771
+ <span class="default">
1772
+
1773
+ </span>
1774
+
1775
+ </li>
1776
+
1777
+ <li>
1778
+ <span class="name">:offset</span>
1779
+ <span class="type">(<tt>Integer</tt>)</span>
1780
+ <span class="default">
1781
+
1782
+ </span>
1783
+
1784
+ </li>
1785
+
1786
+ <li>
1787
+ <span class="name">:filter</span>
1788
+ <span class="type">(<tt>String</tt>)</span>
1789
+ <span class="default">
1790
+
1791
+ </span>
1792
+
1793
+ </li>
1794
+
1795
+ </ul>
1796
+
1797
+
1798
+ <h3>Returns:</h3>
1799
+ <ul class="return">
1800
+
1801
+ <li>
1802
+
1803
+
1804
+ <span class='type'>(<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>)</span>
1805
+
1806
+
1807
+
1808
+ &mdash;
1809
+ <div class='inline'><p>
1810
+ リクエストの結果
1811
+ </p>
1812
+ </div>
1813
+
1814
+ </li>
1815
+
1816
+ </ul>
1817
+
1818
+ </div><table class="source_code">
1819
+ <tr>
1820
+ <td>
1821
+ <pre class="lines">
1822
+
1823
+
1824
+ 244
1825
+ 245
1826
+ 246
1827
+ 247</pre>
1828
+ </td>
1829
+ <td>
1830
+ <pre class="code"><span class="info file"># File 'lib/mushikago/hotaru/client.rb', line 244</span>
1831
+
1832
+ <span class='kw'>def</span> <span class='id identifier rubyid_collocation_wordlist'>collocation_wordlist</span> <span class='id identifier rubyid_domain_name'>domain_name</span><span class='comma'>,</span> <span class='id identifier rubyid_collocation_id'>collocation_id</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>
1833
+ <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>Hotaru</span><span class='op'>::</span><span class='const'>CollocationWordlistRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_domain_name'>domain_name</span><span class='comma'>,</span> <span class='id identifier rubyid_collocation_id'>collocation_id</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
1834
+ <span class='id identifier rubyid_send_request'>send_request</span><span class='lparen'>(</span><span class='id identifier rubyid_request'>request</span><span class='rparen'>)</span>
1835
+ <span class='kw'>end</span></pre>
1836
+ </td>
1837
+ </tr>
1838
+ </table>
1839
+ </div>
1840
+
1841
+ <div class="method_details ">
1842
+ <p class="signature " id="dictionary_delete-instance_method">
1843
+
1844
+ - (<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>) <strong>dictionary_delete</strong>(dictionary_id, options = {})
1845
+
1846
+
1847
+
1848
+ </p><div class="docstring">
1849
+ <div class="discussion">
1850
+ <p>
1851
+ 辞書を削除する
1852
+ </p>
1853
+
1854
+
1855
+ </div>
1856
+ </div>
1857
+ <div class="tags">
1858
+
1859
+ <div class="examples">
1860
+ <h3>Examples:</h3>
1861
+
1862
+ <h4><div class='inline'></div></h4>
1863
+ <pre class="example code"><span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_dictionary_delete'>dictionary_delete</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>dicid</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span></pre>
1864
+
1865
+ </div>
1866
+ <h3>Parameters:</h3>
1867
+ <ul class="param">
1868
+
1869
+ <li>
1870
+
1871
+ <span class='name'>dictionary_id</span>
1872
+
1873
+
1874
+ <span class='type'>(<tt>String</tt>)</span>
1875
+
1876
+
1877
+
1878
+ &mdash;
1879
+ <div class='inline'><p>
1880
+ 辞書ID
1881
+ </p>
1882
+ </div>
1883
+
1884
+ </li>
1885
+
1886
+ <li>
1887
+
1888
+ <span class='name'>options</span>
1889
+
1890
+
1891
+ <span class='type'>(<tt>Hash</tt>)</span>
1892
+
1893
+
1894
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1895
+
1896
+
1897
+ &mdash;
1898
+ <div class='inline'><p>
1899
+ リクエストのオプション
1900
+ </p>
1901
+ </div>
1902
+
1903
+ </li>
1904
+
1905
+ </ul>
1906
+
1907
+ <h3>Returns:</h3>
1908
+ <ul class="return">
1909
+
1910
+ <li>
1911
+
1912
+
1913
+ <span class='type'>(<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>)</span>
1914
+
1915
+
1916
+
1917
+ &mdash;
1918
+ <div class='inline'><p>
1919
+ リクエストの結果
1920
+ </p>
1921
+ </div>
1922
+
1923
+ </li>
1924
+
1925
+ </ul>
1926
+
1927
+ </div><table class="source_code">
1928
+ <tr>
1929
+ <td>
1930
+ <pre class="lines">
1931
+
1932
+
1933
+ 368
1934
+ 369
1935
+ 370
1936
+ 371</pre>
1937
+ </td>
1938
+ <td>
1939
+ <pre class="code"><span class="info file"># File 'lib/mushikago/hotaru/client.rb', line 368</span>
1940
+
1941
+ <span class='kw'>def</span> <span class='id identifier rubyid_dictionary_delete'>dictionary_delete</span> <span class='id identifier rubyid_dictionary_id'>dictionary_id</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>
1942
+ <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>Hotaru</span><span class='op'>::</span><span class='const'>DictionaryDeleteRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_dictionary_id'>dictionary_id</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
1943
+ <span class='id identifier rubyid_send_request'>send_request</span><span class='lparen'>(</span><span class='id identifier rubyid_request'>request</span><span class='rparen'>)</span>
1944
+ <span class='kw'>end</span></pre>
1945
+ </td>
1946
+ </tr>
1947
+ </table>
1948
+ </div>
1949
+
1950
+ <div class="method_details ">
1951
+ <p class="signature " id="dictionary_list-instance_method">
1952
+
1953
+ - (<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>) <strong>dictionary_list</strong>(options = {})
1954
+
1955
+
1956
+
1957
+ </p><div class="docstring">
1958
+ <div class="discussion">
1959
+ <p>
1960
+ 辞書の一覧を取得する
1961
+ </p>
1962
+
1963
+
1964
+ </div>
1965
+ </div>
1966
+ <div class="tags">
1967
+
1968
+ <div class="examples">
1969
+ <h3>Examples:</h3>
1970
+
1971
+ <h4><div class='inline'></div></h4>
1972
+ <pre class="example code"><span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_dictionary_list'>dictionary_list</span></pre>
1973
+
1974
+ </div>
1975
+ <h3>Parameters:</h3>
1976
+ <ul class="param">
1977
+
1978
+ <li>
1979
+
1980
+ <span class='name'>options</span>
1981
+
1982
+
1983
+ <span class='type'>(<tt>Hash</tt>)</span>
1984
+
1985
+
1986
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
1987
+
1988
+
1989
+ &mdash;
1990
+ <div class='inline'><p>
1991
+ リクエストのオプション
1992
+ </p>
1993
+ </div>
1994
+
1995
+ </li>
1996
+
1997
+ </ul>
1998
+
1999
+ <h3>Returns:</h3>
2000
+ <ul class="return">
2001
+
2002
+ <li>
2003
+
2004
+
2005
+ <span class='type'>(<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>)</span>
2006
+
2007
+
2008
+
2009
+ &mdash;
2010
+ <div class='inline'><p>
2011
+ リクエストの結果
2012
+ </p>
2013
+ </div>
2014
+
2015
+ </li>
2016
+
2017
+ </ul>
2018
+
2019
+ </div><table class="source_code">
2020
+ <tr>
2021
+ <td>
2022
+ <pre class="lines">
2023
+
2024
+
2025
+ 356
2026
+ 357
2027
+ 358
2028
+ 359</pre>
2029
+ </td>
2030
+ <td>
2031
+ <pre class="code"><span class="info file"># File 'lib/mushikago/hotaru/client.rb', line 356</span>
2032
+
2033
+ <span class='kw'>def</span> <span class='id identifier rubyid_dictionary_list'>dictionary_list</span> <span class='id identifier rubyid_options'>options</span><span class='op'>=</span><span class='lbrace'>{</span><span class='rbrace'>}</span>
2034
+ <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>Hotaru</span><span class='op'>::</span><span class='const'>DictionaryListRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
2035
+ <span class='id identifier rubyid_send_request'>send_request</span><span class='lparen'>(</span><span class='id identifier rubyid_request'>request</span><span class='rparen'>)</span>
2036
+ <span class='kw'>end</span></pre>
2037
+ </td>
2038
+ </tr>
2039
+ </table>
2040
+ </div>
2041
+
2042
+ <div class="method_details ">
2043
+ <p class="signature " id="dictionary_put-instance_method">
2044
+
2045
+ - (<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>) <strong>dictionary_put</strong>(dictionary_file, options = {})
2046
+
2047
+
2048
+
2049
+ </p><div class="docstring">
2050
+ <div class="discussion">
2051
+ <p>
2052
+ 辞書を登録する
2053
+ </p>
2054
+
2055
+
2056
+ </div>
2057
+ </div>
2058
+ <div class="tags">
2059
+
2060
+ <div class="examples">
2061
+ <h3>Examples:</h3>
2062
+
2063
+ <h4><div class='inline'></div></h4>
2064
+ <pre class="example code"><span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_dictionary_put'>dictionary_put</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>custom.csv</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:dictionary_name</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>mushikago用語</span><span class='tstring_end'>'</span></span></pre>
2065
+
2066
+ </div>
2067
+ <h3>Parameters:</h3>
2068
+ <ul class="param">
2069
+
2070
+ <li>
2071
+
2072
+ <span class='name'>dictionary_file</span>
2073
+
2074
+
2075
+ <span class='type'>(<tt>String</tt>, <tt>File</tt>)</span>
2076
+
2077
+
2078
+
2079
+ &mdash;
2080
+ <div class='inline'><p>
2081
+ 辞書ファイル
2082
+ </p>
2083
+ </div>
2084
+
2085
+ </li>
2086
+
2087
+ <li>
2088
+
2089
+ <span class='name'>options</span>
2090
+
2091
+
2092
+ <span class='type'>(<tt>Hash</tt>)</span>
2093
+
2094
+
2095
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
2096
+
2097
+
2098
+ &mdash;
2099
+ <div class='inline'><p>
2100
+ リクエストのオプション
2101
+ </p>
2102
+ </div>
2103
+
2104
+ </li>
2105
+
2106
+ </ul>
2107
+
2108
+ <h3>Returns:</h3>
2109
+ <ul class="return">
2110
+
2111
+ <li>
2112
+
2113
+
2114
+ <span class='type'>(<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>)</span>
2115
+
2116
+
2117
+
2118
+ &mdash;
2119
+ <div class='inline'><p>
2120
+ リクエストの結果
2121
+ </p>
2122
+ </div>
2123
+
2124
+ </li>
2125
+
2126
+ </ul>
2127
+
2128
+ </div><table class="source_code">
2129
+ <tr>
2130
+ <td>
2131
+ <pre class="lines">
2132
+
2133
+
2134
+ 345
2135
+ 346
2136
+ 347
2137
+ 348</pre>
2138
+ </td>
2139
+ <td>
2140
+ <pre class="code"><span class="info file"># File 'lib/mushikago/hotaru/client.rb', line 345</span>
2141
+
2142
+ <span class='kw'>def</span> <span class='id identifier rubyid_dictionary_put'>dictionary_put</span> <span class='id identifier rubyid_dictionary_file'>dictionary_file</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>
2143
+ <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>Hotaru</span><span class='op'>::</span><span class='const'>DictionaryPutRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_dictionary_file'>dictionary_file</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
2144
+ <span class='id identifier rubyid_send_request'>send_request</span><span class='lparen'>(</span><span class='id identifier rubyid_request'>request</span><span class='rparen'>)</span>
2145
+ <span class='kw'>end</span></pre>
2146
+ </td>
2147
+ </tr>
2148
+ </table>
2149
+ </div>
2150
+
2151
+ <div class="method_details ">
2152
+ <p class="signature " id="domain_create-instance_method">
2153
+
2154
+ - (<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>) <strong>domain_create</strong>(domain_name, splitter, options = {})
2155
+
2156
+
2157
+
2158
+ </p><div class="docstring">
2159
+ <div class="discussion">
2160
+ <p>
2161
+ ドメインを作成する
2162
+ </p>
2163
+
2164
+
2165
+ </div>
2166
+ </div>
2167
+ <div class="tags">
2168
+
2169
+ <div class="examples">
2170
+ <h3>Examples:</h3>
2171
+
2172
+ <h4><div class='inline'></div></h4>
2173
+ <pre class="example code"><span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_domain_create'>domain_create</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>sample_domain</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>2gram</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span></pre>
2174
+
2175
+ </div>
2176
+ <h3>Parameters:</h3>
2177
+ <ul class="param">
2178
+
2179
+ <li>
2180
+
2181
+ <span class='name'>domain_name</span>
2182
+
2183
+
2184
+ <span class='type'>(<tt>String</tt>)</span>
2185
+
2186
+
2187
+
2188
+ &mdash;
2189
+ <div class='inline'><p>
2190
+ ドメイン名
2191
+ </p>
2192
+ </div>
2193
+
2194
+ </li>
2195
+
2196
+ <li>
2197
+
2198
+ <span class='name'>splitter</span>
2199
+
2200
+
2201
+ <span class='type'>(<tt>String</tt>)</span>
2202
+
2203
+
2204
+
2205
+ &mdash;
2206
+ <div class='inline'><p>
2207
+ スプリッター
2208
+ </p>
2209
+ </div>
2210
+
2211
+ </li>
2212
+
2213
+ <li>
2214
+
2215
+ <span class='name'>options</span>
2216
+
2217
+
2218
+ <span class='type'>(<tt>Hash</tt>)</span>
2219
+
2220
+
2221
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
2222
+
2223
+
2224
+ &mdash;
2225
+ <div class='inline'><p>
2226
+ リクエストのオプション
2227
+ </p>
2228
+ </div>
2229
+
2230
+ </li>
2231
+
2232
+ </ul>
2233
+
2234
+
2235
+
2236
+
2237
+
2238
+
2239
+
2240
+
2241
+ <h3>Options Hash (<tt>options</tt>):</h3>
2242
+ <ul class="option">
2243
+
2244
+ <li>
2245
+ <span class="name">:description</span>
2246
+ <span class="type">(<tt>String</tt>)</span>
2247
+ <span class="default">
2248
+
2249
+ </span>
2250
+ &mdash; <div class='inline'><p>
2251
+ ドメインの説明
2252
+ </p>
2253
+ </div>
2254
+ </li>
2255
+
2256
+ <li>
2257
+ <span class="name">:dictionary_ids</span>
2258
+ <span class="type">(<tt>String</tt>, <tt>Array</tt>)</span>
2259
+ <span class="default">
2260
+
2261
+ </span>
2262
+ &mdash; <div class='inline'><p>
2263
+ ユーザ辞書のID
2264
+ </p>
2265
+ </div>
2266
+ </li>
2267
+
2268
+ <li>
2269
+ <span class="name">:tags</span>
2270
+ <span class="type">(<tt>String</tt>, <tt>Array</tt>)</span>
2271
+ <span class="default">
2272
+
2273
+ </span>
2274
+ &mdash; <div class='inline'><p>
2275
+ ドメイン内で使用するタグ
2276
+ </p>
2277
+ </div>
2278
+ </li>
2279
+
2280
+ </ul>
2281
+
2282
+
2283
+ <h3>Returns:</h3>
2284
+ <ul class="return">
2285
+
2286
+ <li>
2287
+
2288
+
2289
+ <span class='type'>(<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>)</span>
2290
+
2291
+
2292
+
2293
+ &mdash;
2294
+ <div class='inline'><p>
2295
+ リクエストの結果
2296
+ </p>
2297
+ </div>
2298
+
2299
+ </li>
2300
+
2301
+ </ul>
2302
+
2303
+ </div><table class="source_code">
2304
+ <tr>
2305
+ <td>
2306
+ <pre class="lines">
2307
+
2308
+
2309
+ 31
2310
+ 32
2311
+ 33
2312
+ 34</pre>
2313
+ </td>
2314
+ <td>
2315
+ <pre class="code"><span class="info file"># File 'lib/mushikago/hotaru/client.rb', line 31</span>
2316
+
2317
+ <span class='kw'>def</span> <span class='id identifier rubyid_domain_create'>domain_create</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>
2318
+ <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>Hotaru</span><span class='op'>::</span><span class='const'>DomainCreateRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</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='rparen'>)</span>
2319
+ <span class='id identifier rubyid_send_request'>send_request</span><span class='lparen'>(</span><span class='id identifier rubyid_request'>request</span><span class='rparen'>)</span>
2320
+ <span class='kw'>end</span></pre>
2321
+ </td>
2322
+ </tr>
2323
+ </table>
2324
+ </div>
2325
+
2326
+ <div class="method_details ">
2327
+ <p class="signature " id="domain_delete-instance_method">
2328
+
2329
+ - (<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>) <strong>domain_delete</strong>(domain_name, options = {})
2330
+
2331
+
2332
+
2333
+ </p><div class="docstring">
2334
+ <div class="discussion">
2335
+ <p>
2336
+ ドメインを削除する
2337
+ </p>
2338
+
2339
+
2340
+ </div>
2341
+ </div>
2342
+ <div class="tags">
2343
+
2344
+ <div class="examples">
2345
+ <h3>Examples:</h3>
2346
+
2347
+ <h4><div class='inline'></div></h4>
2348
+ <pre class="example code"><span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_domain_delete'>domain_delete</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>sample_domain</span><span class='tstring_end'>'</span></span></pre>
2349
+
2350
+ </div>
2351
+ <h3>Parameters:</h3>
2352
+ <ul class="param">
2353
+
2354
+ <li>
2355
+
2356
+ <span class='name'>domain_name</span>
2357
+
2358
+
2359
+ <span class='type'>(<tt>String</tt>)</span>
2360
+
2361
+
2362
+
2363
+ &mdash;
2364
+ <div class='inline'><p>
2365
+ ドメイン名
2366
+ </p>
2367
+ </div>
2368
+
2369
+ </li>
2370
+
2371
+ <li>
2372
+
2373
+ <span class='name'>options</span>
2374
+
2375
+
2376
+ <span class='type'>(<tt>Hash</tt>)</span>
2377
+
2378
+
2379
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
2380
+
2381
+
2382
+ &mdash;
2383
+ <div class='inline'><p>
2384
+ リクエストのオプション
2385
+ </p>
2386
+ </div>
2387
+
2388
+ </li>
2389
+
2390
+ </ul>
2391
+
2392
+ <h3>Returns:</h3>
2393
+ <ul class="return">
2394
+
2395
+ <li>
2396
+
2397
+
2398
+ <span class='type'>(<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>)</span>
2399
+
2400
+
2401
+
2402
+ &mdash;
2403
+ <div class='inline'><p>
2404
+ リクエストの結果
2405
+ </p>
2406
+ </div>
2407
+
2408
+ </li>
2409
+
2410
+ </ul>
2411
+
2412
+ </div><table class="source_code">
2413
+ <tr>
2414
+ <td>
2415
+ <pre class="lines">
2416
+
2417
+
2418
+ 70
2419
+ 71
2420
+ 72
2421
+ 73</pre>
2422
+ </td>
2423
+ <td>
2424
+ <pre class="code"><span class="info file"># File 'lib/mushikago/hotaru/client.rb', line 70</span>
2425
+
2426
+ <span class='kw'>def</span> <span class='id identifier rubyid_domain_delete'>domain_delete</span> <span class='id identifier rubyid_domain_name'>domain_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>
2427
+ <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>Hotaru</span><span class='op'>::</span><span class='const'>DomainDeleteRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_domain_name'>domain_name</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
2428
+ <span class='id identifier rubyid_send_request'>send_request</span><span class='lparen'>(</span><span class='id identifier rubyid_request'>request</span><span class='rparen'>)</span>
2429
+ <span class='kw'>end</span></pre>
2430
+ </td>
2431
+ </tr>
2432
+ </table>
2433
+ </div>
2434
+
2435
+ <div class="method_details ">
2436
+ <p class="signature " id="domain_info-instance_method">
2437
+
2438
+ - (<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>) <strong>domain_info</strong>(domain_name, options = {})
2439
+
2440
+
2441
+
2442
+ </p><div class="docstring">
2443
+ <div class="discussion">
2444
+ <p>
2445
+ ドメインの情報を参照する
2446
+ </p>
2447
+
2448
+
2449
+ </div>
2450
+ </div>
2451
+ <div class="tags">
2452
+
2453
+ <div class="examples">
2454
+ <h3>Examples:</h3>
2455
+
2456
+ <h4><div class='inline'></div></h4>
2457
+ <pre class="example code"><span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_domain_info'>domain_info</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>sample_domain</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span></pre>
2458
+
2459
+ </div>
2460
+ <h3>Parameters:</h3>
2461
+ <ul class="param">
2462
+
2463
+ <li>
2464
+
2465
+ <span class='name'>domain_name</span>
2466
+
2467
+
2468
+ <span class='type'>(<tt>String</tt>)</span>
2469
+
2470
+
2471
+
2472
+ &mdash;
2473
+ <div class='inline'><p>
2474
+ ドメイン名
2475
+ </p>
2476
+ </div>
2477
+
2478
+ </li>
2479
+
2480
+ <li>
2481
+
2482
+ <span class='name'>options</span>
2483
+
2484
+
2485
+ <span class='type'>(<tt>Hash</tt>)</span>
2486
+
2487
+
2488
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
2489
+
2490
+
2491
+ &mdash;
2492
+ <div class='inline'><p>
2493
+ リクエストのオプション
2494
+ </p>
2495
+ </div>
2496
+
2497
+ </li>
2498
+
2499
+ </ul>
2500
+
2501
+
2502
+
2503
+
2504
+
2505
+
2506
+ <h3>Options Hash (<tt>options</tt>):</h3>
2507
+ <ul class="option">
2508
+
2509
+ <li>
2510
+ <span class="name">:time</span>
2511
+ <span class="type">(<tt>Integer</tt>)</span>
2512
+ <span class="default">
2513
+
2514
+ </span>
2515
+
2516
+ </li>
2517
+
2518
+ </ul>
2519
+
2520
+
2521
+ <h3>Returns:</h3>
2522
+ <ul class="return">
2523
+
2524
+ <li>
2525
+
2526
+
2527
+ <span class='type'>(<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>)</span>
2528
+
2529
+
2530
+
2531
+ &mdash;
2532
+ <div class='inline'><p>
2533
+ リクエストの結果
2534
+ </p>
2535
+ </div>
2536
+
2537
+ </li>
2538
+
2539
+ </ul>
2540
+
2541
+ </div><table class="source_code">
2542
+ <tr>
2543
+ <td>
2544
+ <pre class="lines">
2545
+
2546
+
2547
+ 44
2548
+ 45
2549
+ 46
2550
+ 47</pre>
2551
+ </td>
2552
+ <td>
2553
+ <pre class="code"><span class="info file"># File 'lib/mushikago/hotaru/client.rb', line 44</span>
2554
+
2555
+ <span class='kw'>def</span> <span class='id identifier rubyid_domain_info'>domain_info</span> <span class='id identifier rubyid_domain_name'>domain_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>
2556
+ <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>Hotaru</span><span class='op'>::</span><span class='const'>DomainInfoRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_domain_name'>domain_name</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
2557
+ <span class='id identifier rubyid_send_request'>send_request</span><span class='lparen'>(</span><span class='id identifier rubyid_request'>request</span><span class='rparen'>)</span>
2558
+ <span class='kw'>end</span></pre>
2559
+ </td>
2560
+ </tr>
2561
+ </table>
2562
+ </div>
2563
+
2564
+ <div class="method_details ">
2565
+ <p class="signature " id="domain_list-instance_method">
2566
+
2567
+ - (<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>) <strong>domain_list</strong>(options = {})
2568
+
2569
+
2570
+
2571
+ </p><div class="docstring">
2572
+ <div class="discussion">
2573
+ <p>
2574
+ ドメインの一覧を取得する
2575
+ </p>
2576
+
2577
+
2578
+ </div>
2579
+ </div>
2580
+ <div class="tags">
2581
+
2582
+ <div class="examples">
2583
+ <h3>Examples:</h3>
2584
+
2585
+ <h4><div class='inline'></div></h4>
2586
+ <pre class="example code"><span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_domain_list'>domain_list</span></pre>
2587
+
2588
+ </div>
2589
+ <h3>Parameters:</h3>
2590
+ <ul class="param">
2591
+
2592
+ <li>
2593
+
2594
+ <span class='name'>options</span>
2595
+
2596
+
2597
+ <span class='type'>(<tt>Hash</tt>)</span>
2598
+
2599
+
2600
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
2601
+
2602
+
2603
+ &mdash;
2604
+ <div class='inline'><p>
2605
+ リクエストのオプション
2606
+ </p>
2607
+ </div>
2608
+
2609
+ </li>
2610
+
2611
+ </ul>
2612
+
2613
+
2614
+
2615
+
2616
+ <h3>Options Hash (<tt>options</tt>):</h3>
2617
+ <ul class="option">
2618
+
2619
+ <li>
2620
+ <span class="name">:limit</span>
2621
+ <span class="type">(<tt>Integer</tt>)</span>
2622
+ <span class="default">
2623
+
2624
+ </span>
2625
+
2626
+ </li>
2627
+
2628
+ <li>
2629
+ <span class="name">:offset</span>
2630
+ <span class="type">(<tt>Integer</tt>)</span>
2631
+ <span class="default">
2632
+
2633
+ </span>
2634
+
2635
+ </li>
2636
+
2637
+ <li>
2638
+ <span class="name">:filter</span>
2639
+ <span class="type">(<tt>String</tt>)</span>
2640
+ <span class="default">
2641
+
2642
+ </span>
2643
+
2644
+ </li>
2645
+
2646
+ </ul>
2647
+
2648
+
2649
+ <h3>Returns:</h3>
2650
+ <ul class="return">
2651
+
2652
+ <li>
2653
+
2654
+
2655
+ <span class='type'>(<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>)</span>
2656
+
2657
+
2658
+
2659
+ &mdash;
2660
+ <div class='inline'><p>
2661
+ リクエストの結果
2662
+ </p>
2663
+ </div>
2664
+
2665
+ </li>
2666
+
2667
+ </ul>
2668
+
2669
+ </div><table class="source_code">
2670
+ <tr>
2671
+ <td>
2672
+ <pre class="lines">
2673
+
2674
+
2675
+ 58
2676
+ 59
2677
+ 60
2678
+ 61</pre>
2679
+ </td>
2680
+ <td>
2681
+ <pre class="code"><span class="info file"># File 'lib/mushikago/hotaru/client.rb', line 58</span>
2682
+
2683
+ <span class='kw'>def</span> <span class='id identifier rubyid_domain_list'>domain_list</span> <span class='id identifier rubyid_options'>options</span><span class='op'>=</span><span class='lbrace'>{</span><span class='rbrace'>}</span>
2684
+ <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>Hotaru</span><span class='op'>::</span><span class='const'>DomainListRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
2685
+ <span class='id identifier rubyid_send_request'>send_request</span><span class='lparen'>(</span><span class='id identifier rubyid_request'>request</span><span class='rparen'>)</span>
2686
+ <span class='kw'>end</span></pre>
2687
+ </td>
2688
+ </tr>
2689
+ </table>
2690
+ </div>
2691
+
2692
+ <div class="method_details ">
2693
+ <p class="signature " id="tag_delete-instance_method">
2694
+
2695
+ - (<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>) <strong>tag_delete</strong>(domain_name, tag, options = {})
2696
+
2697
+
2698
+
2699
+ </p><div class="docstring">
2700
+ <div class="discussion">
2701
+ <p>
2702
+ ドメインに登録されているタグを削除する
2703
+ </p>
2704
+
2705
+
2706
+ </div>
2707
+ </div>
2708
+ <div class="tags">
2709
+
2710
+ <div class="examples">
2711
+ <h3>Examples:</h3>
2712
+
2713
+ <h4><div class='inline'></div></h4>
2714
+ <pre class="example code"><span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_tag_delete'>tag_delete</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>sample_domain</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>tag1</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span></pre>
2715
+
2716
+ </div>
2717
+ <h3>Parameters:</h3>
2718
+ <ul class="param">
2719
+
2720
+ <li>
2721
+
2722
+ <span class='name'>domain_name</span>
2723
+
2724
+
2725
+ <span class='type'>(<tt>String</tt>)</span>
2726
+
2727
+
2728
+
2729
+ &mdash;
2730
+ <div class='inline'><p>
2731
+ ドメイン名
2732
+ </p>
2733
+ </div>
2734
+
2735
+ </li>
2736
+
2737
+ <li>
2738
+
2739
+ <span class='name'>tag</span>
2740
+
2741
+
2742
+ <span class='type'>(<tt>String</tt>)</span>
2743
+
2744
+
2745
+
2746
+ &mdash;
2747
+ <div class='inline'><p>
2748
+ タグ
2749
+ </p>
2750
+ </div>
2751
+
2752
+ </li>
2753
+
2754
+ <li>
2755
+
2756
+ <span class='name'>options</span>
2757
+
2758
+
2759
+ <span class='type'>(<tt>Hash</tt>)</span>
2760
+
2761
+
2762
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
2763
+
2764
+
2765
+ &mdash;
2766
+ <div class='inline'><p>
2767
+ リクエストのオプション
2768
+ </p>
2769
+ </div>
2770
+
2771
+ </li>
2772
+
2773
+ </ul>
2774
+
2775
+ <h3>Returns:</h3>
2776
+ <ul class="return">
2777
+
2778
+ <li>
2779
+
2780
+
2781
+ <span class='type'>(<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>)</span>
2782
+
2783
+
2784
+
2785
+ &mdash;
2786
+ <div class='inline'><p>
2787
+ リクエストの結果
2788
+ </p>
2789
+ </div>
2790
+
2791
+ </li>
2792
+
2793
+ </ul>
2794
+
2795
+ </div><table class="source_code">
2796
+ <tr>
2797
+ <td>
2798
+ <pre class="lines">
2799
+
2800
+
2801
+ 292
2802
+ 293
2803
+ 294
2804
+ 295</pre>
2805
+ </td>
2806
+ <td>
2807
+ <pre class="code"><span class="info file"># File 'lib/mushikago/hotaru/client.rb', line 292</span>
2808
+
2809
+ <span class='kw'>def</span> <span class='id identifier rubyid_tag_delete'>tag_delete</span> <span class='id identifier rubyid_domain_name'>domain_name</span><span class='comma'>,</span> <span class='id identifier rubyid_tag'>tag</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>
2810
+ <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>Hotaru</span><span class='op'>::</span><span class='const'>TagDeleteRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_domain_name'>domain_name</span><span class='comma'>,</span> <span class='id identifier rubyid_tag'>tag</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
2811
+ <span class='id identifier rubyid_send_request'>send_request</span><span class='lparen'>(</span><span class='id identifier rubyid_request'>request</span><span class='rparen'>)</span>
2812
+ <span class='kw'>end</span></pre>
2813
+ </td>
2814
+ </tr>
2815
+ </table>
2816
+ </div>
2817
+
2818
+ <div class="method_details ">
2819
+ <p class="signature " id="tag_list-instance_method">
2820
+
2821
+ - (<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>) <strong>tag_list</strong>(domain_name, options = {})
2822
+
2823
+
2824
+
2825
+ </p><div class="docstring">
2826
+ <div class="discussion">
2827
+ <p>
2828
+ ドメイン内のタグ一覧を取得する
2829
+ </p>
2830
+
2831
+
2832
+ </div>
2833
+ </div>
2834
+ <div class="tags">
2835
+
2836
+ <div class="examples">
2837
+ <h3>Examples:</h3>
2838
+
2839
+ <h4><div class='inline'></div></h4>
2840
+ <pre class="example code"><span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_tag_list'>tag_list</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>sample_domain</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span></pre>
2841
+
2842
+ </div>
2843
+ <h3>Parameters:</h3>
2844
+ <ul class="param">
2845
+
2846
+ <li>
2847
+
2848
+ <span class='name'>domain_name</span>
2849
+
2850
+
2851
+ <span class='type'>(<tt>String</tt>)</span>
2852
+
2853
+
2854
+
2855
+ &mdash;
2856
+ <div class='inline'><p>
2857
+ ドメイン名
2858
+ </p>
2859
+ </div>
2860
+
2861
+ </li>
2862
+
2863
+ <li>
2864
+
2865
+ <span class='name'>options</span>
2866
+
2867
+
2868
+ <span class='type'>(<tt>Hash</tt>)</span>
2869
+
2870
+
2871
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
2872
+
2873
+
2874
+ &mdash;
2875
+ <div class='inline'><p>
2876
+ リクエストのオプション
2877
+ </p>
2878
+ </div>
2879
+
2880
+ </li>
2881
+
2882
+ </ul>
2883
+
2884
+
2885
+
2886
+
2887
+
2888
+
2889
+ <h3>Options Hash (<tt>options</tt>):</h3>
2890
+ <ul class="option">
2891
+
2892
+ <li>
2893
+ <span class="name">:filter</span>
2894
+ <span class="type">(<tt>String</tt>)</span>
2895
+ <span class="default">
2896
+
2897
+ </span>
2898
+
2899
+ </li>
2900
+
2901
+ </ul>
2902
+
2903
+
2904
+ <h3>Returns:</h3>
2905
+ <ul class="return">
2906
+
2907
+ <li>
2908
+
2909
+
2910
+ <span class='type'>(<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>)</span>
2911
+
2912
+
2913
+
2914
+ &mdash;
2915
+ <div class='inline'><p>
2916
+ リクエストの結果
2917
+ </p>
2918
+ </div>
2919
+
2920
+ </li>
2921
+
2922
+ </ul>
2923
+
2924
+ </div><table class="source_code">
2925
+ <tr>
2926
+ <td>
2927
+ <pre class="lines">
2928
+
2929
+
2930
+ 305
2931
+ 306
2932
+ 307
2933
+ 308</pre>
2934
+ </td>
2935
+ <td>
2936
+ <pre class="code"><span class="info file"># File 'lib/mushikago/hotaru/client.rb', line 305</span>
2937
+
2938
+ <span class='kw'>def</span> <span class='id identifier rubyid_tag_list'>tag_list</span> <span class='id identifier rubyid_domain_name'>domain_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>
2939
+ <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>Hotaru</span><span class='op'>::</span><span class='const'>TagListRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_domain_name'>domain_name</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
2940
+ <span class='id identifier rubyid_send_request'>send_request</span><span class='lparen'>(</span><span class='id identifier rubyid_request'>request</span><span class='rparen'>)</span>
2941
+ <span class='kw'>end</span></pre>
2942
+ </td>
2943
+ </tr>
2944
+ </table>
2945
+ </div>
2946
+
2947
+ <div class="method_details ">
2948
+ <p class="signature " id="tag_put-instance_method">
2949
+
2950
+ - (<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>) <strong>tag_put</strong>(domain_name, tag, options = {})
2951
+
2952
+
2953
+
2954
+ </p><div class="docstring">
2955
+ <div class="discussion">
2956
+ <p>
2957
+ ドメインにタグを登録する
2958
+ </p>
2959
+
2960
+
2961
+ </div>
2962
+ </div>
2963
+ <div class="tags">
2964
+
2965
+ <div class="examples">
2966
+ <h3>Examples:</h3>
2967
+
2968
+ <h4><div class='inline'></div></h4>
2969
+ <pre class="example code"><span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_tag_put'>tag_put</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>sample_domain</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>tag1</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span></pre>
2970
+
2971
+ </div>
2972
+ <h3>Parameters:</h3>
2973
+ <ul class="param">
2974
+
2975
+ <li>
2976
+
2977
+ <span class='name'>domain_name</span>
2978
+
2979
+
2980
+ <span class='type'>(<tt>String</tt>)</span>
2981
+
2982
+
2983
+
2984
+ &mdash;
2985
+ <div class='inline'><p>
2986
+ ドメイン名
2987
+ </p>
2988
+ </div>
2989
+
2990
+ </li>
2991
+
2992
+ <li>
2993
+
2994
+ <span class='name'>tag</span>
2995
+
2996
+
2997
+ <span class='type'>(<tt>String</tt>)</span>
2998
+
2999
+
3000
+
3001
+ &mdash;
3002
+ <div class='inline'><p>
3003
+ タグ
3004
+ </p>
3005
+ </div>
3006
+
3007
+ </li>
3008
+
3009
+ <li>
3010
+
3011
+ <span class='name'>options</span>
3012
+
3013
+
3014
+ <span class='type'>(<tt>Hash</tt>)</span>
3015
+
3016
+
3017
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
3018
+
3019
+
3020
+ &mdash;
3021
+ <div class='inline'><p>
3022
+ リクエストのオプション
3023
+ </p>
3024
+ </div>
3025
+
3026
+ </li>
3027
+
3028
+ </ul>
3029
+
3030
+ <h3>Returns:</h3>
3031
+ <ul class="return">
3032
+
3033
+ <li>
3034
+
3035
+
3036
+ <span class='type'>(<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>)</span>
3037
+
3038
+
3039
+
3040
+ &mdash;
3041
+ <div class='inline'><p>
3042
+ リクエストの結果
3043
+ </p>
3044
+ </div>
3045
+
3046
+ </li>
3047
+
3048
+ </ul>
3049
+
3050
+ </div><table class="source_code">
3051
+ <tr>
3052
+ <td>
3053
+ <pre class="lines">
3054
+
3055
+
3056
+ 279
3057
+ 280
3058
+ 281
3059
+ 282</pre>
3060
+ </td>
3061
+ <td>
3062
+ <pre class="code"><span class="info file"># File 'lib/mushikago/hotaru/client.rb', line 279</span>
3063
+
3064
+ <span class='kw'>def</span> <span class='id identifier rubyid_tag_put'>tag_put</span> <span class='id identifier rubyid_domain_name'>domain_name</span><span class='comma'>,</span> <span class='id identifier rubyid_tag'>tag</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>
3065
+ <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>Hotaru</span><span class='op'>::</span><span class='const'>TagPutRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_domain_name'>domain_name</span><span class='comma'>,</span> <span class='id identifier rubyid_tag'>tag</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
3066
+ <span class='id identifier rubyid_send_request'>send_request</span><span class='lparen'>(</span><span class='id identifier rubyid_request'>request</span><span class='rparen'>)</span>
3067
+ <span class='kw'>end</span></pre>
3068
+ </td>
3069
+ </tr>
3070
+ </table>
3071
+ </div>
3072
+
3073
+ <div class="method_details ">
3074
+ <p class="signature " id="text_delete-instance_method">
3075
+
3076
+ - (<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>) <strong>text_delete</strong>(domain_name, text_id, options = {})
3077
+
3078
+
3079
+
3080
+ </p><div class="docstring">
3081
+ <div class="discussion">
3082
+ <p>
3083
+ テキストを削除する
3084
+ </p>
3085
+
3086
+
3087
+ </div>
3088
+ </div>
3089
+ <div class="tags">
3090
+
3091
+ <div class="examples">
3092
+ <h3>Examples:</h3>
3093
+
3094
+ <h4><div class='inline'></div></h4>
3095
+ <pre class="example code"><span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_text_delete'>text_delete</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>sample_domain</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>text_id</span><span class='tstring_end'>'</span></span></pre>
3096
+
3097
+ </div>
3098
+ <h3>Parameters:</h3>
3099
+ <ul class="param">
3100
+
3101
+ <li>
3102
+
3103
+ <span class='name'>domain_name</span>
3104
+
3105
+
3106
+ <span class='type'>(<tt>String</tt>)</span>
3107
+
3108
+
3109
+
3110
+ &mdash;
3111
+ <div class='inline'><p>
3112
+ ドメイン名
3113
+ </p>
3114
+ </div>
3115
+
3116
+ </li>
3117
+
3118
+ <li>
3119
+
3120
+ <span class='name'>text_id</span>
3121
+
3122
+
3123
+ <span class='type'>(<tt>String</tt>)</span>
3124
+
3125
+
3126
+
3127
+ &mdash;
3128
+ <div class='inline'><p>
3129
+ テキストID
3130
+ </p>
3131
+ </div>
3132
+
3133
+ </li>
3134
+
3135
+ <li>
3136
+
3137
+ <span class='name'>options</span>
3138
+
3139
+
3140
+ <span class='type'>(<tt>Hash</tt>)</span>
3141
+
3142
+
3143
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
3144
+
3145
+
3146
+ &mdash;
3147
+ <div class='inline'><p>
3148
+ リクエストのオプション
3149
+ </p>
3150
+ </div>
3151
+
3152
+ </li>
3153
+
3154
+ </ul>
3155
+
3156
+
3157
+
3158
+
3159
+
3160
+
3161
+
3162
+
3163
+ <h3>Options Hash (<tt>options</tt>):</h3>
3164
+ <ul class="option">
3165
+
3166
+ <li>
3167
+ <span class="name">:forcedelete</span>
3168
+ <span class="type">(<tt>String</tt>)</span>
3169
+ <span class="default">
3170
+
3171
+ </span>
3172
+ &mdash; <div class='inline'><p>
3173
+ textを強制的に削除する場合true
3174
+ </p>
3175
+ </div>
3176
+ </li>
3177
+
3178
+ </ul>
3179
+
3180
+
3181
+ <h3>Returns:</h3>
3182
+ <ul class="return">
3183
+
3184
+ <li>
3185
+
3186
+
3187
+ <span class='type'>(<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>)</span>
3188
+
3189
+
3190
+
3191
+ &mdash;
3192
+ <div class='inline'><p>
3193
+ リクエストの結果
3194
+ </p>
3195
+ </div>
3196
+
3197
+ </li>
3198
+
3199
+ </ul>
3200
+
3201
+ </div><table class="source_code">
3202
+ <tr>
3203
+ <td>
3204
+ <pre class="lines">
3205
+
3206
+
3207
+ 99
3208
+ 100
3209
+ 101
3210
+ 102</pre>
3211
+ </td>
3212
+ <td>
3213
+ <pre class="code"><span class="info file"># File 'lib/mushikago/hotaru/client.rb', line 99</span>
3214
+
3215
+ <span class='kw'>def</span> <span class='id identifier rubyid_text_delete'>text_delete</span> <span class='id identifier rubyid_domain_name'>domain_name</span><span class='comma'>,</span> <span class='id identifier rubyid_text_id'>text_id</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>
3216
+ <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>Hotaru</span><span class='op'>::</span><span class='const'>TextDeleteRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_domain_name'>domain_name</span><span class='comma'>,</span> <span class='id identifier rubyid_text_id'>text_id</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
3217
+ <span class='id identifier rubyid_send_request'>send_request</span><span class='lparen'>(</span><span class='id identifier rubyid_request'>request</span><span class='rparen'>)</span>
3218
+ <span class='kw'>end</span></pre>
3219
+ </td>
3220
+ </tr>
3221
+ </table>
3222
+ </div>
3223
+
3224
+ <div class="method_details ">
3225
+ <p class="signature " id="text_get-instance_method">
3226
+
3227
+ - (<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>) <strong>text_get</strong>(domain_name, text_id, options = {})
3228
+
3229
+
3230
+
3231
+ </p><div class="docstring">
3232
+ <div class="discussion">
3233
+ <p>
3234
+ テキストを取得する
3235
+ </p>
3236
+
3237
+
3238
+ </div>
3239
+ </div>
3240
+ <div class="tags">
3241
+
3242
+ <div class="examples">
3243
+ <h3>Examples:</h3>
3244
+
3245
+ <h4><div class='inline'></div></h4>
3246
+ <pre class="example code"><span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_text_get'>text_get</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>sample_domain</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>text_id</span><span class='tstring_end'>'</span></span></pre>
3247
+
3248
+ </div>
3249
+ <h3>Parameters:</h3>
3250
+ <ul class="param">
3251
+
3252
+ <li>
3253
+
3254
+ <span class='name'>domain_name</span>
3255
+
3256
+
3257
+ <span class='type'>(<tt>String</tt>)</span>
3258
+
3259
+
3260
+
3261
+ &mdash;
3262
+ <div class='inline'><p>
3263
+ ドメイン名
3264
+ </p>
3265
+ </div>
3266
+
3267
+ </li>
3268
+
3269
+ <li>
3270
+
3271
+ <span class='name'>text_id</span>
3272
+
3273
+
3274
+ <span class='type'>(<tt>String</tt>)</span>
3275
+
3276
+
3277
+
3278
+ &mdash;
3279
+ <div class='inline'><p>
3280
+ テキストID
3281
+ </p>
3282
+ </div>
3283
+
3284
+ </li>
3285
+
3286
+ <li>
3287
+
3288
+ <span class='name'>options</span>
3289
+
3290
+
3291
+ <span class='type'>(<tt>Hash</tt>)</span>
3292
+
3293
+
3294
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
3295
+
3296
+
3297
+ &mdash;
3298
+ <div class='inline'><p>
3299
+ リクエストのオプション
3300
+ </p>
3301
+ </div>
3302
+
3303
+ </li>
3304
+
3305
+ </ul>
3306
+
3307
+
3308
+
3309
+
3310
+
3311
+
3312
+
3313
+
3314
+ <h3>Options Hash (<tt>options</tt>):</h3>
3315
+ <ul class="option">
3316
+
3317
+ <li>
3318
+ <span class="name">:with_body</span>
3319
+ <span class="type">(<tt>Boolean</tt>)</span>
3320
+ <span class="default">
3321
+
3322
+ </span>
3323
+ &mdash; <div class='inline'><p>
3324
+ trueを指定すると、response[&#8216;body&#8217;]でファイルの内容にアクセスすることができるようになります。
3325
+ </p>
3326
+ </div>
3327
+ </li>
3328
+
252
3329
  </ul>
253
3330
 
254
3331
 
3332
+ <h3>Returns:</h3>
3333
+ <ul class="return">
3334
+
3335
+ <li>
3336
+
3337
+
3338
+ <span class='type'>(<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>)</span>
3339
+
3340
+
3341
+
3342
+ &mdash;
3343
+ <div class='inline'><p>
3344
+ リクエストの結果
3345
+ </p>
3346
+ </div>
3347
+
3348
+ </li>
3349
+
3350
+ </ul>
3351
+
3352
+ </div><table class="source_code">
3353
+ <tr>
3354
+ <td>
3355
+ <pre class="lines">
3356
+
255
3357
 
3358
+ 128
3359
+ 129
3360
+ 130
3361
+ 131
3362
+ 132
3363
+ 133
3364
+ 134
3365
+ 135
3366
+ 136
3367
+ 137
3368
+ 138
3369
+ 139</pre>
3370
+ </td>
3371
+ <td>
3372
+ <pre class="code"><span class="info file"># File 'lib/mushikago/hotaru/client.rb', line 128</span>
3373
+
3374
+ <span class='kw'>def</span> <span class='id identifier rubyid_text_get'>text_get</span> <span class='id identifier rubyid_domain_name'>domain_name</span><span class='comma'>,</span> <span class='id identifier rubyid_text_id'>text_id</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>
3375
+ <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>Hotaru</span><span class='op'>::</span><span class='const'>TextGetRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_domain_name'>domain_name</span><span class='comma'>,</span> <span class='id identifier rubyid_text_id'>text_id</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
3376
+ <span class='id identifier rubyid_result'>result</span> <span class='op'>=</span> <span class='id identifier rubyid_send_request'>send_request</span><span class='lparen'>(</span><span class='id identifier rubyid_request'>request</span><span class='rparen'>)</span>
3377
+ <span class='kw'>if</span> <span class='id identifier rubyid_options'>options</span><span class='lbracket'>[</span><span class='symbol'>:with_body</span><span class='rbracket'>]</span>
3378
+ <span class='kw'>begin</span>
3379
+ <span class='id identifier rubyid_uri'>uri</span> <span class='op'>=</span> <span class='const'>URI</span><span class='period'>.</span><span class='id identifier rubyid_parse'>parse</span><span class='lparen'>(</span><span class='id identifier rubyid_result'>result</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>url</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='rparen'>)</span>
3380
+ <span class='id identifier rubyid_result'>result</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> <span class='op'>=</span> <span class='const'>Net</span><span class='op'>::</span><span class='const'>HTTP</span><span class='period'>.</span><span class='id identifier rubyid_get'>get</span><span class='lparen'>(</span><span class='id identifier rubyid_uri'>uri</span><span class='period'>.</span><span class='id identifier rubyid_host'>host</span><span class='comma'>,</span> <span class='id identifier rubyid_uri'>uri</span><span class='period'>.</span><span class='id identifier rubyid_request_uri'>request_uri</span><span class='rparen'>)</span>
3381
+ <span class='kw'>rescue</span>
3382
+ <span class='kw'>end</span>
3383
+ <span class='kw'>end</span>
3384
+ <span class='kw'>return</span> <span class='id identifier rubyid_result'>result</span>
3385
+ <span class='kw'>end</span></pre>
3386
+ </td>
3387
+ </tr>
3388
+ </table>
3389
+ </div>
3390
+
3391
+ <div class="method_details ">
3392
+ <p class="signature " id="text_list-instance_method">
256
3393
 
3394
+ - (<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>) <strong>text_list</strong>(domain_name, options = {})
257
3395
 
3396
+
258
3397
 
3398
+ </p><div class="docstring">
3399
+ <div class="discussion">
3400
+ <p>
3401
+ テキスト一覧を取得する
3402
+ </p>
3403
+
3404
+
3405
+ </div>
3406
+ </div>
3407
+ <div class="tags">
259
3408
 
3409
+ <div class="examples">
3410
+ <h3>Examples:</h3>
3411
+
3412
+ <h4><div class='inline'></div></h4>
3413
+ <pre class="example code"><span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_text_list'>text_list</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>sample_domain</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span></pre>
3414
+
3415
+ </div>
3416
+ <h3>Parameters:</h3>
3417
+ <ul class="param">
260
3418
 
3419
+ <li>
3420
+
3421
+ <span class='name'>domain_name</span>
3422
+
3423
+
3424
+ <span class='type'>(<tt>String</tt>)</span>
3425
+
3426
+
3427
+
3428
+ &mdash;
3429
+ <div class='inline'><p>
3430
+ ドメイン名
3431
+ </p>
3432
+ </div>
3433
+
3434
+ </li>
261
3435
 
3436
+ <li>
3437
+
3438
+ <span class='name'>options</span>
3439
+
3440
+
3441
+ <span class='type'>(<tt>Hash</tt>)</span>
3442
+
3443
+
3444
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
3445
+
3446
+
3447
+ &mdash;
3448
+ <div class='inline'><p>
3449
+ リクエストのオプション
3450
+ </p>
3451
+ </div>
3452
+
3453
+ </li>
262
3454
 
263
- <h3 class="inherited">Methods inherited from <span class='object_link'><a href="../Http/Client.html" title="Mushikago::Http::Client (class)">Mushikago::Http::Client</a></span></h3>
264
- <p class="inherited"><span class='object_link'><a href="../Http/Client.html#initialize-instance_method" title="Mushikago::Http::Client#initialize (method)">#initialize</a></span>, <span class='object_link'><a href="../Http/Client.html#send_request-instance_method" title="Mushikago::Http::Client#send_request (method)">#send_request</a></span></p>
265
- <div id="constructor_details" class="method_details_list">
266
- <h2>Constructor Details</h2>
3455
+ </ul>
3456
+
267
3457
 
268
- <p class="notice">This class inherits a constructor from <span class='object_link'><a href="../Http/Client.html#initialize-instance_method" title="Mushikago::Http::Client#initialize (method)">Mushikago::Http::Client</a></span></p>
3458
+
3459
+
3460
+
3461
+
3462
+ <h3>Options Hash (<tt>options</tt>):</h3>
3463
+ <ul class="option">
3464
+
3465
+ <li>
3466
+ <span class="name">:limit</span>
3467
+ <span class="type">(<tt>Integer</tt>)</span>
3468
+ <span class="default">
3469
+
3470
+ </span>
3471
+
3472
+ </li>
3473
+
3474
+ <li>
3475
+ <span class="name">:offset</span>
3476
+ <span class="type">(<tt>Integer</tt>)</span>
3477
+ <span class="default">
3478
+
3479
+ </span>
3480
+
3481
+ </li>
3482
+
3483
+ <li>
3484
+ <span class="name">:filter</span>
3485
+ <span class="type">(<tt>String</tt>)</span>
3486
+ <span class="default">
3487
+
3488
+ </span>
3489
+
3490
+ </li>
3491
+
3492
+ <li>
3493
+ <span class="name">:tags</span>
3494
+ <span class="type">(<tt>String</tt>, <tt>Array</tt>)</span>
3495
+ <span class="default">
3496
+
3497
+ </span>
3498
+
3499
+ </li>
3500
+
3501
+ <li>
3502
+ <span class="name">:status</span>
3503
+ <span class="type">(<tt>String</tt>)</span>
3504
+ <span class="default">
3505
+
3506
+ </span>
3507
+
3508
+ </li>
3509
+
3510
+ </ul>
3511
+
3512
+
3513
+ <h3>Returns:</h3>
3514
+ <ul class="return">
269
3515
 
3516
+ <li>
3517
+
3518
+
3519
+ <span class='type'>(<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>)</span>
3520
+
3521
+
3522
+
3523
+ &mdash;
3524
+ <div class='inline'><p>
3525
+ リクエストの結果
3526
+ </p>
270
3527
  </div>
3528
+
3529
+ </li>
3530
+
3531
+ </ul>
3532
+
3533
+ </div><table class="source_code">
3534
+ <tr>
3535
+ <td>
3536
+ <pre class="lines">
271
3537
 
272
3538
 
273
- <div id="instance_method_details" class="method_details_list">
274
- <h2>Instance Method Details</h2>
275
-
3539
+ 153
3540
+ 154
3541
+ 155
3542
+ 156</pre>
3543
+ </td>
3544
+ <td>
3545
+ <pre class="code"><span class="info file"># File 'lib/mushikago/hotaru/client.rb', line 153</span>
3546
+
3547
+ <span class='kw'>def</span> <span class='id identifier rubyid_text_list'>text_list</span> <span class='id identifier rubyid_domain_name'>domain_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>
3548
+ <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>Hotaru</span><span class='op'>::</span><span class='const'>TextListRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_domain_name'>domain_name</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
3549
+ <span class='id identifier rubyid_send_request'>send_request</span><span class='lparen'>(</span><span class='id identifier rubyid_request'>request</span><span class='rparen'>)</span>
3550
+ <span class='kw'>end</span></pre>
3551
+ </td>
3552
+ </tr>
3553
+ </table>
3554
+ </div>
276
3555
 
277
- <div class="method_details first">
278
- <p class="signature first" id="capture-instance_method">
3556
+ <div class="method_details ">
3557
+ <p class="signature " id="text_put-instance_method">
279
3558
 
280
- - (<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>) <strong>capture</strong>(url, options = {})
3559
+ - (<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>) <strong>text_put</strong>(domain_name, text, tags, options = {})
281
3560
 
282
3561
 
283
3562
 
284
3563
  </p><div class="docstring">
285
3564
  <div class="discussion">
286
3565
  <p>
287
- 指定したURLのキャプチャを取得する
3566
+ テキストを登録する
288
3567
  </p>
289
3568
 
290
3569
 
@@ -296,7 +3575,7 @@ APIの使用状況を取得する.
296
3575
  <h3>Examples:</h3>
297
3576
 
298
3577
  <h4><div class='inline'></div></h4>
299
- <pre class="example code"><span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_capture'>capture</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>http://www.hotaru.ne.jp/</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='symbol'>:thumbnail</span> <span class='op'>=&gt;</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='symbol'>:tags</span> <span class='op'>=&gt;</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>hotaru</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>webservice</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='rparen'>)</span></pre>
3578
+ <pre class="example code"><span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_text_put'>text_put</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>sample_domain</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>吾輩は猫である。名前はまだない。....</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>夏目漱石</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='symbol'>:text_name</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>吾輩は猫である</span><span class='tstring_end'>'</span></span></pre>
300
3579
 
301
3580
  </div>
302
3581
  <h3>Parameters:</h3>
@@ -304,7 +3583,41 @@ APIの使用状況を取得する.
304
3583
 
305
3584
  <li>
306
3585
 
307
- <span class='name'>url</span>
3586
+ <span class='name'>domain_name</span>
3587
+
3588
+
3589
+ <span class='type'>(<tt>String</tt>)</span>
3590
+
3591
+
3592
+
3593
+ &mdash;
3594
+ <div class='inline'><p>
3595
+ ドメイン名
3596
+ </p>
3597
+ </div>
3598
+
3599
+ </li>
3600
+
3601
+ <li>
3602
+
3603
+ <span class='name'>text</span>
3604
+
3605
+
3606
+ <span class='type'>(<tt>String</tt>)</span>
3607
+
3608
+
3609
+
3610
+ &mdash;
3611
+ <div class='inline'><p>
3612
+ テキスト
3613
+ </p>
3614
+ </div>
3615
+
3616
+ </li>
3617
+
3618
+ <li>
3619
+
3620
+ <span class='name'>tags</span>
308
3621
 
309
3622
 
310
3623
  <span class='type'>(<tt>String</tt>)</span>
@@ -313,7 +3626,7 @@ APIの使用状況を取得する.
313
3626
 
314
3627
  &mdash;
315
3628
  <div class='inline'><p>
316
- キャプチャ対象のURL
3629
+ タグ
317
3630
  </p>
318
3631
  </div>
319
3632
 
@@ -345,53 +3658,21 @@ APIの使用状況を取得する.
345
3658
 
346
3659
 
347
3660
 
3661
+
3662
+
3663
+
3664
+
348
3665
  <h3>Options Hash (<tt>options</tt>):</h3>
349
3666
  <ul class="option">
350
3667
 
351
3668
  <li>
352
- <span class="name">:image_format('jpg')</span>
3669
+ <span class="name">:text_name</span>
353
3670
  <span class="type">(<tt>String</tt>)</span>
354
3671
  <span class="default">
355
3672
 
356
3673
  </span>
357
3674
  &mdash; <div class='inline'><p>
358
- 画像のフォーマット(jpg,png)
359
- </p>
360
- </div>
361
- </li>
362
-
363
- <li>
364
- <span class="name">:image_quality(80)</span>
365
- <span class="type">(<tt>Integer</tt>)</span>
366
- <span class="default">
367
-
368
- </span>
369
- &mdash; <div class='inline'><p>
370
- 画像の品質(0-100)
371
- </p>
372
- </div>
373
- </li>
374
-
375
- <li>
376
- <span class="name">:thumbnail(0)</span>
377
- <span class="type">(<tt>Boolean</tt>)</span>
378
- <span class="default">
379
-
380
- </span>
381
- &mdash; <div class='inline'><p>
382
- サムネイル取得フラグ(false:取得しない,true:取得する)
383
- </p>
384
- </div>
385
- </li>
386
-
387
- <li>
388
- <span class="name">:tags</span>
389
- <span class="type">(<tt>String</tt>, <tt>Array</tt>)</span>
390
- <span class="default">
391
-
392
- </span>
393
- &mdash; <div class='inline'><p>
394
- タグ
3675
+ テキストにつける名前
395
3676
  </p>
396
3677
  </div>
397
3678
  </li>
@@ -425,16 +3706,16 @@ APIの使用状況を取得する.
425
3706
  <pre class="lines">
426
3707
 
427
3708
 
428
- 31
429
- 32
430
- 33
431
- 34</pre>
3709
+ 85
3710
+ 86
3711
+ 87
3712
+ 88</pre>
432
3713
  </td>
433
3714
  <td>
434
- <pre class="code"><span class="info file"># File 'lib/mushikago/hotaru/client.rb', line 31</span>
3715
+ <pre class="code"><span class="info file"># File 'lib/mushikago/hotaru/client.rb', line 85</span>
435
3716
 
436
- <span class='kw'>def</span> <span class='id identifier rubyid_capture'>capture</span> <span class='id identifier rubyid_url'>url</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='op'>=</span><span class='lbrace'>{</span><span class='rbrace'>}</span>
437
- <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>CaptureRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_url'>url</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
3717
+ <span class='kw'>def</span> <span class='id identifier rubyid_text_put'>text_put</span> <span class='id identifier rubyid_domain_name'>domain_name</span><span class='comma'>,</span> <span class='id identifier rubyid_text'>text</span><span class='comma'>,</span> <span class='id identifier rubyid_tags'>tags</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>
3718
+ <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>Hotaru</span><span class='op'>::</span><span class='const'>TextPutRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_domain_name'>domain_name</span><span class='comma'>,</span> <span class='id identifier rubyid_text'>text</span><span class='comma'>,</span> <span class='id identifier rubyid_tags'>tags</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
438
3719
  <span class='id identifier rubyid_send_request'>send_request</span><span class='lparen'>(</span><span class='id identifier rubyid_request'>request</span><span class='rparen'>)</span>
439
3720
  <span class='kw'>end</span></pre>
440
3721
  </td>
@@ -443,16 +3724,16 @@ APIの使用状況を取得する.
443
3724
  </div>
444
3725
 
445
3726
  <div class="method_details ">
446
- <p class="signature " id="captures-instance_method">
3727
+ <p class="signature " id="text_tagset-instance_method">
447
3728
 
448
- - (<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>) <strong>captures</strong>(options = {})
3729
+ - (<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>) <strong>text_tagset</strong>(domain_name, text_id, tags, options = {})
449
3730
 
450
3731
 
451
3732
 
452
3733
  </p><div class="docstring">
453
3734
  <div class="discussion">
454
3735
  <p>
455
- いままでキャプチャした画像の情報を取得する
3736
+ テキストにヒモ付たタグの追加更新
456
3737
  </p>
457
3738
 
458
3739
 
@@ -464,12 +3745,63 @@ APIの使用状況を取得する.
464
3745
  <h3>Examples:</h3>
465
3746
 
466
3747
  <h4><div class='inline'></div></h4>
467
- <pre class="example code"><span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_captures'>captures</span><span class='lparen'>(</span><span class='symbol'>:tag</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>webservice</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span></pre>
3748
+ <pre class="example code"><span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_text_tagset'>text_tagset</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>sample_domain</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>text_id</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>hoge</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span></pre>
468
3749
 
469
3750
  </div>
470
3751
  <h3>Parameters:</h3>
471
3752
  <ul class="param">
472
3753
 
3754
+ <li>
3755
+
3756
+ <span class='name'>domain_name</span>
3757
+
3758
+
3759
+ <span class='type'>(<tt>String</tt>)</span>
3760
+
3761
+
3762
+
3763
+ &mdash;
3764
+ <div class='inline'><p>
3765
+ ドメイン名
3766
+ </p>
3767
+ </div>
3768
+
3769
+ </li>
3770
+
3771
+ <li>
3772
+
3773
+ <span class='name'>text_id</span>
3774
+
3775
+
3776
+ <span class='type'>(<tt>String</tt>)</span>
3777
+
3778
+
3779
+
3780
+ &mdash;
3781
+ <div class='inline'><p>
3782
+ テキストID
3783
+ </p>
3784
+ </div>
3785
+
3786
+ </li>
3787
+
3788
+ <li>
3789
+
3790
+ <span class='name'>tags</span>
3791
+
3792
+
3793
+ <span class='type'>(<tt>String</tt>, <tt>Array</tt>)</span>
3794
+
3795
+
3796
+
3797
+ &mdash;
3798
+ <div class='inline'><p>
3799
+ タグ
3800
+ </p>
3801
+ </div>
3802
+
3803
+ </li>
3804
+
473
3805
  <li>
474
3806
 
475
3807
  <span class='name'>options</span>
@@ -494,65 +3826,23 @@ APIの使用状況を取得する.
494
3826
 
495
3827
 
496
3828
 
3829
+
3830
+
3831
+
3832
+
3833
+
3834
+
497
3835
  <h3>Options Hash (<tt>options</tt>):</h3>
498
3836
  <ul class="option">
499
3837
 
500
3838
  <li>
501
- <span class="name">:id</span>
502
- <span class="type">(<tt>String</tt>)</span>
503
- <span class="default">
504
-
505
- </span>
506
- &mdash; <div class='inline'><p>
507
- 画像のID
508
- </p>
509
- </div>
510
- </li>
511
-
512
- <li>
513
- <span class="name">:domain</span>
514
- <span class="type">(<tt>String</tt>)</span>
515
- <span class="default">
516
-
517
- </span>
518
- &mdash; <div class='inline'><p>
519
- 指定したドメインの画像一覧を取得する
520
- </p>
521
- </div>
522
- </li>
523
-
524
- <li>
525
- <span class="name">:tag</span>
3839
+ <span class="name">:replace</span>
526
3840
  <span class="type">(<tt>String</tt>)</span>
527
3841
  <span class="default">
528
3842
 
529
3843
  </span>
530
3844
  &mdash; <div class='inline'><p>
531
- 指定したタグの画像一覧を取得する
532
- </p>
533
- </div>
534
- </li>
535
-
536
- <li>
537
- <span class="name">:limit(10)</span>
538
- <span class="type">(<tt>Integer</tt>)</span>
539
- <span class="default">
540
-
541
- </span>
542
- &mdash; <div class='inline'><p>
543
- 最大取得件数(1-100)
544
- </p>
545
- </div>
546
- </li>
547
-
548
- <li>
549
- <span class="name">:offset(0)</span>
550
- <span class="type">(<tt>Integer</tt>)</span>
551
- <span class="default">
552
-
553
- </span>
554
- &mdash; <div class='inline'><p>
555
- 取得オフセット
3845
+ tagを追加する場合false, 入れ替える場合true
556
3846
  </p>
557
3847
  </div>
558
3848
  </li>
@@ -586,16 +3876,16 @@ APIの使用状況を取得する.
586
3876
  <pre class="lines">
587
3877
 
588
3878
 
589
- 47
590
- 48
591
- 49
592
- 50</pre>
3879
+ 114
3880
+ 115
3881
+ 116
3882
+ 117</pre>
593
3883
  </td>
594
3884
  <td>
595
- <pre class="code"><span class="info file"># File 'lib/mushikago/hotaru/client.rb', line 47</span>
3885
+ <pre class="code"><span class="info file"># File 'lib/mushikago/hotaru/client.rb', line 114</span>
596
3886
 
597
- <span class='kw'>def</span> <span class='id identifier rubyid_captures'>captures</span> <span class='id identifier rubyid_options'>options</span><span class='op'>=</span><span class='lbrace'>{</span><span class='rbrace'>}</span>
598
- <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>CapturesRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
3887
+ <span class='kw'>def</span> <span class='id identifier rubyid_text_tagset'>text_tagset</span> <span class='id identifier rubyid_domain_name'>domain_name</span><span class='comma'>,</span> <span class='id identifier rubyid_text_id'>text_id</span><span class='comma'>,</span> <span class='id identifier rubyid_tags'>tags</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>
3888
+ <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>Hotaru</span><span class='op'>::</span><span class='const'>TextTagsetRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_domain_name'>domain_name</span><span class='comma'>,</span> <span class='id identifier rubyid_text_id'>text_id</span><span class='comma'>,</span> <span class='id identifier rubyid_tags'>tags</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
599
3889
  <span class='id identifier rubyid_send_request'>send_request</span><span class='lparen'>(</span><span class='id identifier rubyid_request'>request</span><span class='rparen'>)</span>
600
3890
  <span class='kw'>end</span></pre>
601
3891
  </td>
@@ -604,16 +3894,16 @@ APIの使用状況を取得する.
604
3894
  </div>
605
3895
 
606
3896
  <div class="method_details ">
607
- <p class="signature " id="delete-instance_method">
3897
+ <p class="signature " id="word_get-instance_method">
608
3898
 
609
- - (<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>) <strong>delete</strong>(id, options = {})
3899
+ - (<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>) <strong>word_get</strong>(domain_name, word, options = {})
610
3900
 
611
3901
 
612
3902
 
613
3903
  </p><div class="docstring">
614
3904
  <div class="discussion">
615
3905
  <p>
616
- 指定した画像を削除する
3906
+ 指定した単語の詳細な情報を返す
617
3907
  </p>
618
3908
 
619
3909
 
@@ -625,7 +3915,7 @@ APIの使用状況を取得する.
625
3915
  <h3>Examples:</h3>
626
3916
 
627
3917
  <h4><div class='inline'></div></h4>
628
- <pre class="example code"><span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_delete'>delete</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>5a6cdfa3-xxx3-47d6-8xxx-5f83af6b66cc</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span></pre>
3918
+ <pre class="example code"><span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_word_get'>word_get</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>sample_domain</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>我輩</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span></pre>
629
3919
 
630
3920
  </div>
631
3921
  <h3>Parameters:</h3>
@@ -633,7 +3923,7 @@ APIの使用状況を取得する.
633
3923
 
634
3924
  <li>
635
3925
 
636
- <span class='name'>id</span>
3926
+ <span class='name'>domain_name</span>
637
3927
 
638
3928
 
639
3929
  <span class='type'>(<tt>String</tt>)</span>
@@ -642,10 +3932,21 @@ APIの使用状況を取得する.
642
3932
 
643
3933
  &mdash;
644
3934
  <div class='inline'><p>
645
- 画像のID
3935
+ ドメイン名
646
3936
  </p>
647
3937
  </div>
648
3938
 
3939
+ </li>
3940
+
3941
+ <li>
3942
+
3943
+ <span class='name'>word</span>
3944
+
3945
+
3946
+ <span class='type'>(<tt>String</tt>)</span>
3947
+
3948
+
3949
+
649
3950
  </li>
650
3951
 
651
3952
  <li>
@@ -695,16 +3996,16 @@ APIの使用状況を取得する.
695
3996
  <pre class="lines">
696
3997
 
697
3998
 
698
- 59
699
- 60
700
- 61
701
- 62</pre>
3999
+ 333
4000
+ 334
4001
+ 335
4002
+ 336</pre>
702
4003
  </td>
703
4004
  <td>
704
- <pre class="code"><span class="info file"># File 'lib/mushikago/hotaru/client.rb', line 59</span>
4005
+ <pre class="code"><span class="info file"># File 'lib/mushikago/hotaru/client.rb', line 333</span>
705
4006
 
706
- <span class='kw'>def</span> <span class='id identifier rubyid_delete'>delete</span> <span class='id identifier rubyid_id'>id</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>
707
- <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>DeleteRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_id'>id</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
4007
+ <span class='kw'>def</span> <span class='id identifier rubyid_word_get'>word_get</span> <span class='id identifier rubyid_domain_name'>domain_name</span><span class='comma'>,</span> <span class='id identifier rubyid_word'>word</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>
4008
+ <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>Hotaru</span><span class='op'>::</span><span class='const'>WordGetRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_domain_name'>domain_name</span><span class='comma'>,</span> <span class='id identifier rubyid_word'>word</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
708
4009
  <span class='id identifier rubyid_send_request'>send_request</span><span class='lparen'>(</span><span class='id identifier rubyid_request'>request</span><span class='rparen'>)</span>
709
4010
  <span class='kw'>end</span></pre>
710
4011
  </td>
@@ -713,16 +4014,16 @@ APIの使用状況を取得する.
713
4014
  </div>
714
4015
 
715
4016
  <div class="method_details ">
716
- <p class="signature " id="info-instance_method">
4017
+ <p class="signature " id="word_list-instance_method">
717
4018
 
718
- - (<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>) <strong>info</strong>(options = {})
4019
+ - (<tt><span class='object_link'><a href="../Http/Response.html" title="Mushikago::Http::Response (class)">Mushikago::Http::Response</a></span></tt>) <strong>word_list</strong>(domain_name, options = {})
719
4020
 
720
4021
 
721
4022
 
722
4023
  </p><div class="docstring">
723
4024
  <div class="discussion">
724
4025
  <p>
725
- APIの使用状況を取得する
4026
+ 単語の一覧を取得する
726
4027
  </p>
727
4028
 
728
4029
 
@@ -734,7 +4035,7 @@ APIの使用状況を取得する
734
4035
  <h3>Examples:</h3>
735
4036
 
736
4037
  <h4><div class='inline'></div></h4>
737
- <pre class="example code"><span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_info'>info</span></pre>
4038
+ <pre class="example code"><span class='id identifier rubyid_client'>client</span><span class='period'>.</span><span class='id identifier rubyid_word_list'>word_list</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>sample_domain</span><span class='tstring_end'>'</span></span></pre>
738
4039
 
739
4040
  </div>
740
4041
  <h3>Parameters:</h3>
@@ -755,12 +4056,67 @@ APIの使用状況を取得する
755
4056
  <div class='inline'><p>
756
4057
  リクエストのオプション
757
4058
  </p>
4059
+ </div>
4060
+
4061
+ </li>
4062
+
4063
+ <li>
4064
+
4065
+ <span class='name'>domain_name</span>
4066
+
4067
+
4068
+ <span class='type'>(<tt>String</tt>)</span>
4069
+
4070
+
4071
+
4072
+ &mdash;
4073
+ <div class='inline'><p>
4074
+ ドメイン名
4075
+ </p>
758
4076
  </div>
759
4077
 
760
4078
  </li>
761
4079
 
762
4080
  </ul>
763
4081
 
4082
+
4083
+
4084
+
4085
+
4086
+
4087
+ <h3>Options Hash (<tt>options</tt>):</h3>
4088
+ <ul class="option">
4089
+
4090
+ <li>
4091
+ <span class="name">:limit</span>
4092
+ <span class="type">(<tt>Integer</tt>)</span>
4093
+ <span class="default">
4094
+
4095
+ </span>
4096
+
4097
+ </li>
4098
+
4099
+ <li>
4100
+ <span class="name">:offset</span>
4101
+ <span class="type">(<tt>Integer</tt>)</span>
4102
+ <span class="default">
4103
+
4104
+ </span>
4105
+
4106
+ </li>
4107
+
4108
+ <li>
4109
+ <span class="name">:filter</span>
4110
+ <span class="type">(<tt>String</tt>)</span>
4111
+ <span class="default">
4112
+
4113
+ </span>
4114
+
4115
+ </li>
4116
+
4117
+ </ul>
4118
+
4119
+
764
4120
  <h3>Returns:</h3>
765
4121
  <ul class="return">
766
4122
 
@@ -787,16 +4143,16 @@ APIの使用状況を取得する
787
4143
  <pre class="lines">
788
4144
 
789
4145
 
790
- 70
791
- 71
792
- 72
793
- 73</pre>
4146
+ 320
4147
+ 321
4148
+ 322
4149
+ 323</pre>
794
4150
  </td>
795
4151
  <td>
796
- <pre class="code"><span class="info file"># File 'lib/mushikago/hotaru/client.rb', line 70</span>
4152
+ <pre class="code"><span class="info file"># File 'lib/mushikago/hotaru/client.rb', line 320</span>
797
4153
 
798
- <span class='kw'>def</span> <span class='id identifier rubyid_info'>info</span> <span class='id identifier rubyid_options'>options</span><span class='op'>=</span><span class='lbrace'>{</span><span class='rbrace'>}</span>
799
- <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>InfoRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
4154
+ <span class='kw'>def</span> <span class='id identifier rubyid_word_list'>word_list</span> <span class='id identifier rubyid_domain_name'>domain_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>
4155
+ <span class='id identifier rubyid_request'>request</span> <span class='op'>=</span> <span class='const'>Hotaru</span><span class='op'>::</span><span class='const'>WordListRequest</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_domain_name'>domain_name</span><span class='comma'>,</span> <span class='id identifier rubyid_options'>options</span><span class='rparen'>)</span>
800
4156
  <span class='id identifier rubyid_send_request'>send_request</span><span class='lparen'>(</span><span class='id identifier rubyid_request'>request</span><span class='rparen'>)</span>
801
4157
  <span class='kw'>end</span></pre>
802
4158
  </td>
@@ -809,7 +4165,7 @@ APIの使用状況を取得する
809
4165
  </div>
810
4166
 
811
4167
  <div id="footer">
812
- Generated on Wed Feb 1 14:15:29 2012 by
4168
+ Generated on Mon Feb 20 09:55:32 2012 by
813
4169
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
814
4170
  0.7.4 (ruby-1.9.2).
815
4171
  </div>