Class: Ropenstack::Telemetry
- Inherits:
-
OpenstackService
- Object
- Rest
- OpenstackService
- Ropenstack::Telemetry
- Defined in:
- lib/ropenstack/telemetry.rb
Overview
-
Name: Telemetry
-
Description: Implementation of the Telemetry API Client in Ruby
-
Author: Sam ‘Tehsmash’ Betts, John Davidge
-
Date: 30/06/2014
Defined Under Namespace
Modules: Version2
Instance Method Summary collapse
Methods inherited from OpenstackService
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/telemetry.rb', line 14 def intialize(location, token, type) super(location, token) case type when "telemetry" then extend Version2 else raise Ropenstack::RopenstackError, "Invalid type passed to Telemetry" end end |