{"published":"2020-02-25 02:07:14","type":"rich","author_name":"tmtms","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","width":"100%","title":"Grape","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.tmtms.net%2Fentry%2F202002%2Fruby-grape\" title=\"Grape - tmtms \u306e\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://blog.tmtms.net/entry/202002/ruby-grape","categories":["Ruby"],"blog_url":"https://blog.tmtms.net/","blog_title":"tmtms \u306e\u30e1\u30e2","author_url":"https://blog.hatena.ne.jp/tmtms/","description":"\u7c21\u5358\u306a API \u30b5\u30fc\u30d0\u30fc\u3092 Ruby \u3067\u4f5c\u308d\u3046\u3068\u601d\u3063\u3066 Rails \u3058\u3083\u5927\u3052\u3055\u3059\u304e\u308b\u3057 Sinatra \u304b\u306a\u30fc\u3068\u601d\u3063\u3066\u305f\u3089 Grape \u3068\u3044\u3046\u306e\u304c\u3042\u3063\u305f\u306e\u3067\u8a66\u3057\u3066\u307f\u3066\u308b\u3002 \u81ea\u5206\u7528\u306e\u30e1\u30e2\u306a\u306e\u3067\u3001\u3061\u3083\u3093\u3068\u77e5\u308a\u305f\u3044\u4eba\u306f https://github.com/ruby-grape/grape/blob/master/README.md \u3092\u8aad\u307f\u307e\u3057\u3087\u3046\u3002 \u57fa\u672c Gemfile \u3092\u4f5c\u3063\u3066\u3001 source 'https://rubygems.org' gem 'grape' bundle install \u3057\u3066\u3001 api.rb \u3068\u3044\u3046\u540d\u524d\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u3063\u3066(\u540d\u524d\u306f\u306a\u3093\u3067\u3082\u3044\u3044)\u3001 require 'grape\u2026","image_url":null,"version":"1.0","height":"190"}