1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/google/requests/compute/insert_address.rb
Nat Welch 33caab1f41 Cleanup some whitespace in the Google dir
Signed-off-by: Nat Welch <nat@natwelch.com>
2013-12-30 14:31:06 -08:00

30 lines
672 B
Ruby

module Fog
module Compute
class Google
class Mock
def insert_address(address_name, region_name)
Fog::Mock.not_implemented
end
end
class Real
def insert_address(address_name, region_name)
api_method = @compute.addresses.insert
parameters = {
'project' => @project,
'region' => region_name,
}
body_object = { 'name' => address_name }
result = self.build_result(api_method, parameters,
body_object=body_object)
response = self.build_response(result)
end
end
end
end
end