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
24 lines
529 B
Ruby
24 lines
529 B
Ruby
module Fog
|
|
module Compute
|
|
class Google
|
|
class Mock
|
|
def delete_region_view(region_view)
|
|
Fog::Mock.not_implemented
|
|
end
|
|
end
|
|
|
|
class Real
|
|
def delete_region_view(region_view, region)
|
|
api_method = @resourceviews.region_views.delete
|
|
parameters = {
|
|
'projectName' => @project,
|
|
'resourceViewName' => region_view,
|
|
'region' => region
|
|
}
|
|
|
|
request(api_method, parameters)
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|