mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
8ad7e9e318
Conflicts: lib/fog/google/requests/compute/delete_backend_service.rb
23 lines
553 B
Ruby
23 lines
553 B
Ruby
module Fog
|
|
module Compute
|
|
class Google
|
|
class Mock
|
|
def get_backend_services(service_name)
|
|
Fog::Mock::not_implemented
|
|
end
|
|
end
|
|
|
|
class Real
|
|
def get_backend_services(service_name)
|
|
api_method = @compute.backend_services.get
|
|
parameters = {
|
|
'project' => @project,
|
|
'backendService' => service_name
|
|
}
|
|
result = self.build_result(api_method, parameters)
|
|
response = self.build_response(result)
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|