{"id":2678,"date":"2015-03-13T10:40:05","date_gmt":"2015-03-13T01:40:05","guid":{"rendered":"https:\/\/ec2-54-238-200-5.ap-northeast-1.compute.amazonaws.com\/blog\/?p=2678"},"modified":"2025-08-04T15:50:14","modified_gmt":"2025-08-04T06:50:14","slug":"rails%e3%82%a2%e3%83%97%e3%83%aa%e3%81%a7%e3%83%90%e3%82%a6%e3%83%b3%e3%82%b9%e3%81%aa%e3%81%a9%e3%81%ae%e3%82%a4%e3%83%99%e3%83%b3%e3%83%88%e3%83%87%e3%83%bc%e3%82%bf%e3%82%92%e4%bf%9d%e5%ad%98","status":"publish","type":"post","link":"https:\/\/sendgrid.kke.co.jp\/blog\/?p=2678","title":{"rendered":"Rails\u30a2\u30d7\u30ea\u3067\u30d0\u30a6\u30f3\u30b9\u306a\u3069\u306e\u30a4\u30d9\u30f3\u30c8\u30c7\u30fc\u30bf\u3092\u4fdd\u5b58\u30fb\u6d3b\u7528\u3059\u308b\u65b9\u6cd5\uff08Event Webhook\uff09"},"content":{"rendered":"<p style=\"background-color: #ffffff; margin: 0; padding: 00px;\"><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-9.png\" alt=\"Eventkit-Rails\" width=\"100%\" class=\"aligncenter size-medium wp-image-2687\" srcset=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-9.png 1054w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-9-300x203.png 300w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-9-768x520.png 768w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-9-1024x693.png 1024w\" sizes=\"(max-width: 1054px) 100vw, 1054px\" \/><\/p>\n<p style=\"margin-bottom: 20px;\">SendGrid\u306f\u3001\u30e1\u30fc\u30eb\u914d\u4fe1\u306b\u95a2\u308f\u308b\u69d8\u3005\u306a\u30a4\u30d9\u30f3\u30c8\uff08\u30e1\u30fc\u30eb\u306e\u9001\u4fe1\u3001\u30d0\u30a6\u30f3\u30b9\u3001\u958b\u5c01\u3001\u30af\u30ea\u30c3\u30af\u3001\u914d\u4fe1\u505c\u6b62\u3001\u8ff7\u60d1\u30e1\u30fc\u30eb\u5831\u544a\u306a\u3069\uff09\u3092\u901a\u77e5\u3059\u308b<a href=\"https:\/\/sendgrid.kke.co.jp\/blog\/?p=753\" target=\"_blank\">Event Webhook<\/a>\u3068\u3044\u3046\u6a5f\u80fd\u3092\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u3002Event Webhook\u306f\u5404\u7a2e\u30a4\u30d9\u30f3\u30c8\u30c7\u30fc\u30bf\u3092\u6d3b\u7528\u3059\u308b\u305f\u3081\u306b\u5fc5\u9808\u306e\u6a5f\u80fd\u3067\u3059\u304c\u3001\u30a4\u30d9\u30f3\u30c8\u30c7\u30fc\u30bf\u3092\u53d7\u4fe1\u3059\u308bWeb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u7528\u610f\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p style=\"margin-bottom: 20px;\">\u4ee5\u524d\u3001<a href=\"https:\/\/sendgrid.kke.co.jp\/blog\/?p=2489\" target=\"_blank\">\u30a4\u30d9\u30f3\u30c8\u30c7\u30fc\u30bf\u3092MongoDB\u306b\u30b9\u30c8\u30a2\u3059\u308b\u65b9\u6cd5<\/a>\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3057\u305f\u304c\u3001\u4eca\u56de\u306f\u30b9\u30c8\u30a2\u3057\u305f\u30c7\u30fc\u30bf\u306e\u691c\u7d22\u3084\u8a73\u7d30\u306e\u78ba\u8a8d\u307e\u3067\u53ef\u80fd\u306a\u30b5\u30f3\u30d7\u30eb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u300c<a href=\"https:\/\/github.com\/sendgrid\/eventkit-rails\" target=\"_blank\">EventKit-Rails<\/a>\u300d\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002EventKit-Rails\u306fSendGrid\u304c\u63d0\u4f9b\u3059\u308b\u30aa\u30fc\u30d7\u30f3\u30bd\u30fc\u30b9\u306e\u30b5\u30f3\u30d7\u30eb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u3059\u3002<\/p>\n<p><!--more--><\/p>\n<div style=\"clear:both;width:auto;height:40px;\"><!----><\/div>\n<h4><strong>\u306f\u3058\u3081\u306b<\/strong><\/h4>\n<p style=\"margin-bottom: 20px;\">\u4eca\u56de\u306f\u3001EventKit-Rails\u3092\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u3059\u308b2\u7a2e\u985e\u306e\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<ul style=\"background-image: none; list-style-type: disc;\">\n<li style=\"background-image: none; margin-left: 20px;\"><strong><a href=\"https:\/\/www.heroku.com\/\" target=\"_blank\">Heroku<\/a><\/strong><br \/>\u6700\u3082\u7c21\u5358\u306a\u69cb\u7bc9\u624b\u9806\u3067\u3059\u3002Heroku\u3068SendGrid\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u304c\u3042\u308c\u3070\u3059\u3050\u306b\u8a66\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/li>\n<li style=\"background-image: none; margin-left: 20px;\"><strong>\u30ed\u30fc\u30ab\u30eb\u30de\u30b7\u30f3<\/strong><br \/>\u30ed\u30fc\u30ab\u30eb\u30de\u30b7\u30f3\u4e0a\u306b\u3044\u304f\u3064\u304b\u306e\u74b0\u5883\u306e\u6e96\u5099\u304c\u5fc5\u8981\u306b\u306a\u308a\u307e\u3059\u304c\u3001SendGrid\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u3060\u3051\u3067\u8a66\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n<div style=\"clear:both;width:auto;height:40px;\"><!----><\/div>\n<h4><strong>Heroku<\/strong><\/h4>\n<p style=\"margin-bottom: 20px;\"><strong>\u524d\u63d0\u6761\u4ef6<\/strong><\/p>\n<ul style=\"background-image: none; list-style-type: disc;\">\n<li style=\"background-image: none; margin-left: 20px;\"><a href=\"https:\/\/www.heroku.com\/\" target=\"_blank\">Heroku<\/a>\u30a2\u30ab\u30a6\u30f3\u30c8<\/li>\n<li style=\"background-image: none; margin-left: 20px;\"><a href=\"https:\/\/sendgrid.kke.co.jp\/\" target=\"_blank\">SendGrid<\/a>\u30a2\u30ab\u30a6\u30f3\u30c8<\/li>\n<\/ul>\n<p style=\"margin-bottom: 20px;\"><strong>1. Heroku\u3078\u30c7\u30d7\u30ed\u30a4<\/strong><\/p>\n<p style=\"margin-bottom: 20px;\"><a href=\"https:\/\/github.com\/sendgrid\/eventkit-rails\" target=\"_blank\">EventKit-Rails\u30ea\u30dd\u30b8\u30c8\u30ea<\/a>\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u300cDeploy to Heroku\u300d\u30dc\u30bf\u30f3\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-1.png\" alt=\"Heroku\" width=\"400\" class=\"aligncenter size-full wp-image-2679\" srcset=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-1.png 819w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-1-300x85.png 300w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-1-768x218.png 768w\" sizes=\"(max-width: 819px) 100vw, 819px\" \/><\/p>\n<p style=\"margin-bottom: 20px;\">App Name\u306b\u9069\u5f53\u306a\u540d\u524d\u3092\u5165\u529b\u3057\u3066\u3001\u300cDeploy for Free\u300d\u30dc\u30bf\u30f3\u3092\u9078\u629e\u3057\u307e\u3059\u3002<br \/>\u203bApp Name\u306f\u3001\u7a7a\u3067\u3082\u69cb\u3044\u307e\u305b\u3093\u3002\u5165\u529b\u3057\u305f\u540d\u524d\u306f\u30a2\u30d7\u30ea\u306eURL\u3068\u3057\u3066\u5229\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-2.png\" alt=\"Heroku\u3078\u30c7\u30d7\u30ed\u30a4\" width=\"400\" class=\"aligncenter size-medium wp-image-2680\" srcset=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-2.png 834w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-2-300x276.png 300w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-2-768x705.png 768w\" sizes=\"(max-width: 834px) 100vw, 834px\" \/><\/p>\n<p style=\"margin-bottom: 20px;\">\u30c7\u30d7\u30ed\u30a4\u304c\u5b8c\u4e86\u3057\u305f\u3089\u300cView it\u300d\u30ea\u30f3\u30af\u3092\u9078\u629e\u3057\u307e\u3059\u3002EventKit Setup\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u305f\u3089\u30c7\u30d7\u30ed\u30a4\u306f\u5b8c\u4e86\u3067\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-3.png\" alt=\"\u30c7\u30d7\u30ed\u30a4\u306e\u5b8c\u4e86\" width=\"300\" class=\"aligncenter size-medium wp-image-2681\" srcset=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-3.png 401w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-3-300x284.png 300w\" sizes=\"(max-width: 401px) 100vw, 401px\" \/><\/p>\n<p style=\"margin-bottom: 20px;\"><strong>2. EventKit\u3068SendGrid\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7<\/strong><\/p>\n<p style=\"margin-bottom: 20px;\">EventKit Setup\u306eStep 1\u3067\u57fa\u672c\u8a8d\u8a3c\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u9069\u5f53\u306aUsername\u3068Password\u3092\u5165\u529b\u3057\u3066\u300c\u9001\u4fe1\u300d\u30dc\u30bf\u30f3\u3092\u9078\u629e\u3057\u307e\u3059\u3002<br \/>\u203b\u300cWARNING!\u300d\u3068\u3044\u3046\u8b66\u544a\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u304c\u3001\u3053\u308c\u306fRails\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306eSSL\u304c\u6709\u52b9\u5316\u3055\u308c\u3066\u3044\u306a\u3044\u305f\u3081\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-4.png\" alt=\"\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7Step1\" width=\"400\" class=\"aligncenter size-medium wp-image-2682\" srcset=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-4.png 834w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-4-300x207.png 300w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-4-768x529.png 768w\" sizes=\"(max-width: 834px) 100vw, 834px\" \/><\/p>\n<p style=\"margin-bottom: 20px;\">Step2\u3067\u306f\u3001SendGrid\u306eEvent Notification\u306b\u8a2d\u5b9a\u3059\u308bURL\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3001\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u30b3\u30d4\u30fc\u3057\u3066\u300cApps page\u300d\u30ea\u30f3\u30af\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-5.png\" alt=\"\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7Step2\" width=\"400\" class=\"aligncenter size-medium wp-image-2683\" srcset=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-5.png 834w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-5-300x111.png 300w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-5-768x284.png 768w\" sizes=\"(max-width: 834px) 100vw, 834px\" \/><\/p>\n<p style=\"margin-bottom: 20px;\">SendGrid\u306b\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u3068Apps\u4e00\u89a7\u304c\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u3001Event Notification\u3092\u6709\u52b9\u5316\u3057\u3066\u304f\u3060\u3055\u3044\u3002Event Notification\u306e\u8a2d\u5b9a\u753b\u9762\u3092\u958b\u304d\u3001\u5148\u307b\u3069\u30af\u30ea\u30c3\u30d7\u30dc\u30fc\u30c9\u306b\u30b3\u30d4\u30fc\u3057\u305fURL\u3092\u300cHTTP Post URL\u300d\u306b\u8cbc\u308a\u4ed8\u3051\u3066\u300cSave\u300d\u3092\u9078\u629e\u3057\u3066\u4fdd\u5b58\u3057\u307e\u3059\u3002\u64cd\u4f5c\u65b9\u6cd5\u306b\u3064\u3044\u3066\u306f<a href=\"https:\/\/sendgrid.kke.co.jp\/?p=mypage.manual\" target=\"_blank\">\u64cd\u4f5c\u30de\u30cb\u30e5\u30a2\u30eb<\/a>\uff08<a href=\"https:\/\/sendgrid.kke.co.jp\/?p=signup.form\" target=\"_blank\">\u65b0\u898f\u4f1a\u54e1\u767b\u9332<\/a>\u304c\u5fc5\u8981\uff09\u3092\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002<\/p>\n<p style=\"margin-bottom: 20px;\">\u203b\u300cTest Your Integration\u300d\u3067Event Webhook\u306e\u53d7\u3051\u53e3\u3068\u306e\u63a5\u7d9a\u78ba\u8a8d\u3092\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u304c\u3001\u57fa\u672c\u8a8d\u8a3c\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u306a\u3044\u305f\u3081\u3001\u4eca\u56de\u306f\u30b9\u30c6\u30fc\u30bf\u30b9\u30b3\u30fc\u30c9\u306f\u5e38\u306b401\u3068\u306a\u308a\u307e\u3059\u3002<br \/>\u203bEvent Notification\u306e\u8a2d\u5b9a\u5909\u66f4\u5f8c\u53cd\u6620\u3055\u308c\u308b\u307e\u3067\u6570\u5206\u7a0b\u5ea6\u306e\u6642\u9593\u304c\u304b\u304b\u308a\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-6.png\" alt=\"Event Notification\" width=\"400\" class=\"aligncenter size-medium wp-image-2684\" srcset=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-6.png 691w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-6-246x300.png 246w\" sizes=\"(max-width: 691px) 100vw, 691px\" \/><\/p>\n<p style=\"margin-bottom: 20px;\">\u518d\u3073EventKit\u306e\u753b\u9762\u306b\u623b\u308a\u3001\u300cContinue\u300d\u30dc\u30bf\u30f3\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/2-heroku-5.png\" alt=\"API Workshop\" width=\"400\" class=\"aligncenter size-medium wp-image-2689\" srcset=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/2-heroku-5.png 834w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/2-heroku-5-300x134.png 300w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/2-heroku-5-768x343.png 768w\" sizes=\"(max-width: 834px) 100vw, 834px\" \/><\/p>\n<p style=\"margin-bottom: 20px;\">\u6700\u5f8c\u306bStep3\u3067\u300cLog In\u300d\u30dc\u30bf\u30f3\u3092\u9078\u629e\u3057\u3066\u57fa\u672c\u8a8d\u8a3c\u306e\u5165\u529b\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u305f\u3089\u6700\u521d\u306b\u8a2d\u5b9a\u3057\u305f\u57fa\u672c\u8a8d\u8a3c\u306eUsername\u3068Password\u3092\u5165\u529b\u3057\u307e\u3059\u3002EventKit\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u305f\u3089\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306f\u5b8c\u4e86\u3067\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-7.png\" alt=\"\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7Step2\" width=\"400\" class=\"aligncenter size-medium wp-image-2685\" srcset=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-7.png 691w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-7-300x102.png 300w\" sizes=\"(max-width: 691px) 100vw, 691px\" \/><br \/>\n<img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-11.png\" alt=\"\u57fa\u672c\u8a8d\u8a3c\" width=\"300\" class=\"aligncenter size-full wp-image-2699\" srcset=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-11.png 356w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-11-300x233.png 300w\" sizes=\"(max-width: 356px) 100vw, 356px\" \/><\/p>\n<p style=\"margin-bottom: 20px;\"><strong>3. \u30e1\u30fc\u30eb\u306e\u9001\u4fe1\u3068\u52d5\u4f5c\u78ba\u8a8d<\/strong><\/p>\n<p style=\"margin-bottom: 20px;\"><a href=\"https:\/\/sendgrid.com\/docs\/API_Reference\/Web_API\/mail.html\" target=\"_blank\">API Workshop<\/a>\u3092\u4f7f\u3063\u3066\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3057\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-8.png\" alt=\"\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7Step3\" width=\"400\" class=\"aligncenter size-medium wp-image-2686\" srcset=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-8.png 678w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-8-300x248.png 300w\" sizes=\"(max-width: 678px) 100vw, 678px\" \/><\/p>\n<p style=\"margin-bottom: 20px;\">EventKit\u306e\u753b\u9762\u3092\u66f4\u65b0\u3059\u308b\u3068\u3001\u3044\u304f\u3064\u304b\u306e\u30a4\u30d9\u30f3\u30c8\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-9.png\" alt=\"Eventkit-Rails\" width=\"100%\" class=\"aligncenter size-medium wp-image-2687\" srcset=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-9.png 1054w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-9-300x203.png 300w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-9-768x520.png 768w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-9-1024x693.png 1024w\" sizes=\"(max-width: 1054px) 100vw, 1054px\" \/><\/p>\n<p style=\"margin-bottom: 20px;\">\u5404\u30a4\u30d9\u30f3\u30c8\u3092\u9078\u629e\u3059\u308b\u3053\u3068\u3067\u30a4\u30d9\u30f3\u30c8\u306e\u8a73\u7d30\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-10.png\" alt=\"\u57fa\u672c\u8a8d\u8a3c\u30ed\u30b0\u30a4\u30f3\" width=\"100%\" class=\"aligncenter size-medium wp-image-2688\" srcset=\"https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-10.png 1054w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-10-300x255.png 300w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-10-768x653.png 768w, https:\/\/sendgrid.kke.co.jp\/blog\/wp\/wp-content\/uploads\/2015\/03\/1-heroku-10-1024x870.png 1024w\" sizes=\"(max-width: 1054px) 100vw, 1054px\" \/><\/p>\n<div style=\"clear:both;width:auto;height:40px;\"><!----><\/div>\n<h4><strong>\u30ed\u30fc\u30ab\u30eb\u30de\u30b7\u30f3<\/strong><\/h4>\n<p style=\"margin-bottom: 20px;\"><strong>\u524d\u63d0\u6761\u4ef6<\/strong><\/p>\n<ul style=\"background-image: none; list-style-type: disc;\">\n<li style=\"background-image: none; margin-left: 20px;\"><a href=\"https:\/\/sendgrid.kke.co.jp\/\" target=\"_blank\">SendGrid<\/a>\u30a2\u30ab\u30a6\u30f3\u30c8<\/li>\n<li style=\"background-image: none; margin-left: 20px;\"><a href=\"http:\/\/git-scm.com\/\" target=\"_blank\">git<\/a><\/li>\n<li style=\"background-image: none; margin-left: 20px;\"><a href=\"https:\/\/www.ruby-lang.org\/ja\/\" target=\"_blank\">Ruby<\/a><\/li>\n<li style=\"background-image: none; margin-left: 20px;\"><a href=\"http:\/\/bundler.io\/\" target=\"_blank\">bundler<\/a><\/li>\n<li style=\"background-image: none; margin-left: 20px;\"><a href=\"http:\/\/www.postgresql.org\/\" target=\"_blank\">PostgreSQL<\/a><\/li>\n<li style=\"background-image: none; margin-left: 20px;\"><a href=\"https:\/\/ngrok.com\/\" target=\"_blank\">ngrok<\/a><\/li>\n<\/ul>\n<p style=\"margin-bottom: 20px;\">\u203bRuby\u3001bundler\u306e\u5fc5\u8981\u30d0\u30fc\u30b8\u30e7\u30f3\u306fGemfile\u3092\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002\u305d\u306e\u4ed6\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u306b\u3064\u3044\u3066\u306f\u6700\u65b0\u7248\u3092\u3054\u5229\u7528\u304f\u3060\u3055\u3044\u3002<\/p>\n<p style=\"margin-bottom: 20px;\"><strong>1. \u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u624b\u9806<\/strong><\/p>\n<p style=\"margin-bottom: 20px;\">EventKit-Rails\u306e\u30b3\u30fc\u30c9\u3092\u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089\u30af\u30ed\u30fc\u30f3\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\ngit clone https:\/\/github.com\/sendgrid\/eventkit-rails.git\r\n<\/pre>\n<p style=\"margin-bottom: 20px;\">\u30ea\u30dd\u30b8\u30c8\u30ea\u5185\u306b\u79fb\u52d5\u3057\u3066Rails\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u8d77\u52d5\u3057\u307e\u3059\u3002TCP\u30dd\u30fc\u30c83000\u756a\u3067\u5f85\u3061\u53d7\u3051\u3092\u958b\u59cb\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\ncd eventkit-rails\r\nbundle install\r\nrake db:migrate\r\nrails server\r\n<\/pre>\n<p style=\"margin-bottom: 20px;\">ngrok\u3067\u516c\u958b\u3057\u305fURL\u306b\u30d6\u30e9\u30a6\u30b6\u3067\u30a2\u30af\u30bb\u30b9\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nhttps:\/\/xxxxxxxx.ngrok.com\/\r\n<\/pre>\n<p style=\"margin-bottom: 20px;\">\u203b\u300cxxxxxxxx\u300d\u90e8\u5206\u306fngrok\u304c\u81ea\u52d5\u767a\u884c\u3057\u307e\u3059\u3002<\/p>\n<p style=\"margin-bottom: 20px;\">\u4ee5\u964d\u306e\u624b\u9806\u306fHeroku\u306b\u30c7\u30d7\u30ed\u30a4\u3057\u305f\u5834\u5408\u306e\u300c<strong>2. EventKit\u3068SendGrid\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7<\/strong>\u300d\u4ee5\u964d\u3068\u540c\u69d8\u3067\u3059\u3002\u305f\u3060\u3057\u3001SendGrid\u306eEvent Notification\u306b\u306f\u3001ngrok\u3067\u516c\u958b\u3057\u305fURL\u3092\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u306e\u3067\u3054\u6ce8\u610f\u304f\u3060\u3055\u3044\u3002<\/p>\n<div style=\"clear:both;width:auto;height:40px;\"><!----><\/div>\n<h4><strong>\u3055\u3044\u3054\u306b<\/strong><\/h4>\n<p style=\"margin-bottom: 20px;\">EventKit-Rails\u306f\u30b7\u30f3\u30d7\u30eb\u306a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u3059\u304c\u3001\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u3001\u30ab\u30c6\u30b4\u30ea\u3001\u30a4\u30d9\u30f3\u30c8\u30bf\u30a4\u30d7\u3001SMTP-ID\u306a\u3069\u69d8\u3005\u306a\u6761\u4ef6\u3092\u6307\u5b9a\u3057\u3066\u691c\u7d22\u3057\u305f\u308a\u3001\u691c\u7d22\u7d50\u679c\u3092CSV\u3067\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p style=\"margin-bottom: 20px;\">\u30a4\u30d9\u30f3\u30c8\u30c7\u30fc\u30bf\u3092\u624b\u8efd\u306b\u6d3b\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u306e\u3067\u3001\u662f\u975e\u304a\u8a66\u3057\u304f\u3060\u3055\u3044\uff01<\/p>\n<p style=\"margin-bottom: 20px;\"><strong>\u53c2\u8003<\/strong><\/p>\n<ul style=\"background-image: none; list-style-type: disc;\">\n<li style=\"background-image: none; margin-left: 20px;\"><a href=\"https:\/\/sendgrid.kke.co.jp\/blog\/?p=753\" target=\"_blank\">\u30e1\u30fc\u30eb\u696d\u52d9\u306e\u904b\u7528\u3092\u6700\u9069\u5316\u3059\u308bEvent Webhook\u6a5f\u80fd\u306b\u3064\u3044\u3066<\/a><\/li>\n<li style=\"background-image: none; margin-left: 20px;\"><a href=\"https:\/\/sendgrid.kke.co.jp\/blog\/?p=1851\" target=\"_blank\">Webhook\u3068\u306f\uff1f\u4ed5\u7d44\u307f\u3084\u5229\u7528\u6642\u306e\u6ce8\u610f\u70b9\u3092\u89e3\u8aac\uff01<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>SendGrid\u306f\u3001\u30e1\u30fc\u30eb\u914d\u4fe1\u306b\u95a2\u308f\u308b\u69d8\u3005\u306a\u30a4\u30d9\u30f3\u30c8\uff08\u30e1\u30fc\u30eb\u306e\u9001\u4fe1\u3001\u30d0\u30a6\u30f3\u30b9\u3001\u958b\u5c01\u3001\u30af\u30ea\u30c3\u30af\u3001\u914d\u4fe1\u505c\u6b62\u3001\u8ff7\u60d1\u30e1\u30fc\u30eb\u5831\u544a\u306a\u3069\uff09\u3092\u901a\u77e5\u3059\u308bEvent Webhook\u3068\u3044\u3046\u6a5f\u80fd\u3092\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u3002Event Webhook\u306f\u5404\u7a2e <a class=\"read-more\" href=\"https:\/\/sendgrid.kke.co.jp\/blog\/?p=2678\">&#8230;\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":2,"featured_media":6348,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[11],"tags":[],"class_list":["post-2678","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technical"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2678","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2678"}],"version-history":[{"count":2,"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2678\/revisions"}],"predecessor-version":[{"id":19356,"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2678\/revisions\/19356"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=\/wp\/v2\/media\/6348"}],"wp:attachment":[{"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2678"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2678"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sendgrid.kke.co.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2678"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}