Sha256: e995bd99dc655acd780dbcfe403250ec424b7b2ceabefa50d0bf54a12d7291bd
Contents?: true
Size: 777 Bytes
Versions: 14
Compression:
Stored size: 777 Bytes
Contents
module Fog module Compute class Google class Mock def add_backend_service_backends(_backend_service, _new_backends) Fog::Mock.not_implemented end end class Real def add_backend_service_backends(backend_service, new_backends) api_method = @compute.backend_services.patch parameters = { "project" => @project, "backendService" => backend_service.name } if backend_service.backends backend_service.backends.concat(new_backends) else backend_service.backends = new_backends end body_object = backend_service request(api_method, parameters, body_object) end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems