Sha256: 004a3657b707ac1c5d68ccd185fb3ad2a51a98739de7d0f8b98dc0e58b47bf58
Contents?: true
Size: 315 Bytes
Versions: 47
Compression:
Stored size: 315 Bytes
Contents
class AdminAccount attr_accessor :user, :roles, :role_groups def initialize user, options = {} @user = user @roles = options[:roles] @role_groups = options[:role_groups] end def has_role? name true end def roles_list roles end def role_groups_list role_groups end end
Version data entries
47 entries across 47 versions & 6 rubygems