lib/google/cloud/location/locations/rest/service_stub.rb in google-cloud-location-0.5.0 vs lib/google/cloud/location/locations/rest/service_stub.rb in google-cloud-location-0.5.1

- old
+ new

@@ -58,11 +58,11 @@ def list_locations request_pb, options = nil, bindings_override: nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_list_locations_request request_pb, bindings_override: bindings_override query_string_params = if query_string_params.any? - query_string_params.to_h { |p| p.split("=", 2) } + query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request( @@ -98,10 +98,10 @@ def get_location request_pb, options = nil, bindings_override: nil raise ::ArgumentError, "request must be provided" if request_pb.nil? verb, uri, query_string_params, body = ServiceStub.transcode_get_location_request request_pb, bindings_override: bindings_override query_string_params = if query_string_params.any? - query_string_params.to_h { |p| p.split("=", 2) } + query_string_params.to_h { |p| p.split "=", 2 } else {} end response = @client_stub.make_http_request(