Class DeltaCloud::API
In: lib/deltacloud.rb
lib/base_object.rb
Parent: Object

Methods

Classes and Modules

Class DeltaCloud::API::Action
Class DeltaCloud::API::BackendError
Class DeltaCloud::API::Base
Class DeltaCloud::API::Stateful

Attributes

api_driver  [R] 
api_provider  [R] 
api_uri  [R] 
api_version  [R] 
driver_name  [R] 
entry_points  [R] 
features  [R] 

Public Class methods

Public Instance methods

Return API hostname

Return API path

Return API port

Add default attributes [id and href] to class

Define methods based on ‘rel’ attribute in entry point Two methods are declared: ‘images’ and ‘image‘

Get /api and parse entry points

Skip parsing /api when we already got entry points

This method will retrieve API documentation for given collection

Check if specified collection have wanted feature

Select instance state specified by name

List available instance states and transitions between them

Generate create_* methods dynamically

Convert XML response to defined Ruby Class

[Validate]