lib/haveapi/go_client/metadata.rb in haveapi-go-client-0.20.0 vs lib/haveapi/go_client/metadata.rb in haveapi-go-client-0.21.0

- old
+ new

@@ -44,11 +44,11 @@ def resolve_associations global && global.resolve_associations object && object.resolve_associations end - %i(global object).each do |type| - %i(input output).each do |dir| + %i[global object].each do |type| + %i[input output].each do |dir| define_method(:"has_#{type}_#{dir}?") do t = send(type) next(false) unless t io = t.send(dir)