Sha256: ddc5282ea578e514107e1dbb25c80f50c9aa0ad818f99d0d1d482efdf1b0609d
Contents?: true
Size: 1.11 KB
Versions: 6
Compression:
Stored size: 1.11 KB
Contents
# This test app mounts everything at the root level, but you'd usually be doing # more in your Rails app than just SCIM! Wrapping with 'namespace :foo do' is # strongly recommended to avoid routing namespace collisions. See README.md for # an example. # Rails.application.routes.draw do mount Scimitar::Engine, at: '/' get 'Users', to: 'mock_users#index' get 'Users/:id', to: 'mock_users#show' post 'Users', to: 'mock_users#create' put 'Users/:id', to: 'mock_users#replace' patch 'Users/:id', to: 'mock_users#update' delete 'Users/:id', to: 'mock_users#destroy' get 'Groups', to: 'mock_groups#index' get 'Groups/:id', to: 'mock_groups#show' patch 'Groups/:id', to: 'mock_groups#update' # For testing blocks passed to ActiveRecordBackedResourcesController#destroy # delete 'CustomDestroyUsers/:id', to: 'custom_destroy_mock_users#destroy' # For testing environment inside Scimitar::ApplicationController subclasses. # get 'CustomRequestVerifiers', to: 'custom_request_verifiers#index' post 'CustomRequestVerifiers', to: 'custom_request_verifiers#create' end
Version data entries
6 entries across 6 versions & 1 rubygems