Sha256: c913c89a57709fbe82bd731d6df226ee0bf3ec31a4f9efe5130f34ecd5a90730
Contents?: true
Size: 401 Bytes
Versions: 2
Compression:
Stored size: 401 Bytes
Contents
module KatelloForemanEngine module Actions class UserCreate < Dynflow::Action def self.subscribe Headpin::Actions::UserCreate end def plan(user) if !user.hidden? && !Bindings.user_find(input['username']) plan_self input end end def run Bindings.user_create(input['username'], input['email']) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
katello-foreman-engine-0.0.2 | lib/katello_foreman_engine/actions/user_create.rb |
katello-foreman-engine-0.0.1 | lib/katello_foreman_engine/actions/user_create.rb |