teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

誤字

2020/06/19 00:39

投稿

HideStar
HideStar

スコア13

title CHANGED
File without changes
body CHANGED
@@ -36,7 +36,7 @@
36
36
  http.use_ssl = true
37
37
 
38
38
  license_key = Base64.strict_encode64("serviceSecret:licenseKey")
39
- auth_key = lisence_key.gsub(/(rn?|n)/,"")
39
+ auth_key = license_key.gsub(/(rn?|n)/,"")
40
40
 
41
41
  req = Net::HTTP::Get.new(uri.path)
42
42
  req["Authorization"] = "ESA " + auth_key