{"width":"100%","title":"Grape\u3068\u3044\u3046\u306e\u3092\u89e6\u308b\u6a5f\u4f1a\u304c\u3042\u3063\u305f\u306e\u3067","categories":["\u899a\u3048\u66f8\u304d","Ruby"],"blog_url":"https://yuuxxxx.hatenablog.com/","author_name":"yuu_xxxx","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyuuxxxx.hatenablog.com%2Fentry%2F2013%2F08%2F08%2F223907\" title=\"Grape\u3068\u3044\u3046\u306e\u3092\u89e6\u308b\u6a5f\u4f1a\u304c\u3042\u3063\u305f\u306e\u3067 - \u3086\u3046\u306a\u3093\u3068\u304b\u3055\u3093\u306e\u96d1\u8a18\u5e33\u7684\u306a\u3002\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/yuu_xxxx/","url":"https://yuuxxxx.hatenablog.com/entry/2013/08/08/223907","blog_title":"\u3086\u3046\u306a\u3093\u3068\u304b\u3055\u3093\u306e\u96d1\u8a18\u5e33\u7684\u306a\u3002","description":"\u3082\u3061\u308d\u3093\u30b0\u30ec\u30fc\u30d7\u3068\u3044\u3063\u3066\u3082 \u3053\u308c\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3057\u3001 \u3053\u3061\u3089\u3067\u3082\u3042\u308a\u307e\u305b\u3093\u3002API\u3092\u4f5c\u308b\u306e\u306b\u7279\u5316\u3057\u305f\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3001\u4f8b\u306b\u3088\u3063\u3066Gemfile\u306b gem 'grape' \u3063\u3066\u66f8\u3044\u305f\u3042\u3068 bundle \u3067\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059*1\u3002 \u6587\u6cd5\u3068\u304b\u305d\u306e\u3078\u3093 \u306a\u3093\u304bSinatra\u3068Rails\u306eroutes.rb\u3063\u307d\u3044\u66f8\u304d\u65b9\u304c\u3067\u304d\u307e\u3059\u3002 class API < Grape::API # ex)http://localhost:3939/api prefix 'api' #\u30eb\u30fc\u30c8\u306e\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9\u3092\u3064\u3051\u308b # ex)http://localhost:3939/api/v1 version 'v1', using:\u2026","image_url":"http://www.varbak.com/photojapan/%E8%B5%A4%E3%83%96%E3%83%89%E3%82%A6-nb5663.jpg","published":"2013-08-08 22:39:07","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","type":"rich","height":"190"}