lib/fog/rackspace/models/databases/database.rb in fog-maestrodev-1.7.0.20121114190951 vs lib/fog/rackspace/models/databases/database.rb in fog-maestrodev-1.8.0.20130109172219
- old
+ new
@@ -9,16 +9,16 @@
attribute :character_set
attribute :collate
def save
requires :identity, :instance
- connection.create_database(instance.identity, identity, :character_set => character_set, :collate => collate)
+ service.create_database(instance.identity, identity, :character_set => character_set, :collate => collate)
true
end
def destroy
requires :identity, :instance
- connection.delete_database(instance.identity, identity)
+ service.delete_database(instance.identity, identity)
true
end
private