{"type":"rich","title":"Grape \u3092\u4f7f\u3063\u3066 Rails \u30a2\u30d7\u30ea\u306b Web API \u3092\u7d44\u307f\u8fbc\u3080","provider_name":"Hatena Blog","blog_url":"https://tnakamura.hatenablog.com/","image_url":null,"url":"https://tnakamura.hatenablog.com/entry/2014/02/25/115706","width":"100%","published":"2014-02-25 11:57:06","author_name":"griefworker","version":"1.0","author_url":"https://blog.hatena.ne.jp/griefworker/","categories":["Ruby","Rails"],"description":"Rails \u30a2\u30d7\u30ea\u306b Web API \u3092\u8ffd\u52a0\u3057\u305f\u3044\u3002 Rails \u306e\u30b3\u30f3\u30c8\u30ed\u30fc\u30e9\u30fc\u3067\u5b9f\u88c5\u3057\u3066\u3082\u3044\u3044\u3093\u3060\u3051\u3069\u3001\u305b\u3063\u304b\u304f\u306a\u3093\u3067\u3001 Web API \u30de\u30a4\u30af\u30ed\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u300eGrape\u300f\u3092\u8a66\u3057\u3066\u307f\u305f\u3002 Grape | REST-like API micro-framework Gemfile \u306b gem \"grape\" \u3092\u8ffd\u52a0\u3057\u3066 bundle install \u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002 RAILS_ROOT/app/api \u306b api.rb \u3092\u4f5c\u6210\u3002 RAILS_ROOT/lib \u306b\u7f6e\u304f\u304b\u8ff7\u3063\u305f\u3051\u3069\u3001\u30e2\u30c7\u30eb\u4f7f\u3046\u3057\u3001Web API \u3082\u30a2\u30d7\u30ea\u306e\u4e00\u90e8\u3068\u8003\u3048\u3066\u3044\u308b\u304b\u3089 app \u4e0b\u306b\u7f6e\u304f\u3053\u3068\u306b\u3057\u305f\u3002 # coding:\u2026","blog_title":"present","height":"190","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftnakamura.hatenablog.com%2Fentry%2F2014%2F02%2F25%2F115706\" title=\"Grape \u3092\u4f7f\u3063\u3066 Rails \u30a2\u30d7\u30ea\u306b Web API \u3092\u7d44\u307f\u8fbc\u3080 - present\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}