templates/ruby/api_error.mustache in plaid-24.0.0 vs templates/ruby/api_error.mustache in plaid-24.2.0
- old
+ new
@@ -15,10 +15,11 @@
if arg.is_a? Hash
if arg.key?(:message) || arg.key?('message')
super(arg[:message] || arg['message'])
else
super arg
+ @message = arg
end
arg.each do |k, v|
instance_variable_set "@#{k}", v
end
@@ -44,6 +45,6 @@
msg += "\nResponse body: #{response_body}" if response_body
msg
end
end
-end
\ No newline at end of file
+end