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