lib/zoho_hub/response.rb in zoho_hub-0.1.6 vs lib/zoho_hub/response.rb in zoho_hub-0.1.7

- old
+ new

@@ -42,11 +42,13 @@ msg = data[:message] if data.dig(:details, :expected_data_type) expected = data.dig(:details, :expected_data_type) field = data.dig(:details, :api_name) + parent_api_name = data.dig(:details, :parent_api_name) msg << ", expected #{expected} for '#{field}'" + msg << " in #{parent_api_name}" if parent_api_name end msg end end