<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>xoyip</author_name>
  <author_url>https://blog.hatena.ne.jp/xoyip/</author_url>
  <blog_title>ぴよログ</blog_title>
  <blog_url>https://xoyip.hatenablog.com/</blog_url>
  <categories>
    <anon>Rails</anon>
    <anon>API</anon>
    <anon>gem</anon>
  </categories>
  <description>RailsでAPIを作るならGrapeを使うってのが定番っぽいので使ってみました。 参考にしたのはこのへん intridea/grape Ruby - RailsとGrapeで行う最高のWeb API開発 - Qiita Grapeの導入〜Hello World インストールはgem installすればOKです。次にAPIの実装コードを書くファイルを用意します。僕は#{Rails.root}/app/api/api.rbとしました。 # app/api/api.rb class API &lt; Grape::API format :json resource :items do get '/he…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxoyip.hatenablog.com%2Fentry%2F2014%2F05%2F12%2F204748&quot; title=&quot;RailsのGrapeとJbuilderでAPI開発 - ぴよログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://www.evernote.com/shard/s15/sh/19b268be-e319-407d-a65b-a032bb42409a/84b4502d3a929166749d1d42ab567931/deep/0/img_0.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-05-12 20:47:48</published>
  <title>RailsのGrapeとJbuilderでAPI開発</title>
  <type>rich</type>
  <url>https://xoyip.hatenablog.com/entry/2014/05/12/204748</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
