module Google::Auth::ScopeUtil
def self.as_array(scope)
def self.as_array(scope) case scope when Array scope when String scope.split(' ') else raise 'Invalid scope value. Must be string or array' end end
def self.normalize(scope)
def self.normalize(scope) list = as_array(scope) list.map { |item| ALIASES[item] || item } end