Class: TwoPercent::ScimController
- Inherits:
-
ApplicationController
- Object
- ActionController::API
- ApplicationController
- TwoPercent::ScimController
- Defined in:
- app/controllers/two_percent/scim_controller.rb
Instance Method Summary collapse
Methods inherited from ApplicationController
Instance Method Details
#create ⇒ Object
5 6 7 8 9 |
# File 'app/controllers/two_percent/scim_controller.rb', line 5 def create TwoPercent::CreateEvent.create(resource: params[:resource_type], params: scim_params) head :ok end |
#destroy ⇒ Object
23 24 25 26 27 |
# File 'app/controllers/two_percent/scim_controller.rb', line 23 def destroy TwoPercent::DeleteEvent.create(resource: params[:resource_type], id: params[:id]) head :ok end |
#replace ⇒ Object
17 18 19 20 21 |
# File 'app/controllers/two_percent/scim_controller.rb', line 17 def replace TwoPercent::ReplaceEvent.create(resource: params[:resource_type], id: params[:id], params: scim_params) head :ok end |
#update ⇒ Object
11 12 13 14 15 |
# File 'app/controllers/two_percent/scim_controller.rb', line 11 def update TwoPercent::UpdateEvent.create(resource: params[:resource_type], id: params[:id], params: scim_params) head :ok end |