Class: Fog::Compute::Brightbox::DatabaseTypes
- Inherits:
-
Fog::Collection
- Object
- Fog::Collection
- Fog::Compute::Brightbox::DatabaseTypes
- Defined in:
- lib/fog/brightbox/models/compute/database_types.rb
Instance Method Summary collapse
Instance Method Details
#all ⇒ Object
12 13 14 15 |
# File 'lib/fog/brightbox/models/compute/database_types.rb', line 12 def all data = service.list_database_types load(data) end |
#get(identifier) ⇒ Object
17 18 19 20 21 22 |
# File 'lib/fog/brightbox/models/compute/database_types.rb', line 17 def get(identifier) data = service.get_database_type(identifier) new(data) rescue Excon::Errors::NotFound nil end |