We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23e5235 commit 0c72698Copy full SHA for 0c72698
1 file changed
lib/vitable_connect/internal/util.rb
@@ -157,7 +157,7 @@ def coerce_hash!(input)
157
in Hash | nil => coerced
158
coerced
159
else
160
- message = "Expected a #{Hash} or #{VitableConnect::Internal::Type::BaseModel}, got #{data.inspect}"
+ message = "Expected a #{Hash} or #{VitableConnect::Internal::Type::BaseModel}, got #{input.inspect}"
161
raise ArgumentError.new(message)
162
end
163
0 commit comments