# File lib/fog/rackspace/models/identity/users.rb, line 25 def get_by_name(user_name) data = connection.get_user_by_name(user_name).body['user'] new(data) rescue Excon::Errors::NotFound nil rescue Excon::Errors::NotAuthorized nil end