Class: Fog::Rackspace::Databases::User
- Inherits:
-
Model
- Object
- Model
- Fog::Rackspace::Databases::User
- Defined in:
- lib/fog/rackspace/models/databases/user.rb
Instance Method Summary collapse
Instance Method Details
#destroy ⇒ Object
19 20 21 22 23 |
# File 'lib/fog/rackspace/models/databases/user.rb', line 19 def destroy requires :identity, :instance service.delete_user(instance.identity, identity) true end |
#save ⇒ Object
13 14 15 16 17 |
# File 'lib/fog/rackspace/models/databases/user.rb', line 13 def save requires :identity, :instance, :password service.create_user(instance.identity, identity, password, :databases => databases, :host => host) true end |