Class: StudioApi::Build

Inherits:
ActiveResource::Base
  • Object
show all
Extended by:
StudioResource
Defined in:
lib/studio_api/build.rb

Overview

Represents created build in studio. It allows finding and deleting.

Examples:

Delete version 0.0.1 (all types)

builds = Build.find(:all,:params=>{:appliance_id => 1234})
versions1 = builds.select { |b| b.version == "0.0.1" }
versions1.each {|v| v.destroy }

Method Summary

Methods included from StudioResource

collection_path, element_path, extended, studio_connection, studio_connection=