Class: Arpa::Services::Profiles::ProfileManagerRemover
- Inherits:
-
Object
- Object
- Arpa::Services::Profiles::ProfileManagerRemover
show all
- Includes:
- Base
- Defined in:
- lib/arpa/services/profiles/profile_manager_remover.rb
Instance Method Summary
collapse
Methods included from Base
included, #manager_action
Instance Method Details
#remove(params, callback) ⇒ Object
7
8
9
10
11
12
13
|
# File 'lib/arpa/services/profiles/profile_manager_remover.rb', line 7
def remove(params, callback)
manager_action callback do
role = params[:profile]
disable = params[:disable]
profile_remover.remove(role, disable)
end
end
|