lib/deepl/exceptions/bad_request.rb in deepl-rb-2.2.2 vs lib/deepl/exceptions/bad_request.rb in deepl-rb-2.2.3
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
module DeepL
module Exceptions
class BadRequest < RequestError
def message
JSON.parse(response.body)['message']