Class: Fog::Brightbox::Compute::ConfigMaps
- Inherits:
-
Collection
- Object
- Collection
- Fog::Brightbox::Compute::ConfigMaps
- Defined in:
- lib/fog/brightbox/models/compute/config_maps.rb
Instance Method Summary collapse
Instance Method Details
#all ⇒ Object
7 8 9 10 |
# File 'lib/fog/brightbox/models/compute/config_maps.rb', line 7 def all data = service.list_config_maps load(data) end |
#get(identifier) ⇒ Object
12 13 14 15 16 17 18 |
# File 'lib/fog/brightbox/models/compute/config_maps.rb', line 12 def get(identifier) return nil if identifier.nil? || identifier == "" data = service.get_config_map(identifier) new(data) rescue Excon::Errors::NotFound nil end |