deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@redhat.com
Subject Added with_config method to deltacloud client
Date Thu, 13 Jan 2011 10:25:43 GMT
Hi,

This patch allow you to switch driver using just one instance of Deltacloud
API.
Example usage:

client = DeltaCloud.new('mockuser', 'mockdriver', 'http://localhost:3001/api')

client.with_config(:driver => 'rhevm', :username => '', :password => '') do |rhevm|
  rhevm.realms
end

  --  Michal


Mime
View raw message