<?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>Grape</anon>
    <anon>gem</anon>
  </categories>
  <description>Grapeをもう少し使ってみました。関連記事は↓ RailsのGrapeとJbuilderでAPI開発 - PILOG 基本形 # app/api/api.rb resource :items do get '/', jbuilder:'items' do @items = Item.all end end パラメータを受け取る 全てのItemではなく、idに該当するItemだけが欲しいとき。 resource :items do get '/:id', jbuilder:'item' do @item = Item.find_by_id(params[:id]) end end /api/i…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxoyip.hatenablog.com%2Fentry%2F2014%2F05%2F15%2F201100&quot; title=&quot;Grapeを使った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/97c337d2-68bd-40e6-ab7c-a0a8fe470b8d/4dd82c750c456853ae1e5c5e6362218e/deep/0/%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88-2014-05-14-9-04.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-05-15 20:11:00</published>
  <title>Grapeを使ったAPI実装でのネストやパラメータ</title>
  <type>rich</type>
  <url>https://xoyip.hatenablog.com/entry/2014/05/15/201100</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
