lib/google/ads/google_ads/autoboxing_mappings.rb in google-ads-googleads-6.0.0 vs lib/google/ads/google_ads/autoboxing_mappings.rb in google-ads-googleads-7.0.0
- old
+ new
@@ -34,9 +34,10 @@
false
else
raise ArgumentError.new("Value #{x} is not boolish")
end
},
+ Google::Protobuf::FloatValue => lambda { |x| Float(x) },
Google::Protobuf::DoubleValue => lambda { |x| Float(x) },
Google::Protobuf::BytesValue => lambda { |x| x.force_encoding("ASCII-8BIT") },
})
def self.has_type?(type)