From 1af0300d636ecd20db2dd6153497ef8dccea0c5c Mon Sep 17 00:00:00 2001 From: Osamu Takiya Date: Thu, 23 Jun 2022 20:17:53 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20TwitterRestApi=20?= =?UTF-8?q?=E3=82=92=E7=B0=A1=E5=8D=98=E3=81=AB=E4=BD=BF=E3=81=88=E3=82=8B?= =?UTF-8?q?=E3=82=88=E3=81=86=E3=81=AB=E3=81=99=E3=82=8B=E3=81=9F=E3=82=81?= =?UTF-8?q?=E3=81=AB=E3=83=87=E3=83=95=E3=82=A9=E3=83=AB=E3=83=88=20accoun?= =?UTF-8?q?t=5Fkey=20=E3=82=92=E6=98=8E=E7=A4=BA=20(#148)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/lib/twitter_rest_api.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/lib/twitter_rest_api.rb b/app/lib/twitter_rest_api.rb index 71267111..c2a6e8ea 100644 --- a/app/lib/twitter_rest_api.rb +++ b/app/lib/twitter_rest_api.rb @@ -1,8 +1,6 @@ class TwitterRestApi # account_key は シンボル で指定する - def self.client(account_key: nil) - return if account_key.nil? - + def self.client(account_key: :ayy) credentials = convert_account_key_to_credentials(account_key) return if credentials.nil?