{"published":"2019-02-17 22:58:21","categories":["ruby"],"version":"1.0","url":"https://blog.turai.work/entry/20190217/1550411901","description":"\u5b8c\u6210\u30b3\u30fc\u30c9 require 'json' require 'slack-notifier' def hello(event:, context:) begin if event.dig('queryStringParameters', 'message').nil? raise \"require message\" end notifier = Slack::Notifier.new( \"HOOK_URL\", channel: \"#speed_test\", username: \"notifier\" ) notifier.post text: event['queryStringParameter\u2026","blog_title":"\u52d5\u304b\u3056\u308b\u3053\u3068\u30d0\u30b0\u306e\u5982\u3057","width":"100%","blog_url":"https://blog.turai.work/","image_url":null,"provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.turai.work%2Fentry%2F20190217%2F1550411901\" title=\"AWS Lambda Ruby\u3068API Gateway\u3067Slack\u3078\u6295\u7a3f\u3059\u308bAPI\u4f5c\u308b - \u52d5\u304b\u3056\u308b\u3053\u3068\u30d0\u30b0\u306e\u5982\u3057\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","author_name":"thr3a","type":"rich","title":"AWS Lambda Ruby\u3068API Gateway\u3067Slack\u3078\u6295\u7a3f\u3059\u308bAPI\u4f5c\u308b","height":"190","author_url":"https://blog.hatena.ne.jp/thr3a/"}