1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/rackspace/requests/databases/delete_database.rb

15 lines
313 B
Ruby

module Fog
module Rackspace
class Databases
class Real
def delete_database(instance_id, name)
request(
:expects => 202,
:method => 'DELETE',
:path => "instances/#{instance_id}/databases/#{name}"
)
end
end
end
end
end