Sha256: 787d0ab319c2093341a4b4195e14629356d954cd83315394492f22758c861fb8
Contents?: true
Size: 714 Bytes
Versions: 3
Compression:
Stored size: 714 Bytes
Contents
class TestLab # User Error Class class UserError < TestLabError; end # User Class # # @author Zachary Patten <zachary AT jovelabs DOT com> class User < ZTK::DSL::Base # Sub-Modules autoload :Lifecycle, 'testlab/user/lifecycle' include TestLab::User::Lifecycle # Associations and Attributes belongs_to :container, :class_name => 'TestLab::Container' attribute :password attribute :identity attribute :public_identity attribute :uid attribute :gid attribute :primary, :default => false def initialize(*args) @ui = TestLab.ui super(*args) @ui.logger.info { "User '#{self.id}' Loaded" } end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
testlab-0.8.2 | lib/testlab/user.rb |
testlab-0.8.1 | lib/testlab/user.rb |
testlab-0.8.0 | lib/testlab/user.rb |