lib/google/cloud/automl/v1beta1/prediction_service/paths.rb in google-cloud-automl-v1beta1-0.1.0 vs lib/google/cloud/automl/v1beta1/prediction_service/paths.rb in google-cloud-automl-v1beta1-0.1.1

- old
+ new

@@ -33,13 +33,13 @@ # # @param project [String] # @param location [String] # @param model [String] # - # @return [String] + # @return [::String] def model_path project:, location:, model: - raise ArgumentError, "project cannot contain /" if project.to_s.include? "/" - raise ArgumentError, "location cannot contain /" if location.to_s.include? "/" + raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/" + raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/" "projects/#{project}/locations/#{location}/models/#{model}" end extend self