Explorar el Código

Small ruby compat fix

Tim Anema hace 5 años
padre
commit
ebd17e01b4
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  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