Class: Fog::Brightbox::Compute::DatabaseServers
- Inherits:
-
Collection
- Object
- Collection
- Fog::Brightbox::Compute::DatabaseServers
- Defined in:
- lib/fog/brightbox/models/compute/database_servers.rb
Instance Method Summary collapse
Instance Method Details
#all ⇒ Object
9 10 11 12 |
# File 'lib/fog/brightbox/models/compute/database_servers.rb', line 9 def all data = service.list_database_servers load(data) end |
#get(identifier) ⇒ Object
14 15 16 17 18 19 |
# File 'lib/fog/brightbox/models/compute/database_servers.rb', line 14 def get(identifier) data = service.get_database_server(identifier) new(data) rescue Excon::Errors::NotFound nil end |