エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
記事へのコメント1件
- 注目コメント
- 新着コメント
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
Retriable
require 'retriable' class Api # Use it in methods that interact with unreliable services def get ... require 'retriable' class Api # Use it in methods that interact with unreliable services def get Retriable.retriable do # code here... end end end Options Here are the available options: tries (default: 3) - Number of tries to make at running your code block. base_interval (default: 0.5) - The initial interval in seconds between tries. max_interval (default: 60) - The maximum interval in seconds t
2015/08/29 リンク