Class: StudioApi::RunningBuild

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

Overview

Represents running build in studio.

Provide finding builds, canceling build process or running new build For parameters see API documentation An ImageAlreadyExists exception is raised when force parameter is not specified and there’s already a build with the same version.

Examples:

Run new build and then cancel it

rb = StudioApi::RunningBuild.new(:appliance_id => 1234, :force => "true", :multi => "true")
rb.save!
sleep 5
rb.cancel

Method Summary

Methods included from StudioResource

collection_path, element_path, extended, studio_connection, studio_connection=