lib/google-cloud-bigquery.rb in google-cloud-bigquery-1.48.1 vs lib/google-cloud-bigquery.rb in google-cloud-bigquery-1.49.0

- old
+ new

@@ -69,12 +69,14 @@ # gcloud = Google::Cloud.new # platform_scope = "https://www.googleapis.com/auth/cloud-platform" # bigquery = gcloud.bigquery scope: platform_scope # def bigquery scope: nil, retries: nil, timeout: nil + retries ||= @retries + timeout ||= @timeout Google::Cloud.bigquery @project, @keyfile, scope: scope, - retries: (retries || @retries), - timeout: (timeout || @timeout) + retries: retries, + timeout: timeout end ## # Creates a new `Project` instance connected to the BigQuery service. # Each call creates a new connection.