lib/google/ads/google_ads/autoboxing_fields.rb in google-ads-googleads-8.1.0 vs lib/google/ads/google_ads/autoboxing_fields.rb in google-ads-googleads-9.0.0
- old
+ new
@@ -98,10 +98,11 @@
module Google::Protobuf
module MessageExts
module ClassMethods
def new(*args, &blk)
- if self.name.start_with?("Google::Ads::GoogleAds")
+ if self.name.start_with?("Google::Ads::GoogleAds") &&
+ !["V6"].any? { |v| self.name.include?(v) }
Google::Ads::GoogleAds::AutoboxingFields.patch_class(self)
end
super
end