mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
14 lines
299 B
Ruby
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
|