lib/fog/google/requests/compute/get_address.rb in fog-1.22.0 vs lib/fog/google/requests/compute/get_address.rb in fog-1.22.1
- old
+ new
@@ -1,19 +1,15 @@
module Fog
module Compute
class Google
-
class Mock
-
def get_address(address_name, region_name)
Fog::Mock.not_implemented
end
-
end
class Real
-
def get_address(address_name, region_name)
api_method = @compute.addresses.get
parameters = {
'project' => @project,
'address' => address_name,
@@ -21,11 +17,9 @@
}
result = self.build_result(api_method, parameters)
response = self.build_response(result)
end
-
end
-
end
end
end