Sha256: 9df74ea6335f89f26681e3ae86347b222c6ac720d552ff8903b729ba43628449
Contents?: true
Size: 517 Bytes
Versions: 22
Compression:
Stored size: 517 Bytes
Contents
# -*- encoding : utf-8 -*- require 'reactor/cm/user' module Reactor class Session class User def initialize(user_name) # Rails.logger.debug "Reading user #{user_name} from CM" user = Reactor::Cm::User.new(user_name) @user_name= user_name @groups = user.groups @language = user.language @superuser= user.is_root? end attr_reader :user_name, :groups, :language def superuser? @superuser == true end end end end
Version data entries
22 entries across 22 versions & 1 rubygems