소스 검색

Small ruby compat fix

Tim Anema 5 년 전
부모
커밋
ebd17e01b4
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      lib/active_resource/detailed_log_subscriber.rb

+ 3 - 3
lib/active_resource/detailed_log_subscriber.rb

@@ -27,9 +27,9 @@ module ActiveResource
       payload[:response].each do |header_name, header_value|
         case header_name.downcase
         when 'x-shopify-api-deprecated-reason'
-          warning_message = <<~MSG
-            [DEPRECATED] ShopifyAPI made a call to #{payload[:method].upcase} #{payload[:path]}, and this call made
-            use of a deprecated endpoint, behaviour, or parameter. See #{header_value} for more details.
+          warning_message = <<-MSG
+          [DEPRECATED] ShopifyAPI made a call to #{payload[:method].upcase} #{payload[:path]}, and this call made
+          use of a deprecated endpoint, behaviour, or parameter. See #{header_value} for more details.
           MSG
 
           warn warning_message