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

Version Path
abiquo-etk-0.6.4 vendor/abiquo-0.1.2/README
abiquo-etk-0.6.3 vendor/abiquo-0.1.2/README
abiquo-etk-0.6.2 vendor/abiquo-0.1.2/README
abiquo-etk-0.6.1 vendor/abiquo-0.1.2/README
abiquo-etk-0.5.8 vendor/api_ruby_client/README
abiquo-etk-0.5.3 vendor/api_ruby_client/README
abiquo-etk-0.4.42 vendor/api_ruby_client/README
abiquo-0.1.2 README
abiquo-etk-0.4.33 vendor/api_ruby_client/README
abiquo-etk-0.4.32 vendor/api_ruby_client/README
abiquo-etk-0.4.29 vendor/api_ruby_client/README
abiquo-etk-0.4.25 vendor/api_ruby_client/README
abiquo-etk-0.4.24 vendor/api_ruby_client/README
abiquo-etk-0.4.23 vendor/api_ruby_client/README
abiquo-etk-0.4.22 vendor/api_ruby_client/README
abiquo-etk-0.4.20 vendor/api_ruby_client/README
abiquo-etk-0.4.19 vendor/api_ruby_client/README
abiquo-etk-0.4.18 vendor/api_ruby_client/README
abiquo-etk-0.4.17 vendor/api_ruby_client/README
abiquo-etk-0.4.16 vendor/api_ruby_client/README