class Ropenstack::Database
-
Name:
Database
-
Description: Implementation of the Block Storage API Client in Ruby.
-
Author: Sam ‘Tehsmash’ Betts, John Davidge
-
Date: 30/06/2014
Public Class Methods
new(location, token, type, accountid)
click to toggle source
Calls superclass method
Ropenstack::OpenstackService::new
# File lib/ropenstack/database.rb, line 14 def initialize(location, token, type, accountid) super(location, token) @accountid = accountid case type when "database" then extend Version1 else raise Ropenstack::RopenstackError, "Invalid type passed to Database" end end