Class DeltaCloud::BaseObject
In: lib/base_object.rb
Parent: Object

BaseObject model basically provide the basic operation around REST model, like defining a links between different objects, element with text values, or collection of these elements

Methods

External Aliases

url -> uri

Attributes

base_name  [R] 
client  [R] 
id  [R] 
objects  [R] 
url  [R] 

Public Class methods

For initializing new object you require to set id, url, client and name attribute.

Public Instance methods

This method adds blobs to the blob_list property of a bucket

This method define collection of text elements inside REST model XML syntax: <addresses>

              <address>127.0.0.1</address>
              <address>127.0.0.2</address>
            </addresses>

Method add property for hardware profile

This method add link to another object in REST model XML syntax: <link rel="destroy" href="localhost/api/resource" method="post"/>

This method define text object in REST model XML syntax: <name>Instance 1</name>

Basic method hander. This define a way how value from property will be returned

[Validate]