class Ropenstack::Database

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