Class: Ropenstack::Orchestration

Inherits:
OpenstackService show all
Defined in:
lib/ropenstack/orchestration.rb

Overview

  • Name: Orchestration

  • Description: Implementation of the Orchestration API Client in Ruby

  • Author: Sam ‘Tehsmash’ Betts, John Davidge

  • Date: 30/06/2014

Defined Under Namespace

Modules: Version1

Instance Method Summary collapse

Methods inherited from OpenstackService

#initialize

Methods inherited from Rest

#build_headers, #build_http, #delete_request, #do_request, #error_manager, #get_request, #post_request, #put_request

Constructor Details

This class inherits a constructor from Ropenstack::OpenstackService

Instance Method Details

#intialize(location, token, type) ⇒ Object



14
15
16
17
18
19
20
21
# File 'lib/ropenstack/orchestration.rb', line 14

def intialize(location, token, type)
  super(location, token)
  case type
  when "orchestration" then extend Version1
  else
    raise Ropenstack::RopenstackError, "Invalid type passed to Orchestration"
  end
end