Module: GitWit::Actions::Dscl::Actions

Included in:
GitWit::Actions
Defined in:
lib/git_wit/actions/dscl.rb

Instance Method Summary collapse

Instance Method Details

#dscl_group(name, config = {}) ⇒ Object



7
8
9
# File 'lib/git_wit/actions/dscl.rb', line 7

def dscl_group(name, config = {})
  action Group.new(self, name, config)
end

#dscl_group_membership(user, group, config = {}) ⇒ Object



11
12
13
# File 'lib/git_wit/actions/dscl.rb', line 11

def dscl_group_membership(user, group, config = {})
  action GroupMembership.new(self, user, group, config)
end

#dscl_user(name, home, config = {}) ⇒ Object



3
4
5
# File 'lib/git_wit/actions/dscl.rb', line 3

def dscl_user(name, home, config = {})
  action User.new(self, name, home, config)
end