Sha256: cd24a5fff13d7f375288f479bb76665f1690e32a20a5267f571871d442ae2264
Contents?: true
Size: 1021 Bytes
Versions: 23
Compression:
Stored size: 1021 Bytes
Contents
=Abiquo API Ruby client Rest client to work with the Abiquo's API. ==Installation gem install abiquo ==Usage The first version of the api just uses basic authentication, so we need to create an instance with our credentials: auth = Abiquo::BasicAuth.new('Abiquo', 'username', 'password') The entry point for the Abiquo's API is an atom document service: api = Abiquo::Resource('http://abiquo.example.com/api', auth) from this point we can access to every resource exposed by the api calling nested methods: datacenters = api.datacenters racks = api.datacenters.first.racks or get the values of their elements: datacenter = api.datacenters.first datacenter.name # => The name of the datacenter You can find further example into the specs: http://github.com/abiquo/api_ruby_client/tree/master/spec/acceptance Further documentation of the API can be found in our wiki: http://abicloud.org/display/ABI16/Abiquo's+API ==Copyright Copyright (c) 2010 Abiquo Holdings. See LICENSE for details.
Version data entries
23 entries across 23 versions & 2 rubygems