class Fog::Brightbox::Compute::Accounts

Public Instance Methods

all(options = {}) click to toggle source
# File lib/fog/brightbox/models/compute/accounts.rb, line 9
def all(options = {})
  data = service.list_accounts(options)
  load(data)
end
get(identifier) click to toggle source
# File lib/fog/brightbox/models/compute/accounts.rb, line 14
def get(identifier)
  return nil if identifier.nil? || identifier == ""
  data = service.get_account(identifier)
  new(data)
rescue Excon::Errors::NotFound
  nil
end