{"blog_title":"TORIPIYO DIARY","provider_url":"https://hatena.blog","width":"100%","published":"2022-11-10 22:10:32","author_name":"ha107chan","type":"rich","version":"1.0","author_url":"https://blog.hatena.ne.jp/ha107chan/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftoripiyo.hatenablog.com%2Fentry%2F2022%2F11%2F10%2F221032\" title=\"\u306a\u308b\u3079\u304f\u30b7\u30f3\u30d7\u30eb\u306b Ruby \u306e\u30b3\u30fc\u30c9\u304b\u3089 Slack \u3078\u6295\u7a3f\u3059\u308b\u65b9\u6cd5 - TORIPIYO DIARY\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://toripiyo.hatenablog.com/","height":"190","url":"https://toripiyo.hatenablog.com/entry/2022/11/10/221032","categories":["Ruby","Slack"],"image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/h/ha107chan/20221110/20221110220836.png","provider_name":"Hatena Blog","title":"\u306a\u308b\u3079\u304f\u30b7\u30f3\u30d7\u30eb\u306b Ruby \u306e\u30b3\u30fc\u30c9\u304b\u3089 Slack \u3078\u6295\u7a3f\u3059\u308b\u65b9\u6cd5","description":"Ruby \u306b\u306f Slack \u3092\u6271\u3046\u305f\u3081\u306e gem \u304c\u3042\u308a\u307e\u3059\u304c\u3001 github.com Slack \u7528\u306e gem \u3092\u5229\u7528\u3057\u306a\u304f\u3066\u3082 Slack \u306b\u6295\u7a3f\u3059\u308b\u3053\u3068\u306f\u51fa\u6765\u307e\u3059\u3002 incoming webhook \u306e url \u306f\u65e2\u306b Slack apps \u3067\u751f\u6210\u6e08\u307f\u3068\u3057\u307e\u3059\u3002 blocks \u3092\u7de8\u96c6\u3059\u308c\u3070\u30e1\u30c3\u30bb\u30fc\u30b8\u5185\u5bb9\u3092\u5909\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 Building with Block Kit | Slack \u30e1\u30c3\u30bb\u30fc\u30b8\u4f8b require 'net/http' require 'uri' require 'json' def post_slack(payload, incoming_webhook_url)\u2026"}