Class: Audiences::ScimProxyController

Inherits:
ApplicationController show all
Defined in:
app/controllers/audiences/scim_proxy_controller.rb

Instance Method Summary collapse

Instance Method Details

#getObject



5
6
7
8
9
10
11
# File 'app/controllers/audiences/scim_proxy_controller.rb', line 5

def get
  resources = scope.search(params[:query])
                   .offset(params[:startIndex])
                   .limit(params[:count])

  render json: resources
end