<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>a1026302</author_name>
  <author_url>https://blog.hatena.ne.jp/a1026302/</author_url>
  <blog_title>ものづくりのブログ</blog_title>
  <blog_url>https://a1026302.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby on rails</anon>
    <anon>Ruby on rails-Google スプレッドシート</anon>
  </categories>
  <description>ruby で uri ライブラリを使った処理を書いてみたので、ここにメモします。 コード uri ライブラリの使い方 uri とは uri ライブラリを使うには URI オブジェクト regex 関連 コード google スプレッドシートの URI を入力として、キー情報を取得する処理を考えてみました。 require 'uri' def sheet_key(string) def invalid_msg(str, expected_str, actual_str) &quot;#{str} is invalid: expected a (#{expected_str}) but got: (#{ac…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fa1026302.hatenablog.com%2Fentry%2F2022%2F08%2F16%2F112241&quot; title=&quot;ruby で google スプレッドシートの URI からキー情報を取得する処理を考えてみる - ものづくりのブログ&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://cdn.user.blog.st-hatena.com/default_entry_og_image/157314735/1599576939808917</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-08-16 11:22:41</published>
  <title>ruby で google スプレッドシートの URI からキー情報を取得する処理を考えてみる</title>
  <type>rich</type>
  <url>https://a1026302.hatenablog.com/entry/2022/08/16/112241</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
