<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>skymay</author_name>
  <author_url>https://blog.hatena.ne.jp/skymay/</author_url>
  <blog_title>月日は百代の過客にして。。。</blog_title>
  <blog_url>https://orangetech.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>RailsでよくみるこれENV[*ほげほげ]ですが、 パスワードなど直接コード内に書きたくないときに、 Herokuアプリ側の環境変数ENVに持たせておき、ENV[*ほげほげ]で参照できます。 ActionMailer::Base.smtp_settings ={:user_name =&gt; ENV['USERNAME'],:password =&gt; ENV['PASSWORD'],:domain =&gt;'heroku.com'} なので、上記の用にruby上記載している場合、heroku側にコマンドで設定しておきます。 heroku config:add USERNAME=&quot;hogehoge&quot;he…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Forangetech.hateblo.jp%2Fentry%2F2014%2F05%2F16%2F151847&quot; title=&quot;Heroku ENV[ほげほげ] - 月日は百代の過客にして。。。&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-05-16 15:18:47</published>
  <title>Heroku ENV[ほげほげ]</title>
  <type>rich</type>
  <url>https://orangetech.hateblo.jp/entry/2014/05/16/151847</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
