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