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/examples/precreated_client.rb

14 lines
299 B
Ruby

def test
client = Google::APIClient.new({ :application_name => "supress", })
connection = Fog::Compute.new({
:provider => "Google",
:google_client => client,
})
begin
p connection.client.discovered_apis
p connection.servers
rescue Exception => e
p e.message
end
end