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
# File 'app/controllers/audiences/scim_proxy_controller.rb', line 5

def get
  resources = Audiences::Scim.resource(params[:scim_path].to_sym)
                             .query(filter: params[:filter])

  render json: resources, except: %w[schemas meta]
end