Method: Scimitar::ResourcesController#show
- Defined in:
- app/controllers/scimitar/resources_controller.rb
#show(&block) ⇒ Object
GET/id (show)
Call with a block that is passed an ID to find in “your” domain. Evaluate to the SCIM representation of the arising found record.
61 62 63 64 |
# File 'app/controllers/scimitar/resources_controller.rb', line 61 def show(&block) scim_resource = yield(self.safe_params()[:id]) render(json: scim_resource) end |