Sha256: 33e7a533716f56fe211e5ca01bdc615cfa89ee96f4fb3da8b36cba32d9e1c860
Contents?: true
Size: 627 Bytes
Versions: 1
Compression:
Stored size: 627 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 :uid attribute :gid attribute :primary, :default => false def initialize(*args) super(*args) @ui = TestLab.ui end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
testlab-0.6.14 | lib/testlab/user.rb |