diff --git a/lib/fog/brightbox/requests/compute/get_account.rb b/lib/fog/brightbox/requests/compute/get_account.rb index 094ba17ef3..39c1c94895 100644 --- a/lib/fog/brightbox/requests/compute/get_account.rb +++ b/lib/fog/brightbox/requests/compute/get_account.rb @@ -3,11 +3,15 @@ module Compute class Brightbox class Real - def get_account - request("get", "/1.0/account", [200]) + def get_account(identifier = nil) + if identifier.nil? || identifier.empty? + request("get", "/1.0/account", [200]) + else + request("get", "/1.0/accounts/#{identifier}", [200]) + end end end end end -end \ No newline at end of file +end