Sha256: 75dfb80947a46a156b8913e6fb48879f95eba1e8236a53d16cf46369ffcf8ffe
Contents?: true
Size: 649 Bytes
Versions: 17
Compression:
Stored size: 649 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 :user 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
17 entries across 17 versions & 1 rubygems