# File lib/fog/softlayer/requests/account/get_account_owned_brands.rb, line 15 def get_account_owned_brands(identifier) response = Excon::Response.new response.status = 200 response.body = mocked_brands if @accounts.select {|account| account['id'] == identifier.to_i }.empty? response.status = 404 response.body = { "error" => "Unable to find object with id of '#{identifier}'.", "code"=>"SoftLayer_Exception_ObjectNotFound" } end response end